Lines Matching refs:i

83   size_t i;  in STUPID_STRNCPY()  local
85 for (i = 0; i < nc; ++i) in STUPID_STRNCPY()
86 dst[i] = src[i]; in STUPID_STRNCPY()
87 for (; i < n; ++i) in STUPID_STRNCPY()
88 dst[i] = '\0'; in STUPID_STRNCPY()
115 size_t i; in do_one_test() local
117 for (i = len; i < n; ++i) in do_one_test()
118 if (dst [i] != '\0') in do_one_test()
130 size_t i; in do_test() local
146 for (i = 0; i < len; ++i) in do_test()
147 s1[i] = 32 + 23 * i % (max_char - 32); in do_test()
149 for (i = len + 1; (i + align1) * sizeof (CHAR) < page_size && i < len + 64; in do_test()
150 ++i) in do_test()
151 s1[i] = 32 + 32 * i % (max_char - 32); in do_test()
194 size_t i, j, n, align1, align2, len, size, mode; in do_random_tests() local
252 for (i = 0; i < j; i++) in do_random_tests()
254 if (i == len + align1) in do_random_tests()
255 p1[i] = 0; in do_random_tests()
258 p1[i] = random () & BIG_CHAR; in do_random_tests()
259 if (i >= align1 && i < len + align1 && !p1[i]) in do_random_tests()
260 p1[i] = (random () & SMALL_CHAR) + 3; in do_random_tests()
323 size_t i; in test_main() local
332 for (i = 1; i < 8; ++i) in test_main()
334 do_test (i, i, 16, 16, SMALL_CHAR); in test_main()
335 do_test (i, i, 16, 16, BIG_CHAR); in test_main()
336 do_test (i, 2 * i, 16, 16, SMALL_CHAR); in test_main()
337 do_test (2 * i, i, 16, 16, BIG_CHAR); in test_main()
338 do_test (8 - i, 2 * i, 1 << i, 2 << i, SMALL_CHAR); in test_main()
339 do_test (2 * i, 8 - i, 2 << i, 1 << i, SMALL_CHAR); in test_main()
340 do_test (8 - i, 2 * i, 1 << i, 2 << i, BIG_CHAR); in test_main()
341 do_test (2 * i, 8 - i, 2 << i, 1 << i, BIG_CHAR); in test_main()
344 for (i = 1; i < 8; ++i) in test_main()
346 do_test (0, 0, 4 << i, 8 << i, SMALL_CHAR); in test_main()
347 do_test (0, 0, 16 << i, 8 << i, SMALL_CHAR); in test_main()
348 do_test (8 - i, 2 * i, 4 << i, 8 << i, SMALL_CHAR); in test_main()
349 do_test (8 - i, 2 * i, 16 << i, 8 << i, SMALL_CHAR); in test_main()