Lines Matching refs:impl
58 do_one_test (impl_t *impl, void *dst, const void *src, int c, size_t len, in do_one_test() argument
62 if (CALL (impl, dst, src, c, n) != expect) in do_one_test()
64 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test()
65 CALL (impl, dst, src, c, n), expect); in do_one_test()
72 error (0, 0, "Wrong result in function %s", impl->name); in do_one_test()
106 FOR_EACH_IMPL (impl, 0) in do_test()
107 do_one_test (impl, s2, s1, c, len, n); in do_test()
180 FOR_EACH_IMPL (impl, 1) in do_random_tests()
184 res = CALL (impl, p2 + align2, p1 + align1, (char) c, size); in do_random_tests()
193 n, impl->name, align1, align2, len, size, c, res, expect); in do_random_tests()
201 n, impl->name, align1, align2, len); in do_random_tests()
214 n, impl->name, align1, align2, len); in do_random_tests()
225 n, impl->name, align1, align2, len); in do_random_tests()
240 FOR_EACH_IMPL (impl, 0) in test_main()
241 printf ("\t%s", impl->name); in test_main()