Searched refs:max_length (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/scripts/ |
D | blockdiff.py | 32 def BlockDiff(block_size, file1, file2, name1, name2, max_length=-1): argument 49 if max_length < 0: 50 max_length = sys.maxsize 53 while max_length or extent_length: 54 read_length = min(max_length, block_size) 79 max_length -= len(data1) 105 args.file1, args.file2, args.max_length)
|
/system/update_engine/scripts/update_payload/ |
D | applier.py | 73 max_length = length if length >= 0 else sys.maxsize 75 while max_length > 0: 76 read_length = min(max_length, block_length) 80 max_length -= len(data) 83 if length >= 0 and max_length > 0: 86 (length - max_length, length, name)) 95 def _ReadExtents(file_obj, extents, block_size, max_length=-1): argument 110 if max_length < 0: 111 max_length = sys.maxsize 113 if max_length == 0: [all …]
|
/system/extras/perf2cfg/perf2cfg/ |
D | edit.py | 328 max_length = 0 336 if len(annotation) > max_length: 337 max_length = len(annotation) 339 self.padding = '_' + ' ' * max_length
|