Home
last modified time | relevance | path

Searched refs:clobbered_blocks (Results 1 – 3 of 3) sorted by relevance

/build/make/tools/releasetools/
Dimages.py43 self.clobbered_blocks = RangeSet()
58 assert self.clobbered_blocks.size() == 0
97 clobbered_blocks = [self.total_blocks-1, self.total_blocks]
99 clobbered_blocks = []
100 self.clobbered_blocks = clobbered_blocks
116 assert zero_blocks or nonzero_blocks or clobbered_blocks
123 if clobbered_blocks:
124 self.file_map["__COPY"] = RangeSet(data=clobbered_blocks)
141 return self.RangeSha1(self.care_map.subtract(self.clobbered_blocks))
164 self.clobbered_blocks = RangeSet()
[all …]
Dsparse_img.py43 def __init__(self, simg_fn, file_map_fn=None, clobbered_blocks=None, argument
84 self.clobbered_blocks = rangelib.RangeSet(data=clobbered_blocks)
158 self.LoadFileBlockMap(file_map_fn, self.clobbered_blocks,
193 ranges = ranges.subtract(self.clobbered_blocks)
239 def LoadFileBlockMap(self, fn, clobbered_blocks, allow_shared_blocks): argument
285 assert not clobbered_blocks.overlaps(ranges)
288 remaining = remaining.subtract(clobbered_blocks)
344 assert zero_blocks or nonzero_groups or clobbered_blocks
351 if clobbered_blocks:
352 out["__COPY"] = clobbered_blocks
Dcommon.py1705 clobbered_blocks = "0"
1708 path, mappath, clobbered_blocks, allow_shared_blocks=allow_shared_blocks,
2785 ranges = self.src.care_map.subtract(self.src.clobbered_blocks)