Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dextent_ranges_unittest.cc35 void ExpectRangeEq(const ExtentRanges& ranges, in ExpectRangeEq()
45 const ExtentRanges::ExtentSet& result = ranges.extent_set(); in ExpectRangeEq()
46 ExtentRanges::ExtentSet::const_iterator it = result.begin(); in ExpectRangeEq()
64 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlapOrTouch()
66 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlapOrTouch()
74 EXPECT_FALSE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectFalseRangesOverlapOrTouch()
76 EXPECT_FALSE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectFalseRangesOverlapOrTouch()
78 EXPECT_FALSE(ExtentRanges::ExtentsOverlap(ExtentForRange(a_start, a_num), in ExpectFalseRangesOverlapOrTouch()
80 EXPECT_FALSE(ExtentRanges::ExtentsOverlap(ExtentForRange(b_start, b_num), in ExpectFalseRangesOverlapOrTouch()
88 EXPECT_TRUE(ExtentRanges::ExtentsOverlap(ExtentForRange(a_start, a_num), in ExpectRangesOverlap()
[all …]
Dextent_ranges.cc34 bool ExtentRanges::ExtentsOverlapOrTouch(const Extent& a, const Extent& b) { in ExtentsOverlapOrTouch()
46 bool ExtentRanges::ExtentsOverlap(const Extent& a, const Extent& b) { in ExtentsOverlap()
58 void ExtentRanges::AddBlock(uint64_t block) { in AddBlock()
62 void ExtentRanges::SubtractBlock(uint64_t block) { in SubtractBlock()
79 void ExtentRanges::AddExtent(Extent extent) { in AddExtent()
107 ExtentRanges::ExtentSet SubtractOverlappingExtents(const Extent& base, in SubtractOverlappingExtents()
109 ExtentRanges::ExtentSet ret; in SubtractOverlappingExtents()
123 void ExtentRanges::SubtractExtent(const Extent& extent) { in SubtractExtent()
157 void ExtentRanges::AddRanges(const ExtentRanges& ranges) { in AddRanges()
166 void ExtentRanges::SubtractRanges(const ExtentRanges& ranges) { in SubtractRanges()
[all …]
Dextent_ranges.h48 class ExtentRanges {
52 ExtentRanges() : blocks_(0) {} in ExtentRanges() function
63 void AddRanges(const ExtentRanges& ranges);
64 void SubtractRanges(const ExtentRanges& ranges);
96 const ExtentRanges& ranges);
Ddelta_diff_utils.h72 ExtentRanges* old_visited_blocks,
73 ExtentRanges* new_visited_blocks,
74 ExtentRanges* old_zero_blocks);
Ddelta_diff_utils_unittest.cc129 ExtentRanges old_zero_blocks; in RunDeltaMovedAndZeroBlocks()
158 ExtentRanges old_visited_blocks_;
159 ExtentRanges new_visited_blocks_;
180 EXPECT_FALSE(ExtentRanges::ExtentsOverlap( in TEST_F()
183 ExtentRanges::ExtentsOverlap(extent, new_part_.verity.fec_extent)); in TEST_F()
375 ExtentRanges expected_ranges; in TEST_F()
Dmerge_sequence_generator_unittest.cc214 ExtentRanges src_extent_set; in ValidateSplitSequence()
216 ExtentRanges dst_extent_set; in ValidateSplitSequence()
230 ASSERT_FALSE(ExtentRanges::ExtentsOverlap(merge_op.src_extent(), in ValidateSplitSequence()
Ddelta_diff_utils.cc278 ExtentRanges old_visited_blocks; in DeltaReadPartition()
279 ExtentRanges new_visited_blocks; in DeltaReadPartition()
293 ExtentRanges old_zero_blocks; in DeltaReadPartition()
429 ExtentRanges* old_visited_blocks, in DeltaMovedAndZeroBlocks()
430 ExtentRanges* new_visited_blocks, in DeltaMovedAndZeroBlocks()
431 ExtentRanges* old_zero_blocks) { in DeltaMovedAndZeroBlocks()
Dmerge_sequence_generator.cc106 if (ExtentRanges::ExtentsOverlap(src_extent, dst_extent)) { in Create()
284 ExtentRanges visited; in ValidateSequence()
Dext2_filesystem.cc322 ExtentRanges ranges; in GetFiles()
Dsquashfs_filesystem.cc228 ExtentRanges file_extents; in Init()
/system/update_engine/common/
Dcow_operation_convert.cc32 ExtentRanges merge_extents; in ConvertToCowOperations()
34 ExtentRanges modified_extents; in ConvertToCowOperations()
Dcow_operation_convert_unittest.cc57 ExtentRanges src_extent_set; in VerifyCowMergeOp()
58 ExtentRanges dst_extent_set; in VerifyCowMergeOp()
63 ExtentRanges modified_extents; in VerifyCowMergeOp()