Lines Matching refs:i
122 size_t i; in do_test() local
136 for (i = 0; i < len; i++) in do_test()
137 s1[i] = 32 + 23 * i % (max_char - 32); in do_test()
147 size_t i, j, n, align1, align2, len, dlen; in do_random_tests() local
168 for (i = 0; i < j; i++) in do_random_tests()
170 if (i == len + align1) in do_random_tests()
171 p1[i] = 0; in do_random_tests()
174 p1[i] = random () & 255; in do_random_tests()
175 if (i >= align1 && i < len + align1 && !p1[i]) in do_random_tests()
176 p1[i] = (random () & 127) + 3; in do_random_tests()
276 size_t i; in test_main() local
287 for (i = 0; i < 16; ++i) in test_main()
289 do_test (0, 0, i, i + 1, 127); in test_main()
290 do_test (0, 0, i, i + 1, 255); in test_main()
291 do_test (0, i, i, i + 1, 127); in test_main()
292 do_test (i, 0, i, i + 1, 255); in test_main()
295 for (i = 1; i < 8; ++i) in test_main()
297 do_test (0, 0, 8 << i, (8 << i) + 1, 127); in test_main()
298 do_test (8 - i, 2 * i, (8 << i), (8 << i) + 1, 127); in test_main()
301 for (i = 1; i < 8; ++i) in test_main()
303 do_test (i, 2 * i, (8 << i), (8 << i) + 1, 127); in test_main()
304 do_test (2 * i, i, (8 << i), (8 << i) + 1, 255); in test_main()
305 do_test (i, i, (8 << i), (8 << i) + 1, 127); in test_main()
306 do_test (i, i, (8 << i), (8 << i) + 1, 255); in test_main()
309 for (i = 0; i < 16; ++i) in test_main()
311 do_test (0, 0, i, i + 256, 127); in test_main()
312 do_test (0, 0, i, i + 256, 255); in test_main()
313 do_test (0, i, i, i + 256, 127); in test_main()
314 do_test (i, 0, i, i + 256, 255); in test_main()
317 for (i = 1; i < 8; ++i) in test_main()
319 do_test (0, 0, 8 << i, (8 << i) + 256, 127); in test_main()
320 do_test (8 - i, 2 * i, (8 << i), (8 << i) + 256, 127); in test_main()
323 for (i = 1; i < 8; ++i) in test_main()
325 do_test (i, 2 * i, (8 << i), (8 << i) + 256, 127); in test_main()
326 do_test (2 * i, i, (8 << i), (8 << i) + 256, 255); in test_main()
327 do_test (i, i, (8 << i), (8 << i) + 256, 127); in test_main()
328 do_test (i, i, (8 << i), (8 << i) + 256, 255); in test_main()
331 for (i = 0; i < 16; ++i) in test_main()
333 do_test (0, 0, i, i, 127); in test_main()
334 do_test (0, 0, i, i + 2, 255); in test_main()
335 do_test (0, i, i, i + 3, 127); in test_main()
336 do_test (i, 0, i, i + 4, 255); in test_main()
339 for (i = 1; i < 8; ++i) in test_main()
341 do_test (0, 0, 8 << i, (8 << i) - 15, 127); in test_main()
342 do_test (8 - i, 2 * i, (8 << i), (8 << i) + 5, 127); in test_main()
345 for (i = 1; i < 8; ++i) in test_main()
347 do_test (i, 2 * i, (8 << i), (8 << i) + i, 127); in test_main()
348 do_test (2 * i, i, (8 << i), (8 << i) + (i - 1), 255); in test_main()
349 do_test (i, i, (8 << i), (8 << i) + i + 2, 127); in test_main()
350 do_test (i, i, (8 << i), (8 << i) + i + 3, 255); in test_main()