Lines Matching refs:i
96 size_t i; in do_test() local
110 for (i = 0; i < len1; ++i) in do_test()
111 s1[i] = 32 + 23 * i % (max_char - 32); in do_test()
114 for (i = 0; i < len2; i++) in do_test()
115 s2[i] = 32 + 23 * i % (max_char - 32); in do_test()
127 size_t i, j, n, align1, align2, len1, len2; in do_random_tests() local
162 for (i = 0; i < j; i++) in do_random_tests()
164 if (i == len1 + align1) in do_random_tests()
165 p1[i] = 0; in do_random_tests()
168 p1[i] = random () & BIG_CHAR; in do_random_tests()
169 if (i >= align1 && i < len1 + align1 && !p1[i]) in do_random_tests()
170 p1[i] = (random () & SMALL_CHAR) + 3; in do_random_tests()
173 for (i = 0; i < len2; i++) in do_random_tests()
175 p3[i] = random () & BIG_CHAR; in do_random_tests()
176 if (!p3[i]) in do_random_tests()
177 p3[i] = (random () & SMALL_CHAR) + 3; in do_random_tests()
234 size_t i; in test_main() local
243 for (i = 0; i < 16; ++i) in test_main()
245 do_test (0, 0, i, i, SMALL_CHAR); in test_main()
246 do_test (0, 0, i, i, BIG_CHAR); in test_main()
247 do_test (0, i, i, i, SMALL_CHAR); in test_main()
248 do_test (i, 0, i, i, BIG_CHAR); in test_main()
251 for (i = 1; i < 8; ++i) in test_main()
253 do_test (0, 0, 8 << i, 8 << i, SMALL_CHAR); in test_main()
254 do_test (8 - i, 2 * i, 8 << i, 8 << i, SMALL_CHAR); in test_main()
255 do_test (0, 0, 8 << i, 2 << i, SMALL_CHAR); in test_main()
256 do_test (8 - i, 2 * i, 8 << i, 2 << i, SMALL_CHAR); in test_main()
259 for (i = 1; i < 8; ++i) in test_main()
261 do_test (i, 2 * i, 8 << i, 1, SMALL_CHAR); in test_main()
262 do_test (2 * i, i, 8 << i, 1, BIG_CHAR); in test_main()
263 do_test (i, i, 8 << i, 10, SMALL_CHAR); in test_main()
264 do_test (i, i, 8 << i, 10, BIG_CHAR); in test_main()