Lines Matching refs:expect_eq_uint
188 #define expect_eq_uint(x, y) expect_eq_ulong((unsigned int)(x), (unsigned int)(y)) macro
239 expect_eq_uint(10, find_nth_bit(bmap, 64 * 3, 0)); in test_find_nth_bit()
240 expect_eq_uint(20, find_nth_bit(bmap, 64 * 3, 1)); in test_find_nth_bit()
241 expect_eq_uint(30, find_nth_bit(bmap, 64 * 3, 2)); in test_find_nth_bit()
242 expect_eq_uint(40, find_nth_bit(bmap, 64 * 3, 3)); in test_find_nth_bit()
243 expect_eq_uint(50, find_nth_bit(bmap, 64 * 3, 4)); in test_find_nth_bit()
244 expect_eq_uint(60, find_nth_bit(bmap, 64 * 3, 5)); in test_find_nth_bit()
245 expect_eq_uint(80, find_nth_bit(bmap, 64 * 3, 6)); in test_find_nth_bit()
246 expect_eq_uint(123, find_nth_bit(bmap, 64 * 3, 7)); in test_find_nth_bit()
247 expect_eq_uint(0, !!(find_nth_bit(bmap, 64 * 3, 8) < 64 * 3)); in test_find_nth_bit()
249 expect_eq_uint(10, find_nth_bit(bmap, 64 * 3 - 1, 0)); in test_find_nth_bit()
250 expect_eq_uint(20, find_nth_bit(bmap, 64 * 3 - 1, 1)); in test_find_nth_bit()
251 expect_eq_uint(30, find_nth_bit(bmap, 64 * 3 - 1, 2)); in test_find_nth_bit()
252 expect_eq_uint(40, find_nth_bit(bmap, 64 * 3 - 1, 3)); in test_find_nth_bit()
253 expect_eq_uint(50, find_nth_bit(bmap, 64 * 3 - 1, 4)); in test_find_nth_bit()
254 expect_eq_uint(60, find_nth_bit(bmap, 64 * 3 - 1, 5)); in test_find_nth_bit()
255 expect_eq_uint(80, find_nth_bit(bmap, 64 * 3 - 1, 6)); in test_find_nth_bit()
256 expect_eq_uint(123, find_nth_bit(bmap, 64 * 3 - 1, 7)); in test_find_nth_bit()
257 expect_eq_uint(0, !!(find_nth_bit(bmap, 64 * 3 - 1, 8) < 64 * 3 - 1)); in test_find_nth_bit()
261 expect_eq_uint(b, bit); in test_find_nth_bit()
344 expect_eq_uint(pos, 0); in test_bitmap_region()
346 expect_eq_uint(pos, order < 9 ? BIT(order) : -ENOMEM); in test_bitmap_region()
353 expect_eq_uint(bitmap_weight(bmap, 1000), 0); in test_bitmap_region()
696 expect_eq_uint(arr[DIV_ROUND_UP(nbits, 32)], in test_bitmap_arr32()
731 expect_eq_uint(arr[DIV_ROUND_UP(nbits, 64)], 0xa5a5a5a5); in test_bitmap_arr64()
1210 expect_eq_uint(strlen(t->mask) + 1, n); in test_bitmap_print_buf()
1215 expect_eq_uint(strlen(t->list) + 1, n); in test_bitmap_print_buf()
1222 expect_eq_uint(strlen(t->list) + 1 - PAGE_SIZE, n); in test_bitmap_print_buf()