Lines Matching refs:expect
42 #define check(func, needle, expect) do { \ argument
47 if (result != expect) { \
49 #func, haystack, needle, result, expect); \
55 #define many_check(func, needle, expect) do { \ argument
56 check(func, needle, expect); \
57 check(func, needle | 0xff00, expect); \
58 check(func, needle | 0x0100, expect); \
59 check(func, needle | 0x8000, expect); \
62 #define many_check(func, needle, expect) do { \ argument
63 check(func, needle, expect); \
64 check(func, needle | 0xffffff00, expect); \
65 check(func, needle | 0x00000100, expect); \
66 check(func, needle | 0x80000000, expect); \