Home
last modified time | relevance | path

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

/build/tools/releasetools/
Dsparse_img.py129 def ReadRangeSet(self, ranges): argument
130 return [d for d in self._GetRangeData(ranges)]
137 ranges = self.care_map
139 ranges = ranges.subtract(self.clobbered_blocks)
141 for d in self._GetRangeData(ranges):
145 def _GetRangeData(self, ranges): argument
156 for s, e in ranges:
190 fn, ranges = line.split(None, 1)
191 ranges = rangelib.RangeSet.parse(ranges)
192 out[fn] = ranges
[all …]
Dblockimgdiff.py74 def ReadRangeSet(self, ranges): argument
89 def ReadRangeSet(self, ranges): argument
141 def ReadRangeSet(self, ranges): argument
142 return [self.data[s*self.blocksize:e*self.blocksize] for (s, e) in ranges]
276 def HashBlocks(self, source, ranges): # pylint: disable=no-self-use argument
277 data = source.ReadRangeSet(ranges)
Dcommon.py1215 ranges = self.src.care_map.subtract(self.src.clobbered_blocks)
1216 ranges_str = ranges.to_string_raw()
1251 ranges = self.tgt.care_map
1252 ranges_str = ranges.to_string_raw()
1296 def _HashBlocks(self, source, ranges): # pylint: disable=no-self-use argument
1297 data = source.ReadRangeSet(ranges)
/build/tools/droiddoc/templates-sdk/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];
/build/tools/droiddoc/templates-sac/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];
/build/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];
/build/tools/droiddoc/templates-sdk-dev/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];