Lines Matching refs:format

198       raise ValueError('Cannot parse string "{}"'.format(arg))
339 'only 1.0 is supported'.format(major_version,
343 format(file_hdr_sz))
346 format(chunk_hdr_sz))
370 format(data_sz, chunk_sz*self.block_size))
382 'has {}'.format(data_sz))
393 format(data_sz))
403 'this has {}'.format(data_sz))
406 raise ValueError('Unknown chunk type {}'.format(chunk_type))
417 'but we saw {}'.format(self._num_total_blocks, offset))
421 'file.'.format(junk_len))
795 'partition with label "{}".'.format(
802 'partition with label "{}".'.format(
970 suffixes_str += '"{}"'.format(settings.ab_suffixes[n])
981 ' "' + JSON_KEYWORD_PARTITIONS + '": [\n').format(
1003 ' }}{}\n').format(p.label,
1200 .format(p.label))
1203 .format(p.label))
1206 'image size.'.format(p.label))
1271 'Disk alignment size of {} is not divisible by {}.\n'.format(
1280 'is not divisible by {}.\n'.format(
1346 'totaling {} bytes.\n'.format(
1360 'automatically grown.\n'.format(grow_part.label))
1428 raise BptParsingError(name_path, 'Bad image argument {}.'.format(
1438 ' with label {}'.format(p.label))
1485 return '{:#018x}'.format(value)
1584 print('{}.{}'.format(BPT_VERSION_MAJOR, BPT_VERSION_MINOR))
1594 sys.stderr.write('{}: Error parsing: {}\n'.format(e.filename, e.message))
1597 sys.stderr.write('{}\n'.format(e.message))
1601 sys.stderr.write('No partition with label "{}".\n'.format(args.label))
1619 sys.stderr.write('{}: Error parsing: {}\n'.format(e.filename, e.message))
1622 sys.stderr.write('{}\n'.format(e.message))
1645 sys.stderr.write('{}: Error parsing: {}\n'.format(e.filename, e.message))
1648 sys.stderr.write('{}\n'.format(e.message))