/external/libyuv/files/ |
D | setup_links.py | 202 def __init__(self, source_path, link_path): argument 206 self._link_path = link_path 239 def symlink(source_path, link_path): argument 242 unicode(link_path), unicode(source_path), flag): 261 for source_path, link_path in FILES.iteritems(): 263 source_path, link_path, check_fn=os.path.isfile, check_msg='files') 333 for source, link_path in self._links_db.iteritems(): 336 if os.path.islink(link_path) or sys.platform.startswith('win'): 339 logging.debug('Removing link to %s at %s', source, link_path) 341 if os.path.exists(link_path): [all …]
|
D | cleanup_links.py | 42 for source, link_path in self._links_db.iteritems(): 45 if os.path.islink(link_path) or sys.platform.startswith('win'): 48 logging.debug('Removing link to %s at %s', source, link_path) 50 if os.path.exists(link_path): 51 if sys.platform.startswith('win') and os.path.isdir(link_path): 52 subprocess.check_call(['rmdir', '/q', '/s', link_path], 55 os.remove(link_path)
|
/external/webrtc/ |
D | setup_links.py | 223 def __init__(self, source_path, link_path): argument 227 self._link_path = link_path 260 def symlink(source_path, link_path): argument 263 unicode(link_path), unicode(source_path), flag): 282 for source_path, link_path in FILES.iteritems(): 284 source_path, link_path, check_fn=os.path.isfile, check_msg='files') 354 for source, link_path in self._links_db.iteritems(): 357 if os.path.islink(link_path) or sys.platform.startswith('win'): 360 logging.debug('Removing link to %s at %s', source, link_path) 362 if os.path.exists(link_path): [all …]
|
/external/autotest/client/site_tests/security_OpenFDs/ |
D | security_OpenFDs.py | 45 link_path = os.path.join(proc_fd_dir, link) 46 target = os.readlink(link_path) 50 link_st_mode = os.lstat(link_path).st_mode 54 real_st_mode = os.stat(link_path).st_mode
|
/external/autotest/client/cros/ |
D | network_chroot.py | 236 link_path = os.readlink(src_path) 237 os.symlink(link_path, dst_path) 252 link_path = self.chroot_path(src_path) 253 os.symlink(target_path, link_path)
|
/external/python/cpython3/Lib/venv/ |
D | __init__.py | 130 link_path = os.path.join(env_dir, 'lib64') 131 if not os.path.exists(link_path): # Issue #21643 132 os.symlink('lib', link_path)
|
/external/ImageMagick/MagickCore/ |
D | utility.c | 1005 link_path[MagickPathExtent]; in GetExecutionPath() local 1010 (void) FormatLocaleString(link_path,MagickPathExtent,"/proc/%.20g/exe", in GetExecutionPath() 1012 count=readlink(link_path,execution_path,PATH_MAX); in GetExecutionPath() 1015 (void) FormatLocaleString(link_path,MagickPathExtent,"/proc/%.20g/file", in GetExecutionPath() 1017 count=readlink(link_path,execution_path,PATH_MAX); in GetExecutionPath()
|
/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-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/swiftshader/third_party/LLVM/lib/Support/Unix/ |
D | Path.inc | 328 char link_path[MAXPATHLEN]; 329 if (realpath(exe_path, link_path)) 330 return Path(link_path); 352 char link_path[MAXPATHLEN]; 353 if (realpath(DLInfo.dli_fname, link_path)) 354 return Path(link_path);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/ |
D | Path.inc | 166 char link_path[MAXPATHLEN]; 167 if (realpath(exe_path, link_path)) 168 return link_path; 199 char link_path[MAXPATHLEN]; 200 if (realpath(DLInfo.dli_fname, link_path)) 201 return link_path;
|
/external/e2fsprogs/contrib/ |
D | fsstress.c | 288 int link_path(pathname_t *, pathname_t *); 965 int link_path(pathname_t * name1, pathname_t * name2) in link_path() function 981 rval = link_path(&newname1, &newname2); in link_path() 1001 rval = link_path(&newname1, &newname2); in link_path() 1009 rval = link_path(&newname1, &newname2); in link_path() 2167 e = link_path(&f, &l) < 0 ? errno : 0; in link_f()
|
/external/ltp/testcases/kernel/fs/fsstress/ |
D | fsstress.c | 261 int link_path(pathname_t *, pathname_t *); 938 int link_path(pathname_t * name1, pathname_t * name2) in link_path() function 954 rval = link_path(&newname1, &newname2); in link_path() 974 rval = link_path(&newname1, &newname2); in link_path() 982 rval = link_path(&newname1, &newname2); in link_path() 2142 e = link_path(&f, &l) < 0 ? errno : 0; in link_f()
|
/external/python/cpython2/Lib/test/ |
D | test_os.py | 411 link_path = join(sub2_path, "link") 424 os.symlink(os.path.abspath(t2_path), link_path) 470 if root == link_path:
|
/external/python/cpython3/Lib/test/ |
D | test_os.py | 900 self.link_path = join(sub2_path, "link") 918 os.symlink(os.path.abspath(t2_path), self.link_path) 1006 if root == self.link_path:
|