Home
last modified time | relevance | path

Searched refs:bmap3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-bitmap.c18 unsigned long *bmap1, *bmap2, *bmap3, total; in check_bitmap_copy_with_offset() local
22 bmap3 = bitmap_new(BMAP_SIZE); in check_bitmap_copy_with_offset()
33 bitmap_copy_with_dst_offset(bmap3, bmap2, 85, total + 115); in check_bitmap_copy_with_offset()
35 bitmap_copy_with_src_offset(bmap2, bmap3, 200, total); in check_bitmap_copy_with_offset()
51 bitmap_copy_with_dst_offset(bmap3, bmap1, 35, 250); in check_bitmap_copy_with_offset()
52 g_assert_cmpint(find_first_bit(bmap3, 135), ==, 135); in check_bitmap_copy_with_offset()
53 g_assert_cmpint(find_next_zero_bit(bmap3, 280, 135), ==, 280); in check_bitmap_copy_with_offset()
54 g_assert(test_bit(280, bmap3) == 0); in check_bitmap_copy_with_offset()
58 g_free(bmap3); in check_bitmap_copy_with_offset()