Home
last modified time | relevance | path

Searched refs:zfill (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/infra/bots/recipes/
Dupload_nano_results.py39 'nano-json-v1', str(now.year).zfill(4),
40 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
Dupload_buildstats_results.py40 'buildstats-json-v1', str(now.year).zfill(4),
41 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
Dupload_dm_results.py54 str(now.year ).zfill(4),
55 str(now.month).zfill(2),
56 str(now.day ).zfill(2),
57 str(now.hour ).zfill(2),
/third_party/skia/infra/bots/recipe_modules/gold_upload/
Dapi.py46 str(now.year ).zfill(4),
47 str(now.month).zfill(2),
48 str(now.day ).zfill(2),
49 str(now.hour ).zfill(2),
/third_party/skia/platform_tools/android/tradefed/
Dupload_dm_results.py56 str(now.year ).zfill(4),
57 str(now.month).zfill(2),
58 str(now.day ).zfill(2),
59 str(now.hour ).zfill(2),
/third_party/mbedtls/scripts/mbedtls_dev/
Decp.py71 return super().format_arg('{:x}'.format(self.int_a)).zfill(2 * self.hex_digits)
137 return super().format_arg('{:x}'.format(self.int_a)).zfill(hex_digits)
210 return super().format_arg('{:x}'.format(self.int_a)).zfill(2 * self.hex_digits)
302 return super().format_arg('{:x}'.format(self.int_a)).zfill(2 * self.hex_digits)
Dbignum_common.py153 return val.zfill(self.hex_digits)
319 return super().format_arg(val).zfill(self.hex_digits)
/third_party/skia/tools/android/
Dupload_to_android.py132 str(mod).zfill(2), self.change_num, latest_patchset)
/third_party/python/Doc/tutorial/
Dinputoutput.rst246 There is another method, :meth:`str.zfill`, which pads a numeric string on the
249 >>> '12'.zfill(5)
251 >>> '-3.14'.zfill(7)
253 >>> '3.14159265359'.zfill(5)
/third_party/python/Lib/collections/
D__init__.py1551 def zfill(self, width): member in UserString
1552 return self.__class__(self.data.zfill(width))
/third_party/python/Doc/whatsnew/
D2.3.rst1162 * Another new string method is :meth:`zfill`, originally a function in the
1163 :mod:`string` module. :meth:`zfill` pads a numeric string with zeros on the
1165 flexible and powerful than :meth:`zfill`. ::
1167 >>> '45'.zfill(4)
1169 >>> '12345'.zfill(4)
1171 >>> 'goofy'.zfill(6)
/third_party/python/Lib/xmlrpc/
Dclient.py280 return value.strftime("%Y%m%dT%H:%M:%S").zfill(17)
/third_party/node/tools/gyp/pylib/gyp/
Dxcode_emulation.py1518 version[0] = version[0].zfill(2) # Add a leading zero if major is one digit
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dxcode_emulation.py1518 version[0] = version[0].zfill(2) # Add a leading zero if major is one digit
/third_party/python/Doc/library/
Dstdtypes.rst2202 .. method:: str.zfill(width)
2212 >>> "42".zfill(5)
2214 >>> "-42".zfill(5)
3416 .. method:: bytes.zfill(width)
3417 bytearray.zfill(width)
3427 >>> b"42".zfill(5)
3429 >>> b"-42".zfill(5)
/third_party/python/Lib/test/
Dtest_bigmem.py470 s = SUBSTR.zfill(size)
/third_party/python/Misc/
DHISTORY22590 - A method zfill() was added to str and unicode, that fills a numeric
22592 "+123".zfill(6) -> "+00123".