Lines Matching refs:BITS_PER_LONG

28     total = BITS_PER_LONG * 4;  in check_bitmap_copy_with_offset()
37 g_assert_cmpmem(bmap1, total / BITS_PER_LONG, in check_bitmap_copy_with_offset()
38 bmap2, total / BITS_PER_LONG); in check_bitmap_copy_with_offset()
70 for (offset = 0; offset <= BITS_PER_LONG; offset++) { in bitmap_set_case()
72 set_func(bmap, BITS_PER_LONG + offset, 1); in bitmap_set_case()
73 g_assert_cmpint(find_first_bit(bmap, 2 * BITS_PER_LONG), in bitmap_set_case()
74 ==, BITS_PER_LONG + offset); in bitmap_set_case()
76 3 * BITS_PER_LONG, in bitmap_set_case()
77 BITS_PER_LONG + offset), in bitmap_set_case()
78 ==, BITS_PER_LONG + offset + 1); in bitmap_set_case()
82 set_func(bmap, BITS_PER_LONG, 2 * BITS_PER_LONG); in bitmap_set_case()
85 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), ==, BITS_PER_LONG); in bitmap_set_case()
86 g_assert_cmpint(find_next_zero_bit(bmap, 3 * BITS_PER_LONG, BITS_PER_LONG), in bitmap_set_case()
87 ==, 3 * BITS_PER_LONG); in bitmap_set_case()
89 for (offset = 0; offset <= BITS_PER_LONG; offset++) { in bitmap_set_case()
92 set_func(bmap, BITS_PER_LONG - offset, 2 * BITS_PER_LONG + offset); in bitmap_set_case()
95 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), in bitmap_set_case()
96 ==, BITS_PER_LONG - offset); in bitmap_set_case()
98 3 * BITS_PER_LONG, in bitmap_set_case()
99 BITS_PER_LONG - offset), in bitmap_set_case()
100 ==, 3 * BITS_PER_LONG); in bitmap_set_case()
103 for (offset = 0; offset <= BITS_PER_LONG; offset++) { in bitmap_set_case()
106 set_func(bmap, BITS_PER_LONG, 2 * BITS_PER_LONG + offset); in bitmap_set_case()
109 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), in bitmap_set_case()
110 ==, BITS_PER_LONG); in bitmap_set_case()
112 3 * BITS_PER_LONG + offset, in bitmap_set_case()
113 BITS_PER_LONG), in bitmap_set_case()
114 ==, 3 * BITS_PER_LONG + offset); in bitmap_set_case()