Lines Matching refs:impl
102 check_result (impl_t *impl, const CHAR *s, int c, const CHAR *exp_res) in check_result() argument
104 CHAR *res = CALL (impl, s, c); in check_result()
107 error (0, 0, "Wrong result in function %s %#x %p %p", impl->name, in check_result()
116 do_one_test (impl_t *impl, const CHAR *s, int c, const CHAR *exp_res) in do_one_test() argument
118 if (check_result (impl, s, c, exp_res) < 0) in do_one_test()
155 FOR_EACH_IMPL (impl, 0) in do_test()
156 do_one_test (impl, buf + align, seek_char, result); in do_test()
217 FOR_EACH_IMPL (impl, 1) in do_random_tests()
218 if (CALL (impl, (CHAR *) (p + align), seek_char) != result) in do_random_tests()
222 n, impl->name, align * sizeof (CHAR), seek_char, len, pos, in do_random_tests()
223 CALL (impl, (CHAR *) (p + align), seek_char), result, p); in do_random_tests()
236 FOR_EACH_IMPL (impl, 0) in check1()
237 check_result (impl, s, c, exp_result); in check1()
250 FOR_EACH_IMPL (impl, 0) in test_main()
251 printf ("\t%s", impl->name); in test_main()