Home
last modified time | relevance | path

Searched refs:rjust (Results 1 – 25 of 63) sorted by relevance

123

/external/harfbuzz_ng/src/
Dgen-os2-unicode-ranges.py53 start = ("0x%X" % ranges[0]).rjust(8)
54 end = ("0x%X" % ranges[1]).rjust(8)
55 bit = ("%s" % ranges[2]).rjust(3)
/external/python/cpython2/Lib/test/
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))
215 out='--> ' + ('4%s200.00' % self.sep).rjust(10))
218 out='1000.00'.rjust(10))
221 out=('1%s000.00' % self.sep).rjust(10))
325 self._test_format("%10d", 4200, grouping=True, out='4 200'.rjust(10))
Dtest_unicode.py1781 check_format(u'123'.rjust(10, u'0'),
1783 check_format(u'123'.rjust(100),
1785 check_format(u'123'.rjust(100, u'0'),
1787 check_format(u'123'.rjust(80, u'0').rjust(100),
1790 check_format(u'123'.rjust(10, u'0'),
1792 check_format(u'123'.rjust(100),
1794 check_format(u'123'.rjust(100, u'0'),
1796 check_format(u'123'.rjust(80, u'0').rjust(100),
1799 check_format(u'123'.rjust(10, u'0'),
1801 check_format(u'123'.rjust(100),
[all …]
/external/python/cpython2/Lib/
Ddis.py84 print repr(i).rjust(4),
93 print repr(oparg).rjust(5),
122 print repr(i).rjust(4),
128 print repr(oparg).rjust(5),
Dstring.py436 def rjust(s, width, *args): function
444 return s.rjust(width, *args)
DUserString.py113 def rjust(self, width, *args): member in UserString
114 return self.__class__(self.data.rjust(width, *args))
Dstringold.py278 def rjust(s, width): function
/external/python/cpython3/Lib/test/
Dtest_locale.py173 self._test_format("%20.f", -42, grouping=1, out='-42'.rjust(20))
176 out=('-4%s200' % self.sep).rjust(10))
187 out=('4%s200' % self.sep).rjust(10))
198 self._test_format("%20.f", -42, grouping=0, out='-42'.rjust(20))
199 self._test_format("%+10.f", -4200, grouping=0, out='-4200'.rjust(10))
217 out='--> ' + ('4%s200.00' % self.sep).rjust(10))
220 out='1000.00'.rjust(10))
223 out=('1%s000.00' % self.sep).rjust(10))
328 self._test_format("%10d", 4200, grouping=True, out='4 200'.rjust(10))
Dtest_unicode.py951 '\U00100000'.rjust(3, '\U00010000')
2701 check_format('123'.rjust(10, '0'),
2703 check_format('123'.rjust(100),
2705 check_format('123'.rjust(100, '0'),
2707 check_format('123'.rjust(80, '0').rjust(100),
2710 check_format('123'.rjust(10, '0'),
2712 check_format('123'.rjust(100),
2714 check_format('123'.rjust(100, '0'),
2716 check_format('123'.rjust(80, '0').rjust(100),
2719 check_format('123'.rjust(10, '0'),
[all …]
/external/libchrome/build/
Dgyp_helper.py57 print ' %s: %s' % (var.rjust(string_padding), os.environ[var])
58 print ' %s: %s' % (file_path.rjust(string_padding), file_val)
/external/OpenCL-CTS/test_conformance/
Drun_conformance.py247 … " + test_name.ljust(40) +": (" + str(int(run_time)).rjust(3) + "s, test " + str(test_number).rjus…
249 … " + test_name.ljust(40) +": (" + str(int(run_time)).rjust(3) + "s, test " + str(test_number).rjus…
/external/python/google-api-python-client/samples/searchforshopping/
Dhistograms.py47 labels.append(bucket['value'].rjust(20))
/external/python/cpython3/Tools/scripts/
Dbyteyears.py56 print(repr(int(byteyears)).rjust(8))
Ddutree.py54 print(prefix + repr(tsub).rjust(width) + ' ' + key)
/external/python/cpython2/Tools/scripts/
Dbyteyears.py56 print repr(int(byteyears)).rjust(8)
Ddutree.py54 print prefix + repr(tsub).rjust(width) + ' ' + key
/external/fonttools/Lib/fontTools/cu2qu/
Derrors.py61 "%s: (%s)" % (str(i).rjust(ndigits), ", ".join(repr(t) for t in tags))
/external/scapy/scapy/
Dpton_ntop.py60 result += hex_bytes(part.rjust(4, "0"))
/external/toolchain-utils/binary_search_tool/
Drun_bisect.py79 key_str = str(key).rjust(max_key_len)
90 key_str = str(key).rjust(max_key_len)
Dbinary_search_state.py693 seconds = str(seconds).rjust(2)
694 minutes = str(minutes).rjust(2)
695 hours = str(hours).rjust(2)
/external/mesa3d/src/intel/perf/
Dgen_perf.py37 text = ''.rjust(_c_indent) + line
42 c_file.write(''.rjust(_c_indent) + code)
59 text = ''.rjust(_h_indent) + line
/external/python/cpython3/Tools/clinic/
Dcpp.py44 return str(self.line_number).rjust(4) + ": " + self.condition()
/external/mesa3d/src/intel/genxml/
Dgen_sort_tags.py89 spaces = ''.rjust(offset * space_delta)
/external/python/cpython3/Lib/
Ddis.py249 fields.append(repr(self.offset).rjust(offset_width))
254 fields.append(repr(self.arg).rjust(_OPARG_WIDTH))
/external/python/cpython2/Doc/tutorial/
Dinputoutput.rst74 ... print repr(x).rjust(2), repr(x*x).rjust(3),
76 ... print repr(x*x*x).rjust(4)
106 This example demonstrates the :meth:`str.rjust` method of string

123