Lines Matching refs:CHAR
29 # define CHAR char macro
40 # define CHAR wchar_t macro
50 typedef size_t (*proto_t) (const CHAR *, const CHAR *);
51 size_t SIMPLE_STRSPN (const CHAR *, const CHAR *);
52 size_t STUPID_STRSPN (const CHAR *, const CHAR *);
59 SIMPLE_STRSPN (const CHAR *s, const CHAR *acc) in SIMPLE_STRSPN()
61 const CHAR *r, *str = s; in SIMPLE_STRSPN()
62 CHAR c; in SIMPLE_STRSPN()
76 STUPID_STRSPN (const CHAR *s, const CHAR *acc) in STUPID_STRSPN()
93 do_one_test (impl_t *impl, const CHAR *s, const CHAR *acc, size_t exp_res) in do_one_test()
109 CHAR *acc, *s; in do_test()
112 if ((align + pos + 10) * sizeof (CHAR) >= page_size || len > 240 || ! len) in do_test()
115 acc = (CHAR *) (buf2) + (random () & 255); in do_test()
116 s = (CHAR *) (buf1) + align; in do_test()
188 if (STRCHR ((CHAR *) acc, p[i])) in do_random_tests()
198 if (CALL (impl, (CHAR *) (p + align), in do_random_tests()
199 (CHAR *) acc) != (pos < len ? pos : len)) in do_random_tests()
203 CALL (impl, (CHAR *) (p + align), (CHAR *) acc), in do_random_tests()