Home
last modified time | relevance | path

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

12

/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/flutter/skia/infra/bots/recipes/
Dupload_buildstats_results.py38 'buildstats-json-v1', str(now.year).zfill(4),
39 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
Dupload_nano_results.py37 'nano-json-v1', str(now.year).zfill(4),
38 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
Dupload_calmbench_results.py53 'calmbench-v1', str(now.year).zfill(4),
54 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
Dupload_dm_results.py52 str(now.year ).zfill(4),
53 str(now.month).zfill(2),
54 str(now.day ).zfill(2),
55 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/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/flutter/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/mindspore/mindspore/profiler/parser/
Dhwts_log_parser.py89 byte_first = bin(byte_first_four[0]).replace('0b', '').zfill(8)
/third_party/mindspore/tests/ut/python/dataset/
Dtest_datasets_flowers102.py53 …image_paths = [os.path.join(path, "jpg", "image_" + str(index).zfill(5) + ".jpg") for index in ind…
54 …segmentation_paths = [os.path.join(path, "segmim", "segmim_" + str(index).zfill(5) + ".jpg") for i…
/third_party/skia/tools/android/
Dupload_to_android.py132 str(mod).zfill(2), self.change_num, latest_patchset)
/third_party/flutter/skia/tools/android/
Dupload_to_android.py130 str(mod).zfill(2), self.change_num, latest_patchset)
/third_party/mindspore/mindspore/profiler/common/exceptions/
Dexceptions.py74 return hex(num)[2:].zfill(8).upper()
/third_party/boost/libs/metaparse/tools/
Dstring_headers.py131 str(i).zfill(string_len) for i in
/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/flutter/skia/third_party/externals/harfbuzz/test/shaping/
Dhb_test_tools.py48 padded_hex_str = hex(i)[2:].zfill(8)
/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/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dxcode_emulation.py1290 version[0] = version[0].zfill(2) # Add a leading zero if major is one digit
/third_party/node/tools/gyp/pylib/gyp/
Dxcode_emulation.py1521 version[0] = version[0].zfill(2) # Add a leading zero if major is one digit
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py5871 …path = os.path.join(self.dataset_dir, "jpg", "image_" + str(self.indices[index]).zfill(5) + ".jpg")
5884 … os.path.join(self.dataset_dir, "segmim", "segmim_" + str(self.indices[index]).zfill(5) + ".jpg")
/third_party/python/Doc/library/
Dstdtypes.rst2195 .. method:: str.zfill(width)
2205 >>> "42".zfill(5)
2207 >>> "-42".zfill(5)
3409 .. method:: bytes.zfill(width)
3410 bytearray.zfill(width)
3420 >>> b"42".zfill(5)
3422 >>> b"-42".zfill(5)

12