Lines Matching refs:i
98 size_t i; in do_test() local
114 for (i = 0; i < len; i++) in do_test()
115 s1[i] = 32 + 23 * i % (max_char - 32); in do_test()
125 size_t i, j, n, align1, align2, len; in do_random_tests() local
152 for (i = 0; i < j; i++) in do_random_tests()
154 if (i == len + align1) in do_random_tests()
155 p1[i] = 0; in do_random_tests()
158 p1[i] = random () & BIG_CHAR; in do_random_tests()
159 if (i >= align1 && i < len + align1 && !p1[i]) in do_random_tests()
160 p1[i] = (random () & SMALL_CHAR) + 3; in do_random_tests()
208 size_t i; in test_main() local
217 for (i = 0; i < 16; ++i) in test_main()
219 do_test (0, 0, i, SMALL_CHAR); in test_main()
220 do_test (0, 0, i, BIG_CHAR); in test_main()
221 do_test (0, i, i, SMALL_CHAR); in test_main()
222 do_test (i, 0, i, BIG_CHAR); in test_main()
225 for (i = 1; i < 8; ++i) in test_main()
227 do_test (0, 0, 8 << i, SMALL_CHAR); in test_main()
228 do_test (8 - i, 2 * i, 8 << i, SMALL_CHAR); in test_main()
231 for (i = 1; i < 8; ++i) in test_main()
233 do_test (i, 2 * i, 8 << i, SMALL_CHAR); in test_main()
234 do_test (2 * i, i, 8 << i, BIG_CHAR); in test_main()
235 do_test (i, i, 8 << i, SMALL_CHAR); in test_main()
236 do_test (i, i, 8 << i, BIG_CHAR); in test_main()