Lines Matching refs:CHAR
20 # define CHAR char macro
28 # define CHAR wchar_t macro
38 # define RES_TYPE CHAR *
58 typedef CHAR *(*proto_t) (const CHAR *, const CHAR *);
59 CHAR *SIMPLE_STRPBRK (const CHAR *, const CHAR *);
60 CHAR *STUPID_STRPBRK (const CHAR *, const CHAR *);
66 CHAR *
67 SIMPLE_STRPBRK (const CHAR *s, const CHAR *rej) in SIMPLE_STRPBRK()
69 const CHAR *r; in SIMPLE_STRPBRK()
70 CHAR c; in SIMPLE_STRPBRK()
75 return (CHAR *) s - 1; in SIMPLE_STRPBRK()
79 CHAR *
80 STUPID_STRPBRK (const CHAR *s, const CHAR *rej) in STUPID_STRPBRK()
88 return (CHAR *) s + i; in STUPID_STRPBRK()
94 do_one_test (impl_t *impl, const CHAR *s, const CHAR *rej, RES_TYPE exp_res) in do_one_test()
112 CHAR *rej, *s; in do_test()
115 if ((align + pos + 10) * sizeof (CHAR) >= page_size || len > 240) in do_test()
118 rej = (CHAR *) (buf2) + (random () & 255); in do_test()
119 s = (CHAR *) (buf1) + align; in do_test()
192 if (STRCHR ((CHAR *) rej, c) == NULL) in do_random_tests()
209 if (STRCHR ((CHAR *) rej, p[i])) in do_random_tests()
212 if (STRCHR ((CHAR *) rej, p[i])) in do_random_tests()
218 result = STRPBRK_RESULT ((CHAR *) (p + align), pos < len ? pos : len); in do_random_tests()
221 if (CALL (impl, (CHAR *) (p + align), (CHAR *) rej) != result) in do_random_tests()
225 (void *) CALL (impl, (CHAR *) (p + align), (CHAR *) rej), in do_random_tests()