Lines Matching refs:exp1
19 #define EXP1_IN_BITS (sizeof(exp1) * 8)
26 static const unsigned long exp1[] __initconst = { variable
231 for_each_set_bit(bit, exp1, EXP1_IN_BITS) { in test_find_nth_bit()
232 b = find_nth_bit(exp1, EXP1_IN_BITS, cnt++); in test_find_nth_bit()
410 {0, "0", &exp1[0], 8, 0},
411 {0, "1", &exp1[1 * step], 8, 0},
412 {0, "0-15", &exp1[2 * step], 32, 0},
413 {0, "16-31", &exp1[3 * step], 32, 0},
414 {0, "0-31:1/2", &exp1[4 * step], 32, 0},
415 {0, "1-31:1/2", &exp1[5 * step], 32, 0},
416 {0, "0-31:1/4", &exp1[6 * step], 32, 0},
417 {0, "1-31:1/4", &exp1[7 * step], 32, 0},
418 {0, "0-31:4/4", &exp1[8 * step], 32, 0},
419 {0, "1-31:4/4", &exp1[9 * step], 32, 0},
420 {0, "0-31:1/4,32-63:2/4", &exp1[10 * step], 64, 0},
421 {0, "0-31:3/4,32-63:4/4", &exp1[11 * step], 64, 0},
422 {0, " ,, 0-31:3/4 ,, 32-63:4/4 ,, ", &exp1[11 * step], 64, 0},
428 {0, "", &exp1[12 * step], 8, 0},
429 {0, "\n", &exp1[12 * step], 8, 0},
430 {0, ",, ,, , , ,", &exp1[12 * step], 8, 0},
431 {0, " , ,, , , ", &exp1[12 * step], 8, 0},
432 {0, " , ,, , , \n", &exp1[12 * step], 8, 0},
434 {0, "0-0", &exp1[0], 32, 0},
435 {0, "1-1", &exp1[1 * step], 32, 0},
436 {0, "15-15", &exp1[13 * step], 32, 0},
437 {0, "31-31", &exp1[14 * step], 32, 0},
439 {0, "0-0:0/1", &exp1[12 * step], 32, 0},
440 {0, "0-0:1/1", &exp1[0], 32, 0},
441 {0, "0-0:1/31", &exp1[0], 32, 0},
442 {0, "0-0:31/31", &exp1[0], 32, 0},
443 {0, "1-1:1/1", &exp1[1 * step], 32, 0},
444 {0, "0-15:16/31", &exp1[2 * step], 32, 0},
445 {0, "15-15:1/2", &exp1[13 * step], 32, 0},
446 {0, "15-15:31/31", &exp1[13 * step], 32, 0},
447 {0, "15-31:1/31", &exp1[13 * step], 32, 0},
448 {0, "16-31:16/31", &exp1[3 * step], 32, 0},
449 {0, "31-31:31/31", &exp1[14 * step], 32, 0},
451 {0, "N-N", &exp1[14 * step], 32, 0},
452 {0, "0-0:1/N", &exp1[0], 32, 0},
453 {0, "0-0:N/N", &exp1[0], 32, 0},
454 {0, "0-15:16/N", &exp1[2 * step], 32, 0},
455 {0, "15-15:N/N", &exp1[13 * step], 32, 0},
456 {0, "15-N:1/N", &exp1[13 * step], 32, 0},
457 {0, "16-N:16/N", &exp1[3 * step], 32, 0},
458 {0, "N-N:N/N", &exp1[14 * step], 32, 0},
460 {0, "0-N:1/3,1-N:1/3,2-N:1/3", &exp1[8 * step], 32, 0},
461 {0, "0-31:1/3,1-31:1/3,2-31:1/3", &exp1[8 * step], 32, 0},
462 {0, "1-10:8/12,8-31:24/29,0-31:0/3", &exp1[9 * step], 32, 0},
464 {0, "all", &exp1[8 * step], 32, 0},
465 {0, "0, 1, all, ", &exp1[8 * step], 32, 0},
466 {0, "all:1/2", &exp1[4 * step], 32, 0},
467 {0, "ALL:1/2", &exp1[4 * step], 32, 0},
654 bitmap_to_arr32(arr, exp1, nbits); in test_bitmap_arr32()
656 expect_eq_bitmap(bmap2, exp1, nbits); in test_bitmap_arr32()
683 bitmap_to_arr64(arr, exp1, nbits); in test_bitmap_arr64()
685 expect_eq_bitmap(bmap2, exp1, nbits); in test_bitmap_arr64()