Searched refs:RangeSet (Results 1 - 4 of 4) sorted by relevance

/build/tools/releasetools/
H A Drangelib.py19 __all__ = ["RangeSet"]
21 class RangeSet(object): class in inherits:object
22 """A RangeSet represents a set of nonoverlapping ranges on the
54 individual blocks. Returns a RangeSet object.
57 RangeSet will have an extra attribute 'monotonic' that is set to
84 r = RangeSet(cls._remove_pairs(data))
115 """Return a new RangeSet representing the union of this RangeSet
124 return RangeSet(data=out)
127 """Return a new RangeSet representin
[all...]
H A Dsparse_img.py105 self.care_map = RangeSet(care_data)
169 ranges = RangeSet.parse(ranges)
207 out["__ZERO"] = RangeSet(data=zero_blocks)
208 out["__NONZERO"] = RangeSet(data=nonzero_blocks)
H A Dblockimgdiff.py74 care_map = RangeSet()
106 self.care_map = RangeSet(data=(0, self.total_blocks))
121 self.file_map = {"__ZERO": RangeSet(zero_blocks),
122 "__NONZERO": RangeSet(nonzero_blocks)}
160 # care_map: a RangeSet containing which blocks (in the range [0,
169 # ReadRangeSet(): a function that takes a RangeSet and returns the
170 # data contained in the image blocks of that RangeSet. The data
281 all_tgt = RangeSet(data=(0, self.tgt.total_blocks))
407 touched = RangeSet()
565 empty = RangeSet()
[all...]
H A Dcommon.py1081 r = RangeSet((0, 1))

Completed in 43 milliseconds