Home
last modified time | relevance | path

Searched refs:rjust (Results 1 - 25 of 30) sorted by relevance

12

/third_party/python/Lib/test/test_capi/
H A Dtest_unicode.py193 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 Dgen-os2-unicode-ranges.py44 start = ("0x%X" % ranges[0]).rjust(8)
45 end = ("0x%X" % ranges[1]).rjust(8)
46 bit = ("%s" % ranges[2]).rjust(3)
H A Dgen-indic-table.py162 (c[0].ljust (maxlen_s), c[1].ljust (maxlen_l), c[2].rjust (maxlen_n), c[3]))
/third_party/python/Lib/test/
H A Dtest_locale.py175 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 Dtest_bigmem.py264 s = SUBSTR.rjust(size)
340 s = SUBSTR.rjust(size)
415 s = SUBSTR.rjust(size)
H A Dtest_bytes.py863 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 Dlibinput-analyze-recording.py146 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 Dlibinput-measure-touchpad-pressure.py78 s += "|".rjust(self.width - len(s), " ")
/third_party/python/Tools/scripts/
H A Dbyteyears.py56 print(repr(int(byteyears)).rjust(8))
H A Ddutree.py54 print(prefix + repr(tsub).rjust(width) + ' ' + key)
/third_party/markupsafe/
H A D__init__.py218 rjust = _simple_escaping_wrapper(str.rjust) variable in Markup
/third_party/gn/examples/ios/build/config/ios/scripts/
H A Dsdk_info.py61 version = major.rjust(2, '0') + minor.ljust(2, '0')
/third_party/mesa3d/src/intel/genxml/
H A Dgen_sort_tags.py89 spaces = ''.rjust(offset * space_delta)
/third_party/python/Tools/clinic/
H A Dcpp.py44 return str(self.line_number).rjust(4) + ": " + self.condition()
/third_party/mesa3d/src/intel/perf/
H A Dgen_perf.py40 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 Dlist_deprecated.py138 v8_version = f"v{self.extract_version(commit_hash)}".rjust(5)
/third_party/mesa3d/src/panfrost/perf/
H A Dpan_gen_perf.py37 text = ''.rjust(self._indent) + line
/third_party/python/Tools/demo/
H A Dspreadsheet.py19 def rjust(x, n): function
20 return x.rjust(n)
21 align2action = {LEFT: ljust, CENTER: center, RIGHT: rjust}
/third_party/python/Lib/
H A Ddis.py318 fields.append(repr(self.offset).rjust(offset_width))
323 fields.append(repr(self.arg).rjust(_OPARG_WIDTH))
H A Dpstats.py491 substats = '%s %s %s %s' % (substats.rjust(7+2*len(indent)),
509 print(c.rjust(9), end=' ', file=self.stream)
H A Duuid.py462 hexstr = b''.join(part.rjust(2, b'0') for part in parts)
/third_party/mesa3d/src/amd/registers/
H A Dmakeregheader.py307 address = address.rjust(3 if register_line.regmap.map.to == 'pkt3' else 6, '0')
/third_party/python/Tools/iobench/
H A Diobench.py277 out.write(bw.rjust(12) + "\n")
/third_party/python/Tools/ccbench/
H A Dccbench.py405 _sendto(sock, ("%r#%s\n" % (local_addr, msg)).rjust(packet_size), addr)
/third_party/python/Lib/collections/
H A D__init__.py1537 def rjust(self, width, *args): member in UserString
1538 return self.__class__(self.data.rjust(width, *args))

Completed in 19 milliseconds

12