Home
last modified time | relevance | path

Searched refs:existing_path (Results 1 – 8 of 8) sorted by relevance

/external/python/pyfakefs/pyfakefs/tests/
Dtest_utils.py307 existing_path = dir_path
309 while existing_path and not self.os.path.exists(existing_path):
310 existing_path, component = self.os.path.split(existing_path)
311 if not component and existing_path:
313 if not self.os.path.exists(existing_path):
314 self.filesystem.add_mount_point(existing_path)
318 existing_path = self.os.path.join(existing_path, component)
319 self.os.mkdir(existing_path)
320 self.os.chmod(existing_path, 0o777)
/external/rust/android-crates-io/crates/tokio/tests/
Dfs_try_exists.rs12 let existing_path = dir.path().join("foo.txt"); in try_exists() localVariable
13 fs::write(&existing_path, b"Hello File!").await.unwrap(); in try_exists()
16 assert!(fs::try_exists(existing_path).await.unwrap()); in try_exists()
/external/pigweed/pw_toolchain/py/pw_toolchain/
Dclang_apply_replacements.py86 def existing_path(arg: str) -> Path: function
97 type=existing_path,
/external/chromium-crossbench/crossbench/cli/
Dbtp.py58 type=PathParser.existing_path,
/external/chromium-crossbench/crossbench/
Dparse.py52 path = cls.existing_path(value, name)
78 path = cls.existing_path(value, name)
95 def existing_path(cls, member in PathParser
/external/chromium-crossbench/crossbench/cli/config/
Dbrowser.py159 path = PathParser.existing_path(maybe_path_or_identifier)
Dnetwork.py157 parser.add_argument("path", type=PathParser.existing_path, required=False)
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dformat_code.py892 def existing_path(arg: str) -> Path: function
905 type=existing_path,