Home
last modified time | relevance | path

Searched refs:ExtentRanges (Results 1 – 9 of 9) 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.cc35 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 …]
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.h71 ExtentRanges* old_visited_blocks,
72 ExtentRanges* new_visited_blocks);
Ddelta_diff_utils.cc271 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()
Dinplace_generator.cc382 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()
Ddelta_diff_utils_unittest.cc160 ExtentRanges old_visited_blocks_;
161 ExtentRanges new_visited_blocks_;
551 ExtentRanges expected_ranges; in TEST_F()
Dext2_filesystem.cc318 ExtentRanges ranges; in GetFiles()
Dsquashfs_filesystem.cc191 ExtentRanges file_extents; in Init()