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 | 33 bool ExtentRanges::ExtentsOverlapOrTouch(const Extent& a, const Extent& b) { in ExtentsOverlapOrTouch() 45 bool ExtentRanges::ExtentsOverlap(const Extent& a, const Extent& b) { in ExtentsOverlap() 57 void ExtentRanges::AddBlock(uint64_t block) { in AddBlock() 61 void ExtentRanges::SubtractBlock(uint64_t block) { in SubtractBlock() 78 void ExtentRanges::AddExtent(Extent extent) { in AddExtent() 105 ExtentRanges::ExtentSet SubtractOverlappingExtents(const Extent& base, in SubtractOverlappingExtents() 107 ExtentRanges::ExtentSet ret; in SubtractOverlappingExtents() 121 void ExtentRanges::SubtractExtent(const Extent& extent) { in SubtractExtent() 153 void ExtentRanges::AddRanges(const ExtentRanges& ranges) { in AddRanges() 160 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 | 176 ExtentRanges old_visited_blocks; in DeltaReadPartition() 177 ExtentRanges new_visited_blocks; in DeltaReadPartition() 288 ExtentRanges* old_visited_blocks, in DeltaMovedAndZeroBlocks() 289 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 | 160 ExtentRanges old_visited_blocks_; 161 ExtentRanges new_visited_blocks_; 539 ExtentRanges expected_ranges; in TEST_F()
|
D | ext2_filesystem.cc | 310 ExtentRanges ranges; in GetFiles()
|