Searched refs:ExtentRanges (Results 1 – 12 of 12) sorted by relevance
/system/update_engine/payload_generator/ |
D | extent_ranges_unittest.cc | 35 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 …]
|
D | extent_ranges.cc | 34 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 …]
|
D | extent_ranges.h | 48 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);
|
D | delta_diff_utils.h | 72 ExtentRanges* old_visited_blocks, 73 ExtentRanges* new_visited_blocks, 74 ExtentRanges* old_zero_blocks);
|
D | delta_diff_utils_unittest.cc | 129 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()
|
D | merge_sequence_generator_unittest.cc | 214 ExtentRanges src_extent_set; in ValidateSplitSequence() 216 ExtentRanges dst_extent_set; in ValidateSplitSequence() 230 ASSERT_FALSE(ExtentRanges::ExtentsOverlap(merge_op.src_extent(), in ValidateSplitSequence()
|
D | delta_diff_utils.cc | 278 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()
|
D | merge_sequence_generator.cc | 106 if (ExtentRanges::ExtentsOverlap(src_extent, dst_extent)) { in Create() 284 ExtentRanges visited; in ValidateSequence()
|
D | ext2_filesystem.cc | 322 ExtentRanges ranges; in GetFiles()
|
D | squashfs_filesystem.cc | 228 ExtentRanges file_extents; in Init()
|
/system/update_engine/common/ |
D | cow_operation_convert.cc | 32 ExtentRanges merge_extents; in ConvertToCowOperations() 34 ExtentRanges modified_extents; in ConvertToCowOperations()
|
D | cow_operation_convert_unittest.cc | 57 ExtentRanges src_extent_set; in VerifyCowMergeOp() 58 ExtentRanges dst_extent_set; in VerifyCowMergeOp() 63 ExtentRanges modified_extents; in VerifyCowMergeOp()
|