Lines Matching refs:impl
60 check_result (impl_t *impl, const void *haystack, size_t haystack_len, in check_result() argument
65 res = CALL (impl, haystack, haystack_len, needle, needle_len); in check_result()
68 error (0, 0, "Wrong result in function %s %p %p", impl->name, in check_result()
78 do_one_test (impl_t *impl, const void *haystack, size_t haystack_len, in do_one_test() argument
81 if (check_result (impl, haystack, haystack_len, needle, needle_len, in do_one_test()
94 FOR_EACH_IMPL (impl, 0) in do_test()
95 do_one_test (impl, buf1, BUF1PAGES * page_size, str, len, buf1 + idx); in do_test()
121 FOR_EACH_IMPL (impl, 0) in do_random_tests()
122 do_one_test (impl, buf1, BUF1PAGES * page_size, buf1 + idx, len, in do_random_tests()
141 FOR_EACH_IMPL (impl, 0) in check1()
142 check_result (impl, search_buf, sizeof search_buf_data, in check1()
164 FOR_EACH_IMPL (impl, 0) in test_main()
165 printf ("\t%s", impl->name); in test_main()