/external/libyuv/ |
D | cleanup_links.py | 43 for source, link_path in self._links_db.tems(): 46 if os.path.islink(link_path) or sys.platform.startswith('win'): 49 logging.debug('Removing link to %s at %s', source, link_path) 51 if os.path.exists(link_path): 52 if sys.platform.startswith('win') and os.path.isdir(link_path): 53 subprocess.check_call(['rmdir', '/q', '/s', link_path], 56 os.remove(link_path)
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_os_test.py | 356 link_path = self.os.path.join(directory, "link") 358 self.create_symlink(link_path, base_name) 365 self.os.stat(link_path, follow_symlinks=False)[stat.ST_SIZE], 378 link_path = self.os.path.join(directory, "link") 380 self.create_symlink(link_path, base_name) 386 0, self.os.stat(link_path, follow_symlinks=False)[stat.ST_SIZE] 397 link_path = self.os.path.join(directory, "link") 399 self.create_symlink(link_path, base_name) 401 self.assertEqual(len(base_name), self.os.lstat(link_path)[stat.ST_SIZE]) 412 link_path = self.os.path.join(directory, "link") [all …]
|
D | fake_open_test.py | 480 link_path = self.make_path("foo", "bar", "baz") 484 self.create_symlink(link_path, target) 485 self.assert_equal_paths(target, self.os.readlink(link_path)) 486 fh = self.open(link_path, "r", encoding="utf8") 493 link_path = self.make_path("foo", "bar", "TBD") 496 self.create_symlink(link_path, target) 499 with self.open(link_path, "w", encoding="utf8") as fh: 508 link_path = self.os.path.join( 518 self.assertFalse(self.os.path.exists(link_path)) 522 with self.open(link_path, "w", encoding="utf8") as fh: [all …]
|
D | fake_pathlib_test.py | 920 link_path = self.path(self.make_path("link_to_bar")) 922 link_path.hardlink_to(path) 923 self.assertTrue(self.os.path.exists(link_path)) 930 link_path = self.make_path("foo", "bar", "baz") 932 self.create_symlink(link_path, target) 933 path = self.path(link_path) 1244 link_path = self.make_path("foo", "bar", "baz") 1246 self.create_symlink(link_path, target) 1247 self.assert_equal_paths(self.os.readlink(self.path(link_path)), target) 1256 link_path = self.make_path(b"foo", b"bar", b"baz") [all …]
|
D | test_utils.py | 351 def create_symlink(self, link_path, target_path): argument 355 self.create_dir(self.os.path.dirname(link_path)) 356 self.os.symlink(target_path, link_path)
|
D | fake_filesystem_test.py | 778 link_path = dir_path + "/link" 779 link_target = link_path + "/link" 780 self.os.symlink(link_target, link_path) 782 self.os.path.getsize(link_path) 2044 link_path = self.make_path("nonexistent", "test_file2") 2048 self.filesystem.create_link(file1_path, link_path) 2050 self.assertTrue(self.filesystem.exists(link_path)) 2055 link_path = self.make_path("nonexistent", "test_file2") 2058 self.filesystem.create_symlink(link_path, file1_path) 2059 self.assertTrue(self.filesystem.exists(link_path)) [all …]
|
/external/autotest/client/cros/ |
D | network_chroot.py | 254 link_path = os.readlink(src_path) 255 os.symlink(link_path, dst_path) 270 link_path = self.chroot_path(src_path) 271 os.symlink(target_path, link_path)
|
/external/bazelbuild-rules_python/third_party/rules_pycross/pycross/private/tools/ |
D | wheel_installer.py | 83 link_path = link_dir / wheel_name 84 os.symlink(os.path.join(os.getcwd(), args.wheel), link_path) 87 with WheelFile.open(link_path) as source:
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_filesystem.py | 1639 link_path = self._follow_link(resolved_components, directory) 1643 target_components = self._path_components(link_path) 1685 link_path = link.contents 1686 if link_path is not None: 1688 if self.is_windows_fs and link_path.startswith("\\\\?\\"): 1689 link_path = link_path[4:] 1690 sep = self.get_path_separator(link_path) 1694 if not self._starts_with_root_path(link_path): 1701 components.append(link_path) 1702 link_path = sep.join(components) [all …]
|
/external/rust/crabbyavif/sys/dav1d-sys/ |
D | build.rs | 70 for link_path in &library.link_paths { in main() 71 println!("cargo:rustc-link-search={}", link_path.display()); in main()
|
/external/rust/crabbyavif/sys/aom-sys/ |
D | build.rs | 69 for link_path in &library.link_paths { in main() 70 println!("cargo:rustc-link-search={}", link_path.display()); in main()
|
/external/rust/crabbyavif/sys/libyuv-sys/ |
D | build.rs | 67 for link_path in &library.link_paths { in main() 68 println!("cargo:rustc-link-search={}", link_path.display()); in main()
|
/external/autotest/client/ |
D | setup_modules.py | 155 link_path = os.path.join(autotest_lib_dir, 'client') 165 if os.path.islink(link_path): 175 if os.path.islink(link_path):
|
/external/cronet/stable/build/toolchain/apple/ |
D | swiftc.py | 484 link_path = os.path.join(xcode_links, link_name) 485 if os.path.islink(link_path): 486 xcode_paths[os.path.realpath(link_path) + os.sep] = link_path + os.sep
|
/external/angle/build/toolchain/apple/ |
D | swiftc.py | 484 link_path = os.path.join(xcode_links, link_name) 485 if os.path.islink(link_path): 486 xcode_paths[os.path.realpath(link_path) + os.sep] = link_path + os.sep
|
/external/cronet/tot/build/toolchain/apple/ |
D | swiftc.py | 484 link_path = os.path.join(xcode_links, link_name) 485 if os.path.islink(link_path): 486 xcode_paths[os.path.realpath(link_path) + os.sep] = link_path + os.sep
|
/external/llvm/lib/Support/Unix/ |
D | Path.inc | 158 char link_path[MAXPATHLEN]; 159 if (realpath(exe_path, link_path)) 160 return link_path; 191 char link_path[MAXPATHLEN]; 192 if (realpath(DLInfo.dli_fname, link_path)) 193 return link_path;
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/Unix/ |
D | Path.inc | 201 char link_path[PATH_MAX]; 202 if (realpath(exe_path, link_path)) 203 return link_path; 213 char link_path[PATH_MAX]; 214 if (realpath(exe_path, link_path)) 215 return link_path; 227 char link_path[PATH_MAX]; 228 if (realpath((char *)aux->a_un.a_ptr, link_path)) 229 return link_path; 329 char link_path[PATH_MAX]; [all …]
|
/external/python/cpython3/Lib/venv/ |
D | __init__.py | 188 link_path = os.path.join(env_dir, 'lib64') 189 if not os.path.exists(link_path): # Issue #21643 190 os.symlink('lib', link_path)
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Path.inc | 159 char link_path[MAXPATHLEN]; 160 if (realpath(exe_path, link_path)) 161 return link_path; 192 char link_path[MAXPATHLEN]; 193 if (realpath(DLInfo.dli_fname, link_path)) 194 return link_path;
|
/external/rust/cxx/gen/build/src/ |
D | lib.rs | 416 let ref link_path = include_dir.join(rel_path); in generate_bridge() 417 let _ = out::relative_symlink_file(header_path, link_path); in generate_bridge()
|
/external/cronet/stable/build/android/gradle/ |
D | generate_gradle.py | 459 def _CreateRelativeSymlink(target_path, link_path): argument 460 link_dir = os.path.dirname(link_path) 462 logging.debug('Creating symlink %s -> %s', link_path, relpath) 463 os.symlink(relpath, link_path)
|
/external/cronet/tot/build/android/gradle/ |
D | generate_gradle.py | 459 def _CreateRelativeSymlink(target_path, link_path): argument 460 link_dir = os.path.dirname(link_path) 462 logging.debug('Creating symlink %s -> %s', link_path, relpath) 463 os.symlink(relpath, link_path)
|
/external/angle/build/android/gradle/ |
D | generate_gradle.py | 460 def _CreateRelativeSymlink(target_path, link_path): argument 461 link_dir = os.path.dirname(link_path) 463 logging.debug('Creating symlink %s -> %s', link_path, relpath) 466 os.symlink(relpath, link_path)
|
/external/libusb/libusb/os/ |
D | sunos_usb.c | 113 const char *node_path, const char *match, char **link_path) in sunos_physpath_to_devlink() argument 118 *link_path = NULL; in sunos_physpath_to_devlink() 119 link_arg.linkpp = link_path; in sunos_physpath_to_devlink() 133 if (*link_path == NULL) { in sunos_physpath_to_devlink()
|