Lines Matching refs:ranges
177 def RangeSha1(self, ranges): argument
179 for data in self._GetRangeData(ranges):
183 def ReadRangeSet(self, ranges): argument
184 return [d for d in self._GetRangeData(ranges)]
191 ranges = self.care_map
193 ranges = ranges.subtract(self.clobbered_blocks)
194 return self.RangeSha1(ranges)
196 def WriteRangeDataToFd(self, ranges, fd): argument
197 for data in self._GetRangeData(ranges):
200 def _GetRangeData(self, ranges): argument
211 for s, e in ranges:
259 ranges = raw_ranges.subtract(rangelib.RangeSet("0"))
263 ranges.monotonic = raw_ranges.monotonic
264 ranges.extra['text_str'] = ranges_text
269 shared_blocks = ranges.subtract(remaining)
271 non_shared = ranges.subtract(shared_blocks)
277 non_shared.extra['uses_shared_blocks'] = ranges
278 ranges = non_shared
280 out[fn] = ranges
281 assert ranges.size() == ranges.intersect(remaining).size()
285 assert not clobbered_blocks.overlaps(ranges)
286 remaining = remaining.subtract(ranges)