Home
last modified time | relevance | path

Searched refs:exist_ok (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython3/PC/layout/
Dmain.py329 ns.temp.mkdir(parents=True, exist_ok=True)
336 ns.temp.mkdir(parents=True, exist_ok=True)
354 ns.temp.mkdir(parents=True, exist_ok=True)
366 pip_dir.mkdir(parents=True, exist_ok=True)
371 ns.temp.mkdir(parents=True, exist_ok=True)
390 ns.zip.parent.mkdir(parents=True, exist_ok=True)
396 ns.copy.mkdir(parents=True, exist_ok=True)
428 (ns.temp / "Lib" / dest).parent.mkdir(parents=True, exist_ok=True)
437 (ns.copy / dest).parent.mkdir(parents=True, exist_ok=True)
467 ns.catalog.parent.mkdir(parents=True, exist_ok=True)
/external/python/setuptools/pkg_resources/
Dpy31compat.py6 def _makedirs_31(path, exist_ok=False): argument
10 if not exist_ok or exc.errno != errno.EEXIST:
/external/python/cpython3/PC/layout/support/
Dpip.py35 dest.mkdir(parents=True, exist_ok=True)
39 ns.temp.mkdir(parents=True, exist_ok=True)
Dappxmanifest.py236 sccd.parent.mkdir(parents=True, exist_ok=True)
/external/swiftshader/third_party/llvm-7.0/scripts/
Dupdate.py83 os.makedirs(LLVM_OBJS, exist_ok=True)
116 os.makedirs(os.path.dirname(dst), exist_ok=True)
154 os.makedirs(os.path.dirname(dst), exist_ok=True)
/external/libchrome/libchrome_tools/
Dupdate_libchrome.py144 os.makedirs(output_root, mode=0o755, exist_ok=True)
162 os.makedirs(os.path.dirname(target_path), mode=0o755, exist_ok=True)
/external/lz4/tests/
Dtest-lz4-versions.py61 os.makedirs(tmp_dir, exist_ok=True)
83 os.makedirs(r_dir, exist_ok=True)
/external/python/cpython3/Lib/
Dpathlib.py1221 def touch(self, mode=0o666, exist_ok=True): argument
1227 if exist_ok:
1239 if not exist_ok:
1244 def mkdir(self, mode=0o777, parents=False, exist_ok=False): argument
1255 self.parent.mkdir(parents=True, exist_ok=True)
1256 self.mkdir(mode, parents=False, exist_ok=exist_ok)
1260 if not exist_ok or not self.is_dir():
Dos.py196 def makedirs(name, mode=0o777, exist_ok=False): argument
211 makedirs(head, exist_ok=exist_ok)
225 if not exist_ok or not path.isdir(name):
Dsysconfig.py405 os.makedirs(pybuilddir, exist_ok=True)
/external/python/setuptools/setuptools/tests/
Dfiles.py31 pkg_resources.py31compat.makedirs(full_name, exist_ok=True)
Dtest_manifest.py365 pkg_resources.py31compat.makedirs(dirname, exist_ok=True)
/external/python/cpython2/PCbuild/
Dget_external.py16 zip_dir.mkdir(parents=True, exist_ok=True)
/external/python/cpython3/PCbuild/
Dget_external.py16 zip_dir.mkdir(parents=True, exist_ok=True)
/external/google-fruit/extras/benchmark/
Dgenerate_benchmark.py149 os.makedirs(output_dir, exist_ok=True)
Drun_benchmarks.py213 os.makedirs(dirname, exist_ok=True)
/external/python/cpython3/Doc/library/
Dpathlib.rst852 .. method:: Path.mkdir(mode=0o777, parents=False, exist_ok=False)
866 If *exist_ok* is false (the default), :exc:`FileExistsError` is
869 If *exist_ok* is true, :exc:`FileExistsError` exceptions will be
874 The *exist_ok* parameter was added.
1032 .. method:: Path.touch(mode=0o666, exist_ok=True)
1036 flags. If the file already exists, the function succeeds if *exist_ok*
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1691 p.touch(mode=0o700, exist_ok=False)
1693 self.assertRaises(OSError, p.touch, exist_ok=False)
1746 p.mkdir(exist_ok=True)
1763 p.mkdir(parents=True, exist_ok=True)
1769 self.cls('/').resolve().mkdir(exist_ok=True)
1770 self.cls('/').resolve().mkdir(parents=True, exist_ok=True)
1792 p.mkdir(parents=True, exist_ok=True)
1804 p.mkdir(exist_ok=True)
1829 p12.mkdir(parents=True, exist_ok=False)
Dtest_os.py1166 self.assertRaises(OSError, os.makedirs, path, mode, exist_ok=False)
1167 os.makedirs(path, 0o776, exist_ok=True)
1168 os.makedirs(path, mode=mode, exist_ok=True)
1172 os.makedirs(os.path.abspath('/'), exist_ok=True)
1193 os.makedirs(path, mode, exist_ok=True)
1197 os.makedirs(path, mode | S_ISGID, exist_ok=True)
1208 self.assertRaises(OSError, os.makedirs, path, exist_ok=False)
1209 self.assertRaises(OSError, os.makedirs, path, exist_ok=True)
Dtest_pkgutil.py373 os.makedirs(base_path, exist_ok=True)
/external/python/setuptools/setuptools/
Dsandbox.py73 pkg_resources.py31compat.makedirs(replacement, exist_ok=True)
/external/python/cpython3/Lib/test/libregrtest/
Dmain.py573 os.makedirs(TEMPDIR, exist_ok=True)
/external/tensorflow/tensorflow/lite/tutorials/
Dpost_training_quant.ipynb280 "tflite_models_dir.mkdir(exist_ok=True, parents=True)"
/external/python/cpython3/Misc/NEWS.d/
D3.6.2rc1.rst624 Avoid incorrect errors raised by Path.mkdir(exist_ok=True) when the OS gives
D3.5.4rc1.rst671 Avoid incorrect errors raised by Path.mkdir(exist_ok=True) when the OS gives

12