Searched refs:ExtentRanges (Results 1 – 8 of 8) 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 | 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() 106 ExtentRanges::ExtentSet SubtractOverlappingExtents(const Extent& base, in SubtractOverlappingExtents() 108 ExtentRanges::ExtentSet ret; in SubtractOverlappingExtents() 122 void ExtentRanges::SubtractExtent(const Extent& extent) { in SubtractExtent() 154 void ExtentRanges::AddRanges(const ExtentRanges& ranges) { in AddRanges() 161 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 | 70 ExtentRanges* old_visited_blocks, 71 ExtentRanges* new_visited_blocks);
|
D | delta_diff_utils.cc | 181 ExtentRanges old_visited_blocks; in DeltaReadPartition() 182 ExtentRanges new_visited_blocks; in DeltaReadPartition() 293 ExtentRanges* old_visited_blocks, in DeltaMovedAndZeroBlocks() 294 ExtentRanges* new_visited_blocks) { in DeltaMovedAndZeroBlocks()
|
D | inplace_generator.cc | 383 ExtentRanges scratch_ranges; in AssignBlockForAdjoiningCuts() 385 typedef vector<pair<Vertex::Index, ExtentRanges>> SupplierVector; in AssignBlockForAdjoiningCuts() 394 ExtentRanges ranges; in AssignBlockForAdjoiningCuts() 422 ranges = ExtentRanges(); in AssignBlockForAdjoiningCuts()
|
D | delta_diff_utils_unittest.cc | 161 ExtentRanges old_visited_blocks_; 162 ExtentRanges new_visited_blocks_; 540 ExtentRanges expected_ranges; in TEST_F()
|
D | ext2_filesystem.cc | 314 ExtentRanges ranges; in GetFiles()
|