HomeSort by relevance Sort by last modified time
    Searched refs:ExtentRanges (Results 1 - 9 of 9) sorted by null

  /system/update_engine/payload_generator/
extent_ranges.h 28 // An ExtentRanges object represents an unordered collection of extents (and
30 // blocks (think: set addition or set subtraction). Note that ExtentRanges
45 class ExtentRanges {
49 ExtentRanges() : blocks_(0) {}
60 void AddRanges(const ExtentRanges& ranges);
61 void SubtractRanges(const ExtentRanges& ranges);
87 // ExtentRanges set. Note that the order of the blocks in |extents| is preserved
88 // omitting blocks present in the ExtentRanges |ranges|.
90 const ExtentRanges& ranges);
extent_ranges.cc 35 bool ExtentRanges::ExtentsOverlapOrTouch(const Extent& a, const Extent& b) {
47 bool ExtentRanges::ExtentsOverlap(const Extent& a, const Extent& b) {
59 void ExtentRanges::AddBlock(uint64_t block) {
63 void ExtentRanges::SubtractBlock(uint64_t block) {
80 void ExtentRanges::AddExtent(Extent extent) {
107 ExtentRanges::ExtentSet SubtractOverlappingExtents(const Extent& base,
109 ExtentRanges::ExtentSet ret;
123 void ExtentRanges::SubtractExtent(const Extent& extent) {
155 void ExtentRanges::AddRanges(const ExtentRanges& ranges)
    [all...]
extent_ranges_unittest.cc 34 void ExpectRangeEq(const ExtentRanges& ranges,
44 const ExtentRanges::ExtentSet& result = ranges.extent_set();
45 ExtentRanges::ExtentSet::const_iterator it = result.begin();
61 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch(ExtentForRange(a_start,
65 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch(ExtentForRange(b_start,
73 EXPECT_FALSE(ExtentRanges::ExtentsOverlapOrTouch(ExtentForRange(a_start,
77 EXPECT_FALSE(ExtentRanges::ExtentsOverlapOrTouch(ExtentForRange(b_start,
81 EXPECT_FALSE(ExtentRanges::ExtentsOverlap(ExtentForRange(a_start,
85 EXPECT_FALSE(ExtentRanges::ExtentsOverlap(ExtentForRange(b_start,
93 EXPECT_TRUE(ExtentRanges::ExtentsOverlap(ExtentForRange(a_start
    [all...]
delta_diff_utils.h 71 ExtentRanges* old_visited_blocks,
72 ExtentRanges* new_visited_blocks);
delta_diff_utils.cc 271 ExtentRanges old_visited_blocks;
272 ExtentRanges new_visited_blocks;
403 ExtentRanges* old_visited_blocks,
404 ExtentRanges* new_visited_blocks) {
    [all...]
inplace_generator.cc 382 ExtentRanges scratch_ranges;
384 typedef vector<pair<Vertex::Index, ExtentRanges>> SupplierVector;
393 ExtentRanges ranges;
421 ranges = ExtentRanges();
ext2_filesystem.cc 318 ExtentRanges ranges;
squashfs_filesystem.cc 191 ExtentRanges file_extents;
delta_diff_utils_unittest.cc 160 ExtentRanges old_visited_blocks_;
161 ExtentRanges new_visited_blocks_;
551 ExtentRanges expected_ranges;

Completed in 80 milliseconds