Home
last modified time | relevance | path

Searched refs:seek_char (Results 1 – 5 of 5) sorted by relevance

/string/
A Dtest-rawmemchr.c66 if (buf1[align + i] == seek_char) in do_test()
67 buf1[align + i] = seek_char + 1; in do_test()
73 buf1[align + pos] = seek_char; in do_test()
74 buf1[align + len] = -seek_char; in do_test()
85 int seek_char; in do_random_tests() local
100 seek_char = random () & 255; in do_random_tests()
108 p[i] = seek_char; in do_random_tests()
112 if (i < pos + align && p[i] == seek_char) in do_random_tests()
113 p[i] = seek_char + 13; in do_random_tests()
127 n, impl->name, align, seek_char, len, pos, in do_random_tests()
[all …]
A Dtest-memrchr.c65 if (buf1[align + i] == seek_char) in do_test()
66 buf1[align + i] = seek_char + 1; in do_test()
72 buf1[align + pos] = seek_char; in do_test()
73 buf1[align + len] = -seek_char; in do_test()
79 buf1[align + len] = seek_char; in do_test()
90 int seek_char; in do_random_tests() local
105 seek_char = random () & 255; in do_random_tests()
113 p[i] = seek_char; in do_random_tests()
117 if (p[i] == seek_char) in do_random_tests()
118 p[i] = seek_char + 13; in do_random_tests()
[all …]
A Dtest-strrchr.c103 buf[align + pos] = seek_char; in do_test()
106 else if (seek_char == 0) in do_test()
119 int seek_char; in do_random_tests() local
141 seek_char = random () & 255; in do_random_tests()
142 if (seek_char && pos == len) in do_random_tests()
156 p[i] = seek_char; in do_random_tests()
163 && p[i] == seek_char) in do_random_tests()
164 p[i] = seek_char + 13; in do_random_tests()
167 p[i] = seek_char - 13; in do_random_tests()
176 else if (seek_char == 0) in do_random_tests()
[all …]
A Dtest-strchr.c139 buf[align + i] = seek_char + 1; in do_test()
147 buf[align + pos] = seek_char; in do_test()
150 else if (seek_char == 0) in do_test()
163 int seek_char; in do_random_tests() local
173 seek_char = random () & 255; in do_random_tests()
179 if ((pos == len && seek_char) in do_random_tests()
184 if (pos == len && seek_char) in do_random_tests()
193 p[i] = seek_char; in do_random_tests()
200 p[i] = seek_char + 13; in do_random_tests()
203 p[i] = seek_char - 13; in do_random_tests()
[all …]
A Dtest-memchr.c88 if (buf[align + i] == seek_char) in do_test()
89 buf[align + i] = seek_char + 1; in do_test()
95 buf[align + pos] = seek_char; in do_test()
96 buf[align + len] = -seek_char; in do_test()
102 buf[align + len] = seek_char; in do_test()
145 int seek_char; in do_random_tests() local
160 seek_char = random () & BIG_CHAR; in do_random_tests()
168 p[i] = seek_char; in do_random_tests()
172 if (i < pos + align && p[i] == seek_char) in do_random_tests()
173 p[i] = seek_char + 13; in do_random_tests()
[all …]

Completed in 11 milliseconds