Searched refs:ExtentRanges (Results 1 – 9 of 9) sorted by relevance
/system/update_engine/payload_generator/ |
D | extent_ranges_unittest.cc | 34 void ExpectRangeEq(const ExtentRanges& ranges, in ExpectRangeEq() 44 const ExtentRanges::ExtentSet& result = ranges.extent_set(); in ExpectRangeEq() 45 ExtentRanges::ExtentSet::const_iterator it = result.begin(); in ExpectRangeEq() 61 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch(ExtentForRange(a_start, in ExpectRangesOverlapOrTouch() 65 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch(ExtentForRange(b_start, in ExpectRangesOverlapOrTouch() 73 EXPECT_FALSE(ExtentRanges::ExtentsOverlapOrTouch(ExtentForRange(a_start, in ExpectFalseRangesOverlapOrTouch() 77 EXPECT_FALSE(ExtentRanges::ExtentsOverlapOrTouch(ExtentForRange(b_start, in ExpectFalseRangesOverlapOrTouch() 81 EXPECT_FALSE(ExtentRanges::ExtentsOverlap(ExtentForRange(a_start, in ExpectFalseRangesOverlapOrTouch() 85 EXPECT_FALSE(ExtentRanges::ExtentsOverlap(ExtentForRange(b_start, in ExpectFalseRangesOverlapOrTouch() 93 EXPECT_TRUE(ExtentRanges::ExtentsOverlap(ExtentForRange(a_start, in ExpectRangesOverlap() [all …]
|
D | extent_ranges.cc | 35 bool ExtentRanges::ExtentsOverlapOrTouch(const Extent& a, const Extent& b) { in ExtentsOverlapOrTouch() 47 bool ExtentRanges::ExtentsOverlap(const Extent& a, const Extent& b) { in ExtentsOverlap() 59 void ExtentRanges::AddBlock(uint64_t block) { in AddBlock() 63 void ExtentRanges::SubtractBlock(uint64_t block) { in SubtractBlock() 80 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() 155 void ExtentRanges::AddRanges(const ExtentRanges& ranges) { in AddRanges() 162 void ExtentRanges::SubtractRanges(const ExtentRanges& ranges) { in SubtractRanges() [all …]
|
D | extent_ranges.h | 45 class ExtentRanges { 49 ExtentRanges() : blocks_(0) {} in ExtentRanges() function 60 void AddRanges(const ExtentRanges& ranges); 61 void SubtractRanges(const ExtentRanges& ranges); 90 const ExtentRanges& ranges);
|
D | delta_diff_utils.h | 71 ExtentRanges* old_visited_blocks, 72 ExtentRanges* new_visited_blocks);
|
D | delta_diff_utils.cc | 271 ExtentRanges old_visited_blocks; in DeltaReadPartition() 272 ExtentRanges new_visited_blocks; in DeltaReadPartition() 403 ExtentRanges* old_visited_blocks, in DeltaMovedAndZeroBlocks() 404 ExtentRanges* new_visited_blocks) { in DeltaMovedAndZeroBlocks()
|
D | inplace_generator.cc | 382 ExtentRanges scratch_ranges; in AssignBlockForAdjoiningCuts() 384 typedef vector<pair<Vertex::Index, ExtentRanges>> SupplierVector; in AssignBlockForAdjoiningCuts() 393 ExtentRanges ranges; in AssignBlockForAdjoiningCuts() 421 ranges = ExtentRanges(); in AssignBlockForAdjoiningCuts()
|
D | delta_diff_utils_unittest.cc | 160 ExtentRanges old_visited_blocks_; 161 ExtentRanges new_visited_blocks_; 551 ExtentRanges expected_ranges; in TEST_F()
|
D | ext2_filesystem.cc | 318 ExtentRanges ranges; in GetFiles()
|
D | squashfs_filesystem.cc | 191 ExtentRanges file_extents; in Init()
|