Lines Matching full:bar
13 #define bar COUNT_ARGS(foo) in call_args_example() macro
16 KUNIT_EXPECT_EQ(test, bar, 1); in call_args_example()
20 #undef bar in call_args_example()
27 #define bar CALL_ARGS(COUNT_ARGS, DROP_FIRST_ARG(foo)) in drop_first_arg_example() macro
29 KUNIT_EXPECT_EQ(test, bar, 3); in drop_first_arg_example()
32 #undef bar in drop_first_arg_example()
40 #define bar FIRST_ARG(foo) in first_arg_example() macro
42 KUNIT_EXPECT_EQ(test, bar, X); in first_arg_example()
43 KUNIT_EXPECT_STREQ(test, __stringify(bar), "X"); in first_arg_example()
46 #undef bar in first_arg_example()
54 #define bar LAST_ARG(foo) in last_arg_example() macro
56 KUNIT_EXPECT_EQ(test, bar, Q); in last_arg_example()
57 KUNIT_EXPECT_STREQ(test, __stringify(bar), "Q"); in last_arg_example()
60 #undef bar in last_arg_example()
68 #define bar PICK_ARG(2, foo) in pick_arg_example() macro
71 KUNIT_EXPECT_EQ(test, bar, Y); in pick_arg_example()
72 KUNIT_EXPECT_STREQ(test, __stringify(bar), "Y"); in pick_arg_example()
77 #undef bar in pick_arg_example()
84 #define bar DROP_FIRST_ARG(foo(ARGS_SEP_COMMA __stringify)) in sep_comma_example() macro
87 static const char * const a[] = { bar }; in sep_comma_example()
97 #undef bar in sep_comma_example()
159 #define bar DROP_FIRST_ARG(DROP_FIRST_ARG(FOO_ARGS)) in drop_first_arg_test() macro
163 KUNIT_EXPECT_EQ(test, CALL_ARGS(COUNT_ARGS, bar), 2); in drop_first_arg_test()
168 #undef bar in drop_first_arg_test()