Lines Matching refs:positions
706 uint64_t positions[] = { 0, 1, L1 - 1, L1, L2 - 1, L2, L2 + 1, L3 - 1 }; in test_hbitmap_serialize_basic() local
707 int num_positions = ARRAY_SIZE(positions); in test_hbitmap_serialize_basic()
717 positions[i], in test_hbitmap_serialize_basic()
718 MIN(positions[j], L3 - positions[i])); in test_hbitmap_serialize_basic()
731 uint64_t positions[] = { 0, 1, L1 - 1, L1, L2 - 1, L2, L2 + 1, L3 - 1 }; in test_hbitmap_serialize_part() local
732 int num_positions = ARRAY_SIZE(positions); in test_hbitmap_serialize_part()
739 hbitmap_set(data->hb, positions[i], 1); in test_hbitmap_serialize_part()
754 if (positions[k] == j + i) { in test_hbitmap_serialize_part()
773 uint64_t positions[] = { 0, min_l1, L2, L3 - min_l1}; in test_hbitmap_serialize_zeroes() local
774 int num_positions = ARRAY_SIZE(positions); in test_hbitmap_serialize_zeroes()
779 hbitmap_set(data->hb, positions[i], L1); in test_hbitmap_serialize_zeroes()
785 hbitmap_deserialize_zeroes(data->hb, positions[i], min_l1, true); in test_hbitmap_serialize_zeroes()
791 g_assert_cmpint(next, ==, positions[i + 1]); in test_hbitmap_serialize_zeroes()