Lines Matching refs:CHAR
31 # define CHAR char macro
39 # define CHAR wchar_t macro
46 typedef CHAR *(*proto_t) (const CHAR *, int, size_t);
47 CHAR *SIMPLE_MEMCHR (const CHAR *, int, size_t);
52 CHAR *
53 SIMPLE_MEMCHR (const CHAR *s, int c, size_t n) in SIMPLE_MEMCHR()
56 if (*s++ == (CHAR) c) in SIMPLE_MEMCHR()
57 return (CHAR *) s - 1; in SIMPLE_MEMCHR()
62 do_one_test (impl_t *impl, const CHAR *s, int c, size_t n, CHAR *exp_res) in do_one_test()
64 CHAR *res = CALL (impl, s, c, n); in do_one_test()
78 CHAR *result; in do_test()
80 if ((align + len) * sizeof (CHAR) >= page_size) in do_test()
83 CHAR *buf = (CHAR *) (buf1); in do_test()
97 result = (CHAR *) (buf + align + pos); in do_test()
106 do_one_test (impl, (CHAR *) (buf + align), seek_char, n, result); in do_test()
146 CHAR *result; in do_random_tests()
182 result = (CHAR *) (p + pos + align); in do_random_tests()
188 if (CALL (impl, (CHAR *) (p + align), seek_char, len) != result) in do_random_tests()
192 CALL (impl, (CHAR *) (p + align), seek_char, len), in do_random_tests()