HomeSort by relevance Sort by last modified time
    Searched refs:ExtentRanges (Results 1 - 8 of 8) 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 33 bool ExtentRanges::ExtentsOverlapOrTouch(const Extent& a, const Extent& b) {
45 bool ExtentRanges::ExtentsOverlap(const Extent& a, const Extent& b) {
57 void ExtentRanges::AddBlock(uint64_t block) {
61 void ExtentRanges::SubtractBlock(uint64_t block) {
78 void ExtentRanges::AddExtent(Extent extent) {
105 ExtentRanges::ExtentSet SubtractOverlappingExtents(const Extent& base,
107 ExtentRanges::ExtentSet ret;
121 void ExtentRanges::SubtractExtent(const Extent& extent) {
153 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 70 ExtentRanges* old_visited_blocks,
71 ExtentRanges* new_visited_blocks);
delta_diff_utils.cc 176 ExtentRanges old_visited_blocks;
177 ExtentRanges new_visited_blocks;
288 ExtentRanges* old_visited_blocks,
289 ExtentRanges* new_visited_blocks) {
inplace_generator.cc 383 ExtentRanges scratch_ranges;
385 typedef vector<pair<Vertex::Index, ExtentRanges>> SupplierVector;
394 ExtentRanges ranges;
422 ranges = ExtentRanges();
ext2_filesystem.cc 310 ExtentRanges ranges;
delta_diff_utils_unittest.cc 160 ExtentRanges old_visited_blocks_;
161 ExtentRanges new_visited_blocks_;
539 ExtentRanges expected_ranges;

Completed in 256 milliseconds