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()
63 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlapOrTouch()
65 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlapOrTouch()
73 EXPECT_FALSE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectFalseRangesOverlapOrTouch()
75 EXPECT_FALSE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectFalseRangesOverlapOrTouch()
77 EXPECT_FALSE(ExtentRanges::ExtentsOverlap(ExtentForRange(a_start, a_num), in ExpectFalseRangesOverlapOrTouch()
79 EXPECT_FALSE(ExtentRanges::ExtentsOverlap(ExtentForRange(b_start, b_num), in ExpectFalseRangesOverlapOrTouch()
87 EXPECT_TRUE(ExtentRanges::ExtentsOverlap(ExtentForRange(a_start, a_num), 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()
108 ExtentRanges::ExtentSet SubtractOverlappingExtents(const Extent& base, in SubtractOverlappingExtents()
110 ExtentRanges::ExtentSet ret; in SubtractOverlappingExtents()
124 void ExtentRanges::SubtractExtent(const Extent& extent) { in SubtractExtent()
158 void ExtentRanges::AddRanges(const ExtentRanges& ranges) { in AddRanges()
167 void ExtentRanges::SubtractRanges(const ExtentRanges& ranges) { in SubtractRanges()
[all …]
Dextent_ranges.h48 class ExtentRanges {
52 ExtentRanges() : blocks_(0) {} in ExtentRanges() function
63 void AddRanges(const ExtentRanges& ranges);
64 void SubtractRanges(const ExtentRanges& ranges);
93 const ExtentRanges& ranges);
Ddelta_diff_utils.h72 ExtentRanges* old_visited_blocks,
73 ExtentRanges* new_visited_blocks,
74 ExtentRanges* old_zero_blocks);
Ddelta_diff_utils_unittest.cc140 ExtentRanges old_zero_blocks; in RunDeltaMovedAndZeroBlocks()
168 ExtentRanges old_visited_blocks_;
169 ExtentRanges new_visited_blocks_;
190 EXPECT_FALSE(ExtentRanges::ExtentsOverlap( in TEST_F()
193 ExtentRanges::ExtentsOverlap(extent, new_part_.verity.fec_extent)); in TEST_F()
610 ExtentRanges expected_ranges; in TEST_F()
Ddelta_diff_utils.cc376 ExtentRanges old_visited_blocks; in DeltaReadPartition()
377 ExtentRanges new_visited_blocks; in DeltaReadPartition()
391 ExtentRanges old_zero_blocks; in DeltaReadPartition()
531 ExtentRanges* old_visited_blocks, in DeltaMovedAndZeroBlocks()
532 ExtentRanges* new_visited_blocks, in DeltaMovedAndZeroBlocks()
533 ExtentRanges* old_zero_blocks) { in DeltaMovedAndZeroBlocks()
Dinplace_generator.cc375 ExtentRanges scratch_ranges; in AssignBlockForAdjoiningCuts()
377 typedef vector<pair<Vertex::Index, ExtentRanges>> SupplierVector; in AssignBlockForAdjoiningCuts()
388 ExtentRanges ranges; in AssignBlockForAdjoiningCuts()
417 ranges = ExtentRanges(); in AssignBlockForAdjoiningCuts()
Dext2_filesystem.cc322 ExtentRanges ranges; in GetFiles()
Dsquashfs_filesystem.cc183 ExtentRanges file_extents; in Init()