Home
last modified time | relevance | path

Searched refs:link_path (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/
Dsetup_links.py223 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/
Dsecurity_OpenFDs.py45 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/
Dnetwork_chroot.py228 link_path = os.readlink(src_path)
229 os.symlink(link_path, dst_path)
/external/llvm/lib/Support/Unix/
DPath.inc135 char link_path[MAXPATHLEN];
136 if (realpath(exe_path, link_path))
137 return link_path;
168 char link_path[MAXPATHLEN];
169 if (realpath(DLInfo.dli_fname, link_path))
170 return link_path;
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem.py666 link_path = link.contents
670 if not link_path.startswith(self.path_separator):
676 components.append(link_path)
677 link_path = self.path_separator.join(components)
679 return self.CollapsePath(link_path)
721 link_path = _FollowLink(resolved_components, current_dir)
725 target_components = self.GetPathComponents(link_path)
Dfake_filesystem_test.py731 link_path = '%s/link' % directory
733 self.filesystem.CreateLink(link_path, base_name)
735 self.assertEqual(len(base_name), self.os.lstat(link_path)[stat.ST_SIZE])
751 link_path = 'foo/bar/baz'
753 self.filesystem.CreateLink(link_path, target)
754 self.assertEqual(self.os.readlink(link_path), target)
2369 link_path = '/foo/bar/baz'
2373 self.filesystem.CreateLink(link_path, target)
2374 self.assertEqual(target, self.os.readlink(link_path))
2375 fh = self.open(link_path, 'r')
[all …]
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
Dfake_filesystem.py684 link_path = link.contents
688 if not link_path.startswith(self.path_separator):
694 components.append(link_path)
695 link_path = self.path_separator.join(components)
697 return self.CollapsePath(link_path)
739 link_path = _FollowLink(resolved_components, current_dir)
743 target_components = self.GetPathComponents(link_path)