Lines Matching refs:i
78 size_t i, iters = INNER_LOOP_ITERS8; in do_one_test() local
82 for (i = 0; i < iters; ++i) in do_one_test()
97 size_t i, align_n; in do_test_limit() local
123 for (i = 0; i < n; i++) in do_test_limit()
124 s1[i] = s2[i] = 1 + 23 * i % max_char; in do_test_limit()
147 size_t i; in do_test() local
174 for (i = 0; i < n; i++) in do_test()
175 s1[i] = s2[i] = 1 + (23 << ((CHARBYTES - 1) * 8)) * i % max_char; in do_test()
298 size_t i; in do_test_page() local
303 for (i = 0; i < (page_size / CHARBYTES) - 1; i++) in do_test_page()
304 s1[i] = 23; in do_test_page()
305 s1[i] = 0; in do_test_page()
311 for (i = 0; i < (108 / CHARBYTES); ++i) in do_test_page()
312 do_one_test_page (json_ctx, ((page_size - 108) / CHARBYTES) + i, in do_test_page()
322 size_t i, j, len; in test_main() local
343 for (i = 0; i < 16; ++i) in test_main()
345 do_test (&json_ctx, 0, 0, 8, i, 127, 0); in test_main()
346 do_test (&json_ctx, 0, 0, 8, i, 127, -1); in test_main()
347 do_test (&json_ctx, 0, 0, 8, i, 127, 1); in test_main()
348 do_test (&json_ctx, i, i, 8, i, 127, 0); in test_main()
349 do_test (&json_ctx, i, i, 8, i, 127, 1); in test_main()
350 do_test (&json_ctx, i, i, 8, i, 127, -1); in test_main()
351 do_test (&json_ctx, i, 2 * i, 8, i, 127, 0); in test_main()
352 do_test (&json_ctx, 2 * i, i, 8, i, 127, 1); in test_main()
353 do_test (&json_ctx, i, 3 * i, 8, i, 127, -1); in test_main()
354 do_test (&json_ctx, 0, 0, 8, i, 255, 0); in test_main()
355 do_test (&json_ctx, 0, 0, 8, i, 255, -1); in test_main()
356 do_test (&json_ctx, 0, 0, 8, i, 255, 1); in test_main()
357 do_test (&json_ctx, i, i, 8, i, 255, 0); in test_main()
358 do_test (&json_ctx, i, i, 8, i, 255, 1); in test_main()
359 do_test (&json_ctx, i, i, 8, i, 255, -1); in test_main()
360 do_test (&json_ctx, i, 2 * i, 8, i, 255, 0); in test_main()
361 do_test (&json_ctx, 2 * i, i, 8, i, 255, 1); in test_main()
362 do_test (&json_ctx, i, 3 * i, 8, i, 255, -1); in test_main()
367 for (i = 1; i <= 8192;) in test_main()
370 do_test (&json_ctx, 0, 0, i, i + len, 127, 0); in test_main()
371 do_test (&json_ctx, i * CHARBYTES, 0, i, i + len, 127, 0); in test_main()
372 do_test (&json_ctx, 0, i * CHARBYTES, i, i + len, 127, 0); in test_main()
375 do_test (&json_ctx, pg_sz / 2, pg_sz / 2 - CHARBYTES, i, i + len, in test_main()
377 do_test (&json_ctx, pg_sz / 2 - CHARBYTES, pg_sz / 2, i, i + len, in test_main()
380 do_test (&json_ctx, pg_sz - (i * CHARBYTES), 0, i, i + len, 127, in test_main()
382 do_test (&json_ctx, 0, pg_sz - (i * CHARBYTES), i, i + len, 127, in test_main()
388 do_test (&json_ctx, pg_sz - j, 0, i, i + len, 127, 0); in test_main()
389 do_test (&json_ctx, 0, pg_sz - j, i, i + len, 127, 0); in test_main()
391 do_test (&json_ctx, pg_sz - j, pg_sz - j / 2, i, i + len, in test_main()
393 do_test (&json_ctx, pg_sz - j / 2, pg_sz - j, i, i + len, in test_main()
397 if (i < 32) in test_main()
399 ++i; in test_main()
401 else if (i < 160) in test_main()
403 i += 8; in test_main()
405 else if (i < 256) in test_main()
407 i += 32; in test_main()
411 i *= 2; in test_main()
416 for (i = 1; i < 8; ++i) in test_main()
418 do_test (&json_ctx, 0, 0, 8 << i, 16 << i, 127, 0); in test_main()
419 do_test (&json_ctx, 0, 0, 8 << i, 16 << i, 127, 1); in test_main()
420 do_test (&json_ctx, 0, 0, 8 << i, 16 << i, 127, -1); in test_main()
421 do_test (&json_ctx, 0, 0, 8 << i, 16 << i, 255, 0); in test_main()
422 do_test (&json_ctx, 0, 0, 8 << i, 16 << i, 255, 1); in test_main()
423 do_test (&json_ctx, 0, 0, 8 << i, 16 << i, 255, -1); in test_main()
424 do_test (&json_ctx, 8 - i, 2 * i, 8 << i, 16 << i, 127, 0); in test_main()
425 do_test (&json_ctx, 8 - i, 2 * i, 8 << i, 16 << i, 127, 1); in test_main()
426 do_test (&json_ctx, 2 * i, i, 8 << i, 16 << i, 255, 0); in test_main()
427 do_test (&json_ctx, 2 * i, i, 8 << i, 16 << i, 255, 1); in test_main()
435 for (i = 0; i < 8; ++i) in test_main()
437 do_test_limit (&json_ctx, 0, 0, 17 - i, 16 - i, 127, 0); in test_main()
438 do_test_limit (&json_ctx, 0, 0, 17 - i, 16 - i, 255, 0); in test_main()
439 do_test_limit (&json_ctx, 0, 0, 15 - i, 16 - i, 127, 0); in test_main()
440 do_test_limit (&json_ctx, 0, 0, 15 - i, 16 - i, 127, 1); in test_main()
441 do_test_limit (&json_ctx, 0, 0, 15 - i, 16 - i, 127, -1); in test_main()
442 do_test_limit (&json_ctx, 0, 0, 15 - i, 16 - i, 255, 0); in test_main()
443 do_test_limit (&json_ctx, 0, 0, 15 - i, 16 - i, 255, 1); in test_main()
444 do_test_limit (&json_ctx, 0, 0, 15 - i, 16 - i, 255, -1); in test_main()