Home
last modified time | relevance | path

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

12

/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/mesa3d/.gitlab-ci/tracie/
Ddump_trace_images.py43 log_path.parent.mkdir(parents=True, exist_ok=True)
72 os.makedirs(outputdir, exist_ok=True)
93 outputdir_path.mkdir(parents=True, exist_ok=True)
119 outputdir_path.mkdir(parents=True, exist_ok=True)
Dtracie.py57 os.makedirs(os.path.dirname(trace_path), exist_ok=True)
173 os.makedirs(results_path, exist_ok=True)
245 os.makedirs(RESULTS_PATH, exist_ok=True)
Drenderdoc_dump_images.py66 filepath.mkdir(parents = True, exist_ok = True)
/external/python/cpython3/PC/layout/support/
Dpip.py47 dest.mkdir(parents=True, exist_ok=False)
53 ns.temp.mkdir(parents=True, exist_ok=True)
Dappxmanifest.py241 sccd.parent.mkdir(parents=True, exist_ok=True)
/external/python/cpython3/PC/layout/
Dmain.py345 ns.temp.mkdir(parents=True, exist_ok=True)
352 ns.temp.mkdir(parents=True, exist_ok=True)
387 ns.zip.parent.mkdir(parents=True, exist_ok=True)
393 ns.copy.mkdir(parents=True, exist_ok=True)
419 (ns.copy / dest).parent.mkdir(parents=True, exist_ok=True)
437 (ns.temp / "Lib" / dest).parent.mkdir(parents=True, exist_ok=True)
446 (ns.copy / dest).parent.mkdir(parents=True, exist_ok=True)
476 ns.catalog.parent.mkdir(parents=True, exist_ok=True)
/external/swiftshader/third_party/llvm-7.0/scripts/
Dupdate.py98 os.makedirs(LLVM_OBJS, exist_ok=True)
132 os.makedirs(os.path.dirname(dst), exist_ok=True)
170 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/oss-fuzz/infra/cifuzz/
Dcifuzz.py66 os.makedirs(git_workspace, exist_ok=True)
68 os.makedirs(out_dir, 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/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/mesa3d/docs/_exts/
Dredirects.py15 os.makedirs(os.path.dirname(path), exist_ok=True)
/external/python/cpython3/Lib/
Dpathlib.py1251 def touch(self, mode=0o666, exist_ok=True): argument
1257 if exist_ok:
1269 if not exist_ok:
1274 def mkdir(self, mode=0o777, parents=False, exist_ok=False): argument
1285 self.parent.mkdir(parents=True, exist_ok=True)
1286 self.mkdir(mode, parents=False, exist_ok=exist_ok)
1290 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/cpython3/PCbuild/
Dget_external.py16 zip_dir.mkdir(parents=True, exist_ok=True)
/external/python/cpython2/PCbuild/
Dget_external.py16 zip_dir.mkdir(parents=True, exist_ok=True)
/external/icu/icu4c/source/python/icutools/databuilder/renderers/
Dcommon_exec.py30 os.makedirs(dirs, exist_ok=True)
/external/google-fruit/extras/benchmark/
Dgenerate_benchmark.py149 os.makedirs(output_dir, exist_ok=True)
/external/python/cpython3/Doc/library/
Dpathlib.rst862 .. method:: Path.mkdir(mode=0o777, parents=False, exist_ok=False)
876 If *exist_ok* is false (the default), :exc:`FileExistsError` is
879 If *exist_ok* is true, :exc:`FileExistsError` exceptions will be
884 The *exist_ok* parameter was added.
1051 .. method:: Path.touch(mode=0o666, exist_ok=True)
1055 flags. If the file already exists, the function succeeds if *exist_ok*
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1758 p.touch(mode=0o700, exist_ok=False)
1760 self.assertRaises(OSError, p.touch, exist_ok=False)
1813 p.mkdir(exist_ok=True)
1830 p.mkdir(parents=True, exist_ok=True)
1836 self.cls('/').resolve().mkdir(exist_ok=True)
1837 self.cls('/').resolve().mkdir(parents=True, exist_ok=True)
1859 p.mkdir(parents=True, exist_ok=True)
1871 p.mkdir(exist_ok=True)
1896 p12.mkdir(parents=True, exist_ok=False)
/external/python/parse_type/tasks/_vendor/
Dpathlib.py1079 def touch(self, mode=0o666, exist_ok=True): argument
1083 if exist_ok:
1096 if not exist_ok:
/external/python/setuptools/setuptools/
Dsandbox.py73 pkg_resources.py31compat.makedirs(replacement, exist_ok=True)

12