Home
last modified time | relevance | path

Searched refs:ranges (Results 1 – 8 of 8) sorted by relevance

/build/make/tools/releasetools/
Dimages.py24 def RangeSha1(self, ranges): argument
27 def ReadRangeSet(self, ranges): argument
33 def WriteRangeDataToFd(self, ranges, fd): argument
49 def RangeSha1(self, ranges): argument
52 def ReadRangeSet(self, ranges): argument
61 def WriteRangeDataToFd(self, ranges, fd): argument
126 def _GetRangeData(self, ranges): argument
127 for s, e in ranges:
130 def RangeSha1(self, ranges): argument
132 for data in self._GetRangeData(ranges): # pylint: disable=not-an-iterable
[all …]
Dsparse_img.py177 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
[all …]
Dvalidate_target_files.py86 ranges = image.file_map[entry]
90 if ranges.extra.get('uses_shared_blocks'):
91 file_ranges = ranges.extra['uses_shared_blocks']
93 file_ranges = ranges
Dtest_validate_target_files.py306 ranges = RangeSet(info[1])
307 self.assertTrue(ranges.monotonic)
308 blocks = reversed(list(ranges.next_item()))
Dcommon.py1734 ranges = image.file_map[entry]
1739 if ranges.extra.get('uses_shared_blocks'):
1740 ranges = ranges.extra['uses_shared_blocks']
1742 if RoundUpTo4K(info.file_size) > ranges.size() * 4096:
1743 ranges.extra['incomplete'] = True
2762 ranges = self.tgt.care_map
2763 ranges_str = ranges.to_string_raw()
2782 ranges = self.touched_src_ranges
2785 ranges = self.src.care_map.subtract(self.src.clobbered_blocks)
2789 if not ranges:
[all …]
/build/make/tools/fs_config/
Dfs_config_generator.py77 def in_any_range(value, ranges): argument
91 return any(lower <= value <= upper for (lower, upper) in ranges)
431 for ranges in self._ranges.values():
432 for i, range1 in enumerate(ranges):
433 for range2 in ranges[i + 1:]:
441 for ranges in self._ranges.values():
442 if Utils.in_any_range(aid, ranges):
446 (name, aid, str(ranges)))
449 def ranges(self): member in AIDHeaderParser
506 def __init__(self, config_files, ranges): argument
[all …]
DREADME95 value that is outside of the inclusive OEM ranges:
/build/make/tools/droiddoc/templates-ndk/assets/js/
Dandroid_3p-bundle.js418 var ranges = [];
438 ranges.push([start, end]);
442 ranges.push([Math.max(65, start) | 32, Math.min(end, 90) | 32]);
445 ranges.push([Math.max(97, start) & ~32, Math.min(end, 122) & ~32]);
452 ranges.sort(function (a, b) { return (a[0] - b[0]) || (b[1] - a[1]); });
455 for (var i = 0; i < ranges.length; ++i) {
456 var range = ranges[i];