Lines Matching refs:j

72 	unsigned int j;  in test_stuck_address()  local
78 for (j = 0; j < 16; j++) { in test_stuck_address()
81 printf("setting %3u", j); in test_stuck_address()
84 *p1 = ((j + i) % 2) == 0 ? (u32)(ul)p1 : ~((u32)(ul)p1); in test_stuck_address()
88 printf("testing %3u", j); in test_stuck_address()
92 if (*p1 != (((j + i) % 2) == 0 ? in test_stuck_address()
122 ul j = 0; in test_random_value() local
131 putc(progress[++j % PROGRESSLEN]); in test_random_value()
251 unsigned int j; in test_solidbits_comparison() local
258 for (j = 0; j < 64; j++) { in test_solidbits_comparison()
260 q = (j % 2) == 0 ? UL_ONEBITS : 0; in test_solidbits_comparison()
268 printf("setting %3u", j); in test_solidbits_comparison()
275 printf("testing %3u", j); in test_solidbits_comparison()
290 unsigned int j; in test_checkerboard_comparison() local
297 for (j = 0; j < 64; j++) { in test_checkerboard_comparison()
299 q = (j % 2) == 0 ? CHECKERBOARD1 : CHECKERBOARD2; in test_checkerboard_comparison()
308 printf("setting %3u", j); in test_checkerboard_comparison()
315 printf("testing %3u", j); in test_checkerboard_comparison()
330 unsigned int j; in test_blockseq_comparison() local
337 for (j = 0; j < 256; j++) { in test_blockseq_comparison()
341 printf("setting %3u", j); in test_blockseq_comparison()
343 q = (u32)UL_BYTE(j); in test_blockseq_comparison()
359 printf("testing %3u", j); in test_blockseq_comparison()
374 unsigned int j; in test_walkbits0_comparison() local
381 for (j = 0; j < UL_LEN * 2; j++) { in test_walkbits0_comparison()
385 printf("setting %3u", j); in test_walkbits0_comparison()
387 if (j < UL_LEN) in test_walkbits0_comparison()
388 q = ONE << j; in test_walkbits0_comparison()
390 q = ONE << (UL_LEN * 2 - j - 1); in test_walkbits0_comparison()
407 printf("testing %3u", j); in test_walkbits0_comparison()
422 unsigned int j; in test_walkbits1_comparison() local
429 for (j = 0; j < UL_LEN * 2; j++) { in test_walkbits1_comparison()
433 printf("setting %3u", j); in test_walkbits1_comparison()
435 if (j < UL_LEN) in test_walkbits1_comparison()
436 q = UL_ONEBITS ^ (ONE << j); in test_walkbits1_comparison()
438 q = UL_ONEBITS ^ (ONE << (UL_LEN * 2 - j - 1)); in test_walkbits1_comparison()
454 printf("testing %3u", j); in test_walkbits1_comparison()
469 unsigned int j; in test_bitspread_comparison() local
475 for (j = 0; j < UL_LEN * 2; j++) { in test_bitspread_comparison()
479 printf("setting %3u", j); in test_bitspread_comparison()
481 if (j < UL_LEN) { in test_bitspread_comparison()
482 data[0] = (ONE << j) | (ONE << (j + 2)); in test_bitspread_comparison()
483 data[1] = UL_ONEBITS ^ ((ONE << j) | (ONE << (j + 2))); in test_bitspread_comparison()
485 data[0] = (ONE << (UL_LEN * 2 - 1 - j)) | in test_bitspread_comparison()
486 (ONE << (UL_LEN * 2 + 1 - j)); in test_bitspread_comparison()
487 data[1] = UL_ONEBITS ^ (ONE << (UL_LEN * 2 - 1 - j) in test_bitspread_comparison()
488 | (ONE << (UL_LEN * 2 + 1 - j))); in test_bitspread_comparison()
505 printf("testing %3u", j); in test_bitspread_comparison()
520 unsigned int j, k; in test_bitflip_comparison() local
529 for (j = 0; j < 8; j++) { in test_bitflip_comparison()
532 printf("setting %3u", k * 8 + j); in test_bitflip_comparison()
547 printf("testing %3u", k * 8 + j); in test_bitflip_comparison()
565 unsigned int b, j = 0; in test_8bit_wide_random() local
585 putc(progress[++j % PROGRESSLEN]); in test_8bit_wide_random()
603 unsigned int b, j = 0; in test_16bit_wide_random() local
623 putc(progress[++j % PROGRESSLEN]); in test_16bit_wide_random()