Lines Matching refs:fmt
43 int elen, const char *fmt, va_list ap) in do_test() argument
52 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test()
58 file, line, bufsize, fmt, ret, elen); in do_test()
65 file, line, bufsize, fmt); in do_test()
73 file, line, fmt); in do_test()
82 file, line, bufsize, fmt); in do_test()
89 file, line, bufsize, fmt); in do_test()
96 file, line, bufsize, fmt); in do_test()
103 file, line, bufsize, fmt, test_buffer, written, expect); in do_test()
110 const char *fmt, ...) in __test() argument
119 file, line, elen, BUF_SIZE, fmt); in __test()
123 va_start(ap, fmt); in __test()
131 do_test(kunittest, file, line, BUF_SIZE, expect, elen, fmt, ap); in __test()
134 do_test(kunittest, file, line, rand, expect, elen, fmt, ap); in __test()
135 do_test(kunittest, file, line, 0, expect, elen, fmt, ap); in __test()
137 p = kvasprintf(GFP_KERNEL, fmt, ap); in __test()
143 file, line, fmt, p, expect); in __test()
150 #define test(expect, fmt, ...) \ argument
151 __test(kunittest, __FILE__, __LINE__, expect, strlen(expect), fmt, ##__VA_ARGS__)
270 test_hashed(struct kunit *kunittest, const char *fmt, const void *p) in test_hashed() argument
276 test(buf, fmt, p); in test_hashed()
578 const char *fmt; member
623 size += scnprintf(cmp_buf + size, BUF_SIZE - size, pft[i].fmt, in page_flags_test()
710 size_t n, const char *fmt) in fourcc_pointer_test() argument
715 test(fc[i].str, fmt, &fc[i].code); in fourcc_pointer_test()