Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dextent_ranges_unittest.cc34 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 …]
Dextent_ranges.cc33 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 …]
Dextent_ranges.h45 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);
Ddelta_diff_utils.h70 ExtentRanges* old_visited_blocks,
71 ExtentRanges* new_visited_blocks);
Ddelta_diff_utils.cc176 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()
Dinplace_generator.cc383 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()
Ddelta_diff_utils_unittest.cc160 ExtentRanges old_visited_blocks_;
161 ExtentRanges new_visited_blocks_;
539 ExtentRanges expected_ranges; in TEST_F()
Dext2_filesystem.cc310 ExtentRanges ranges; in GetFiles()