Home
last modified time | relevance | path

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

/aosp12/system/update_engine/payload_generator/
H A Dextent_ranges_unittest.cc35 void ExpectRangeEq(const ExtentRanges& ranges, in ExpectRangeEq()
64 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlapOrTouch()
66 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlapOrTouch()
92 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlap()
126 ExtentRanges ranges; in TEST()
197 ExtentRanges ranges_a, ranges_b; in TEST()
222 ExtentRanges ranges; in TEST()
253 ExtentRanges ranges; in TEST()
272 ExtentRanges ranges; in TEST()
287 ExtentRanges ranges; in TEST()
[all …]
H A Dextent_ranges.cc58 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()
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()
191 void ExtentRanges::AddRepeatedExtents( in AddRepeatedExtents()
198 void ExtentRanges::SubtractRepeatedExtents( in SubtractRepeatedExtents()
231 void ExtentRanges::Dump() const { in Dump()
[all …]
H A 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);
H A Ddelta_diff_utils.h72 ExtentRanges* old_visited_blocks,
73 ExtentRanges* new_visited_blocks,
74 ExtentRanges* old_zero_blocks);
H A 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()
H A 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()
H A 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()
H A Dmerge_sequence_generator.cc106 if (ExtentRanges::ExtentsOverlap(src_extent, dst_extent)) { in Create()
284 ExtentRanges visited; in ValidateSequence()
H A Dext2_filesystem.cc322 ExtentRanges ranges; in GetFiles()
H A Dsquashfs_filesystem.cc228 ExtentRanges file_extents; in Init()
/aosp12/system/update_engine/common/
H A Dcow_operation_convert.cc32 ExtentRanges merge_extents; in ConvertToCowOperations()
34 ExtentRanges modified_extents; in ConvertToCowOperations()
H A Dcow_operation_convert_unittest.cc57 ExtentRanges src_extent_set; in VerifyCowMergeOp()
58 ExtentRanges dst_extent_set; in VerifyCowMergeOp()
63 ExtentRanges modified_extents; in VerifyCowMergeOp()