Searched refs:existing_path (Results 1 – 8 of 8) sorted by relevance
/external/python/pyfakefs/pyfakefs/tests/ |
D | test_utils.py | 307 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/ |
D | fs_try_exists.rs | 12 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/ |
D | clang_apply_replacements.py | 86 def existing_path(arg: str) -> Path: function 97 type=existing_path,
|
/external/chromium-crossbench/crossbench/cli/ |
D | btp.py | 58 type=PathParser.existing_path,
|
/external/chromium-crossbench/crossbench/ |
D | parse.py | 52 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/ |
D | browser.py | 159 path = PathParser.existing_path(maybe_path_or_identifier)
|
D | network.py | 157 parser.add_argument("path", type=PathParser.existing_path, required=False)
|
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | format_code.py | 892 def existing_path(arg: str) -> Path: function 905 type=existing_path,
|