Searched refs:expect (Results 1 – 4 of 4) sorted by relevance
/lib/ |
D | test_printf.c | 37 do_test(int bufsize, const char *expect, int elen, in do_test() argument 83 if (memcmp(test_buffer, expect, written)) { in do_test() 85 bufsize, fmt, test_buffer, written, expect); in do_test() 92 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument 113 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test() 116 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test() 117 failed_tests += do_test(0, expect, elen, fmt, ap); in __test() 122 if (memcmp(p, expect, elen+1)) { in __test() 124 fmt, p, expect); in __test() 132 #define test(expect, fmt, ...) \ argument [all …]
|
D | test_overflow.c | 296 #define TEST_ONE_SHIFT(a, s, t, expect, of) ({ \ in test_overflow_shift() argument 300 t __e = (expect); \ in test_overflow_shift() 309 #t, #a, #s, #expect); \ in test_overflow_shift() 318 of ? "overflow" : #expect); \ in test_overflow_shift()
|
D | atomic64_test.c | 72 #define TEST_ARGS(bit, op, init, ret, expect, args...) \ argument 76 BUG_ON(atomic##bit##_read(&v) != expect); \
|
D | debugobjects.c | 886 unsigned int expect, unsigned int next) in debug_object_active_state() argument 904 if (obj->astate == expect) in debug_object_active_state()
|