Searched refs:zfill (Results 1 – 17 of 17) sorted by relevance
/third_party/skia/infra/bots/recipes/ |
D | upload_nano_results.py | 39 'nano-json-v1', str(now.year).zfill(4), 40 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
|
D | upload_buildstats_results.py | 40 'buildstats-json-v1', str(now.year).zfill(4), 41 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
|
D | upload_dm_results.py | 54 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/ |
D | api.py | 46 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/ |
D | upload_dm_results.py | 56 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/ |
D | ecp.py | 71 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)
|
D | bignum_common.py | 153 return val.zfill(self.hex_digits) 319 return super().format_arg(val).zfill(self.hex_digits)
|
/third_party/skia/tools/android/ |
D | upload_to_android.py | 132 str(mod).zfill(2), self.change_num, latest_patchset)
|
/third_party/python/Doc/tutorial/ |
D | inputoutput.rst | 246 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__.py | 1551 def zfill(self, width): member in UserString 1552 return self.__class__(self.data.zfill(width))
|
/third_party/python/Doc/whatsnew/ |
D | 2.3.rst | 1162 * 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/ |
D | client.py | 280 return value.strftime("%Y%m%dT%H:%M:%S").zfill(17)
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | xcode_emulation.py | 1518 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/ |
D | xcode_emulation.py | 1518 version[0] = version[0].zfill(2) # Add a leading zero if major is one digit
|
/third_party/python/Doc/library/ |
D | stdtypes.rst | 2202 .. 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/ |
D | test_bigmem.py | 470 s = SUBSTR.zfill(size)
|
/third_party/python/Misc/ |
D | HISTORY | 22590 - A method zfill() was added to str and unicode, that fills a numeric 22592 "+123".zfill(6) -> "+00123".
|