Searched refs:ExtentRanges (Results 1 – 9 of 9) 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() 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 …]
|
D | extent_ranges.cc | 35 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 …]
|
D | extent_ranges.h | 48 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);
|
D | delta_diff_utils.h | 72 ExtentRanges* old_visited_blocks, 73 ExtentRanges* new_visited_blocks, 74 ExtentRanges* old_zero_blocks);
|
D | delta_diff_utils_unittest.cc | 140 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()
|
D | delta_diff_utils.cc | 376 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()
|
D | inplace_generator.cc | 375 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()
|
D | ext2_filesystem.cc | 322 ExtentRanges ranges; in GetFiles()
|
D | squashfs_filesystem.cc | 183 ExtentRanges file_extents; in Init()
|