Lines Matching refs:i

83   size_t i, j;  in STUPID_STRPBRK()  local
85 for (i = 0; i < ns; ++i) in STUPID_STRPBRK()
87 if (s[i] == rej[j]) in STUPID_STRPBRK()
88 return (CHAR *) s + i; in STUPID_STRPBRK()
109 size_t i; in do_test() local
121 for (i = 0; i < len; ++i) in do_test()
123 rej[i] = random () & BIG_CHAR; in do_test()
124 if (!rej[i]) in do_test()
125 rej[i] = random () & BIG_CHAR; in do_test()
126 if (!rej[i]) in do_test()
127 rej[i] = 1 + (random () & SMALL_CHAR); in do_test()
134 for (i = 0; i < pos; ++i) in do_test()
136 s[i] = random () & BIG_CHAR; in do_test()
137 if (STRCHR (rej, s[i])) in do_test()
139 s[i] = random () & BIG_CHAR; in do_test()
140 if (STRCHR (rej, s[i])) in do_test()
141 s[i] = c; in do_test()
147 for (i = pos + 1; i < pos + 10; ++i) in do_test()
148 s[i] = random () & BIG_CHAR; in do_test()
149 s[i] = '\0'; in do_test()
160 size_t i, j, n, align, pos, len, rlen; in do_random_tests() local
182 for (i = 0; i < rlen; ++i) in do_random_tests()
184 rej[i] = random () & BIG_CHAR; in do_random_tests()
185 if (!rej[i]) in do_random_tests()
186 rej[i] = random () & BIG_CHAR; in do_random_tests()
187 if (!rej[i]) in do_random_tests()
188 rej[i] = 1 + (random () & SMALL_CHAR); in do_random_tests()
190 rej[i] = '\0'; in do_random_tests()
198 for (i = 0; i < j; i++) in do_random_tests()
200 if (i == len + align) in do_random_tests()
201 p[i] = '\0'; in do_random_tests()
202 else if (i == pos + align) in do_random_tests()
203 p[i] = rej[random () % (rlen + 1)]; in do_random_tests()
204 else if (i < align || i > pos + align) in do_random_tests()
205 p[i] = random () & BIG_CHAR; in do_random_tests()
208 p[i] = random () & BIG_CHAR; in do_random_tests()
209 if (STRCHR ((CHAR *) rej, p[i])) in do_random_tests()
211 p[i] = random () & BIG_CHAR; in do_random_tests()
212 if (STRCHR ((CHAR *) rej, p[i])) in do_random_tests()
213 p[i] = c; in do_random_tests()
235 size_t i; in test_main() local
244 for (i = 0; i < 32; ++i) in test_main()
246 do_test (0, 512, i); in test_main()
247 do_test (i, 512, i); in test_main()
250 for (i = 1; i < 8; ++i) in test_main()
252 do_test (0, 16 << i, 4); in test_main()
253 do_test (i, 16 << i, 4); in test_main()
256 for (i = 1; i < 8; ++i) in test_main()
257 do_test (i, 64, 10); in test_main()
259 for (i = 0; i < 64; ++i) in test_main()
260 do_test (0, i, 6); in test_main()