/third_party/python/Lib/test/test_capi/ |
H A D | test_unicode.py | 193 check_format('123'.rjust(10, '0'), 195 check_format('123'.rjust(100), 197 check_format('123'.rjust(100, '0'), 199 check_format('123'.rjust(80, '0').rjust(100), 202 check_format('123'.rjust(10, '0'), 204 check_format('123'.rjust(100), 206 check_format('123'.rjust(100, '0'), 208 check_format('123'.rjust(80, '0').rjust(10 [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-os2-unicode-ranges.py | 44 start = ("0x%X" % ranges[0]).rjust(8) 45 end = ("0x%X" % ranges[1]).rjust(8) 46 bit = ("%s" % ranges[2]).rjust(3)
|
H A D | gen-indic-table.py | 162 (c[0].ljust (maxlen_s), c[1].ljust (maxlen_l), c[2].rjust (maxlen_n), c[3]))
|
/third_party/python/Lib/test/ |
H A D | test_locale.py | 175 self._test_format("%20.f", -42, grouping=1, out='-42'.rjust(20)) 178 out=('-4%s200' % self.sep).rjust(10)) 189 out=('4%s200' % self.sep).rjust(10)) 200 self._test_format("%20.f", -42, grouping=0, out='-42'.rjust(20)) 201 self._test_format("%+10.f", -4200, grouping=0, out='-4200'.rjust(10)) 219 out='--> ' + ('4%s200.00' % self.sep).rjust(10)) 222 out='1000.00'.rjust(10)) 225 out=('1%s000.00' % self.sep).rjust(10)) 330 self._test_format("%10d", 4200, grouping=True, out='4 200'.rjust(10))
|
H A D | test_bigmem.py | 264 s = SUBSTR.rjust(size) 340 s = SUBSTR.rjust(size) 415 s = SUBSTR.rjust(size)
|
H A D | test_bytes.py | 863 self.assertEqual(b.rjust(7, fill_type(b'-')), 869 self.assertRaises(TypeError, self.type2test(b'abc').rjust, 7, 32) 1902 for methname in ('zfill', 'rjust', 'ljust', 'center'):
|
/third_party/libinput/tools/ |
H A D | libinput-analyze-recording.py | 146 headers = [a.name[4:].rjust(MIN_FIELD_WIDTH) for a in axes] 182 fields.append(s.rjust(max(MIN_FIELD_WIDTH, axes[a])))
|
H A D | libinput-measure-touchpad-pressure.py | 78 s += "|".rjust(self.width - len(s), " ")
|
/third_party/python/Tools/scripts/ |
H A D | byteyears.py | 56 print(repr(int(byteyears)).rjust(8))
|
H A D | dutree.py | 54 print(prefix + repr(tsub).rjust(width) + ' ' + key)
|
/third_party/markupsafe/ |
H A D | __init__.py | 218 rjust = _simple_escaping_wrapper(str.rjust) variable in Markup
|
/third_party/gn/examples/ios/build/config/ios/scripts/ |
H A D | sdk_info.py | 61 version = major.rjust(2, '0') + minor.ljust(2, '0')
|
/third_party/mesa3d/src/intel/genxml/ |
H A D | gen_sort_tags.py | 89 spaces = ''.rjust(offset * space_delta)
|
/third_party/python/Tools/clinic/ |
H A D | cpp.py | 44 return str(self.line_number).rjust(4) + ": " + self.condition()
|
/third_party/mesa3d/src/intel/perf/ |
H A D | gen_perf.py | 40 text = ''.rjust(_c_indent) + line 45 c_file.write(''.rjust(_c_indent) + code) 62 text = ''.rjust(_h_indent) + line
|
/third_party/node/deps/v8/tools/release/ |
H A D | list_deprecated.py | 138 v8_version = f"v{self.extract_version(commit_hash)}".rjust(5)
|
/third_party/mesa3d/src/panfrost/perf/ |
H A D | pan_gen_perf.py | 37 text = ''.rjust(self._indent) + line
|
/third_party/python/Tools/demo/ |
H A D | spreadsheet.py | 19 def rjust(x, n): function 20 return x.rjust(n) 21 align2action = {LEFT: ljust, CENTER: center, RIGHT: rjust}
|
/third_party/python/Lib/ |
H A D | dis.py | 318 fields.append(repr(self.offset).rjust(offset_width)) 323 fields.append(repr(self.arg).rjust(_OPARG_WIDTH))
|
H A D | pstats.py | 491 substats = '%s %s %s %s' % (substats.rjust(7+2*len(indent)), 509 print(c.rjust(9), end=' ', file=self.stream)
|
H A D | uuid.py | 462 hexstr = b''.join(part.rjust(2, b'0') for part in parts)
|
/third_party/mesa3d/src/amd/registers/ |
H A D | makeregheader.py | 307 address = address.rjust(3 if register_line.regmap.map.to == 'pkt3' else 6, '0')
|
/third_party/python/Tools/iobench/ |
H A D | iobench.py | 277 out.write(bw.rjust(12) + "\n")
|
/third_party/python/Tools/ccbench/ |
H A D | ccbench.py | 405 _sendto(sock, ("%r#%s\n" % (local_addr, msg)).rjust(packet_size), addr)
|
/third_party/python/Lib/collections/ |
H A D | __init__.py | 1537 def rjust(self, width, *args): member in UserString 1538 return self.__class__(self.data.rjust(width, *args))
|