/external/libyuv/files/ |
setup_links.py | 202 def __init__(self, source_path, link_path): 206 self._link_path = link_path 239 def symlink(source_path, link_path): 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...] |
/external/webrtc/ |
setup_links.py | 223 def __init__(self, source_path, link_path): 227 self._link_path = link_path 260 def symlink(source_path, link_path): 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/ |
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
|
/tools/test/connectivity/acts/framework/acts/ |
logger.py | 177 link_path = os.path.join(os.path.dirname(actual_path), "latest") 178 if os.path.islink(link_path): 179 os.remove(link_path) 180 os.symlink(actual_path, link_path)
|
/external/autotest/client/cros/ |
network_chroot.py | 228 link_path = os.readlink(src_path) 229 os.symlink(link_path, dst_path)
|
/system/core/init/ |
devices.cpp | 480 char link_path[256]; local 502 snprintf(link_path, sizeof(link_path), "/dev/block/%s/%s", type, device); 509 if (asprintf(&links[link_num], "%s/by-name/%s", link_path, p) > 0) 517 if (asprintf(&links[link_num], "%s/by-num/p%d", link_path, uevent->partition_num) > 0) 524 if (asprintf(&links[link_num], "%s/%s", link_path, slash + 1) > 0)
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
fake_filesystem_test.py | 731 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) [all...] |
fake_filesystem.py | 666 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) [all...] |
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/ |
fake_filesystem.py | 684 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) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_os.py | 409 link_path = join(sub2_path, "link") 422 os.symlink(os.path.abspath(t2_path), link_path) 468 if root == link_path: [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_os.py | 409 link_path = join(sub2_path, "link") 422 os.symlink(os.path.abspath(t2_path), link_path) 468 if root == link_path: [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_os.py | 409 link_path = join(sub2_path, "link") 422 os.symlink(os.path.abspath(t2_path), link_path) 468 if root == link_path: [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_os.py | 409 link_path = join(sub2_path, "link") 422 os.symlink(os.path.abspath(t2_path), link_path) 468 if root == link_path: [all...] |