Lines Matching refs:TestHBitmapData
23 typedef struct TestHBitmapData { struct
29 } TestHBitmapData; argument
35 static void hbitmap_test_check(TestHBitmapData *data, in hbitmap_test_check()
78 static void hbitmap_test_init(TestHBitmapData *data, in hbitmap_test_init()
102 static void hbitmap_test_truncate_impl(TestHBitmapData *data, in hbitmap_test_truncate_impl()
134 static void hbitmap_test_teardown(TestHBitmapData *data, in hbitmap_test_teardown()
148 static void hbitmap_test_set(TestHBitmapData *data, in hbitmap_test_set()
167 static void hbitmap_test_reset(TestHBitmapData *data, in hbitmap_test_reset()
184 static void hbitmap_test_reset_all(TestHBitmapData *data) in hbitmap_test_reset_all()
201 static void hbitmap_test_check_get(TestHBitmapData *data) in hbitmap_test_check_get()
216 static void test_hbitmap_zero(TestHBitmapData *data, in test_hbitmap_zero()
222 static void test_hbitmap_unaligned(TestHBitmapData *data, in test_hbitmap_unaligned()
230 static void test_hbitmap_iter_empty(TestHBitmapData *data, in test_hbitmap_iter_empty()
236 static void test_hbitmap_iter_partial(TestHBitmapData *data, in test_hbitmap_iter_partial()
258 static void test_hbitmap_set_all(TestHBitmapData *data, in test_hbitmap_set_all()
265 static void test_hbitmap_get_all(TestHBitmapData *data, in test_hbitmap_get_all()
273 static void test_hbitmap_get_some(TestHBitmapData *data, in test_hbitmap_get_some()
289 static void test_hbitmap_set_one(TestHBitmapData *data, in test_hbitmap_set_one()
300 static void test_hbitmap_set_two_elem(TestHBitmapData *data, in test_hbitmap_set_two_elem()
314 static void test_hbitmap_set(TestHBitmapData *data, in test_hbitmap_set()
329 static void test_hbitmap_set_twice(TestHBitmapData *data, in test_hbitmap_set_twice()
337 static void test_hbitmap_set_overlap(TestHBitmapData *data, in test_hbitmap_set_overlap()
353 static void test_hbitmap_reset_empty(TestHBitmapData *data, in test_hbitmap_reset_empty()
360 static void test_hbitmap_reset(TestHBitmapData *data, in test_hbitmap_reset()
381 static void test_hbitmap_reset_all(TestHBitmapData *data, in test_hbitmap_reset_all()
401 static void test_hbitmap_granularity(TestHBitmapData *data, in test_hbitmap_granularity()
418 static void test_hbitmap_iter_granularity(TestHBitmapData *data, in test_hbitmap_iter_granularity()
447 static void hbitmap_test_set_boundary_bits(TestHBitmapData *data, ssize_t diff) in hbitmap_test_set_boundary_bits()
467 static void hbitmap_test_check_boundary_bits(TestHBitmapData *data) in hbitmap_test_check_boundary_bits()
490 static void hbitmap_test_truncate(TestHBitmapData *data, in hbitmap_test_truncate()
501 static void test_hbitmap_truncate_nop(TestHBitmapData *data, in test_hbitmap_truncate_nop()
511 static void test_hbitmap_truncate_grow_negligible(TestHBitmapData *data, in test_hbitmap_truncate_grow_negligible()
525 static void test_hbitmap_truncate_shrink_negligible(TestHBitmapData *data, in test_hbitmap_truncate_shrink_negligible()
539 static void test_hbitmap_truncate_grow_tiny(TestHBitmapData *data, in test_hbitmap_truncate_grow_tiny()
553 static void test_hbitmap_truncate_shrink_tiny(TestHBitmapData *data, in test_hbitmap_truncate_shrink_tiny()
567 static void test_hbitmap_truncate_grow_small(TestHBitmapData *data, in test_hbitmap_truncate_grow_small()
580 static void test_hbitmap_truncate_shrink_small(TestHBitmapData *data, in test_hbitmap_truncate_shrink_small()
593 static void test_hbitmap_truncate_grow_medium(TestHBitmapData *data, in test_hbitmap_truncate_grow_medium()
606 static void test_hbitmap_truncate_shrink_medium(TestHBitmapData *data, in test_hbitmap_truncate_shrink_medium()
618 static void test_hbitmap_truncate_grow_large(TestHBitmapData *data, in test_hbitmap_truncate_grow_large()
630 static void test_hbitmap_truncate_shrink_large(TestHBitmapData *data, in test_hbitmap_truncate_shrink_large()
639 static void test_hbitmap_serialize_align(TestHBitmapData *data, in test_hbitmap_serialize_align()
651 static void hbitmap_test_serialize_range(TestHBitmapData *data, in hbitmap_test_serialize_range()
700 static void test_hbitmap_serialize_basic(TestHBitmapData *data, in test_hbitmap_serialize_basic()
725 static void test_hbitmap_serialize_part(TestHBitmapData *data, in test_hbitmap_serialize_part()
766 static void test_hbitmap_serialize_zeroes(TestHBitmapData *data, in test_hbitmap_serialize_zeroes()
797 void (*test_func)(TestHBitmapData *data, const void *user_data)) in hbitmap_test_add()
799 g_test_add(testpath, TestHBitmapData, NULL, NULL, test_func, in hbitmap_test_add()
803 static void test_hbitmap_iter_and_reset(TestHBitmapData *data, in test_hbitmap_iter_and_reset()
819 static void test_hbitmap_next_x_check_range(TestHBitmapData *data, in test_hbitmap_next_x_check_range()
845 static void test_hbitmap_next_x_check(TestHBitmapData *data, int64_t start) in test_hbitmap_next_x_check()
850 static void test_hbitmap_next_x_do(TestHBitmapData *data, int granularity) in test_hbitmap_next_x_do()
904 static void test_hbitmap_next_x_0(TestHBitmapData *data, const void *unused) in test_hbitmap_next_x_0()
909 static void test_hbitmap_next_x_4(TestHBitmapData *data, const void *unused) in test_hbitmap_next_x_4()
914 static void test_hbitmap_next_x_after_truncate(TestHBitmapData *data, in test_hbitmap_next_x_after_truncate()
923 static void test_hbitmap_next_dirty_area_check_limited(TestHBitmapData *data, in test_hbitmap_next_dirty_area_check_limited()
959 static void test_hbitmap_next_dirty_area_check(TestHBitmapData *data, in test_hbitmap_next_dirty_area_check()
965 static void test_hbitmap_next_dirty_area_do(TestHBitmapData *data, in test_hbitmap_next_dirty_area_do()
1018 static void test_hbitmap_next_dirty_area_0(TestHBitmapData *data, in test_hbitmap_next_dirty_area_0()
1024 static void test_hbitmap_next_dirty_area_1(TestHBitmapData *data, in test_hbitmap_next_dirty_area_1()
1030 static void test_hbitmap_next_dirty_area_4(TestHBitmapData *data, in test_hbitmap_next_dirty_area_4()
1036 static void test_hbitmap_next_dirty_area_after_truncate(TestHBitmapData *data, in test_hbitmap_next_dirty_area_after_truncate()