/external/libyuv/files/ |
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)
|
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...] |
/bionic/tests/ |
dlfcn_symlink_support.cpp | 70 std::string link_path = path_dir + "/" + symlink_name_prefix + suffix + ".so"; local 72 ASSERT_TRUE(symlink(source_file_path.c_str(), link_path.c_str()) == 0) << strerror(errno); 73 *result = link_path;
|
/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
|
/test/vts/runners/host/ |
logger.py | 190 link_path = os.path.join(os.path.dirname(actual_path), "latest") 191 if os.path.islink(link_path): 192 os.remove(link_path) 193 os.symlink(actual_path, link_path)
|
/tools/test/connectivity/acts/framework/acts/ |
logger.py | 199 link_path = os.path.join(os.path.dirname(actual_path), "latest") 200 if os.path.islink(link_path): 201 os.remove(link_path) 202 os.symlink(actual_path, link_path)
|
/system/core/init/ |
devices.cpp | 327 auto link_path = "/dev/block/" + type + "/" + device; local 336 links.emplace_back(link_path + "/by-name/" + partition_name_sanitized); 340 links.emplace_back(link_path + "/by-num/p" + std::to_string(uevent.partition_num)); 344 links.emplace_back(link_path + "/" + uevent.path.substr(last_slash + 1)); 366 std::string link_path; local 367 if (Readlink(link, &link_path) && link_path == devpath) {
|
/external/autotest/client/cros/ |
network_chroot.py | 228 link_path = os.readlink(src_path) 229 os.symlink(link_path, dst_path)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_os.py | 390 link_path = join(sub2_path, "link")
403 os.symlink(os.path.abspath(t2_path), link_path)
449 if root == link_path:
|
/external/python/cpython2/Lib/test/ |
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: [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...] |
/external/e2fsprogs/contrib/ |
fsstress.c | 288 int link_path(pathname_t *, pathname_t *); 965 int link_path(pathname_t * name1, pathname_t * name2) function 981 rval = link_path(&newname1, &newname2); 1001 rval = link_path(&newname1, &newname2); 1009 rval = link_path(&newname1, &newname2); [all...] |
/external/ltp/testcases/kernel/fs/fsstress/ |
fsstress.c | 261 int link_path(pathname_t *, pathname_t *); 938 int link_path(pathname_t * name1, pathname_t * name2) function 954 rval = link_path(&newname1, &newname2); 974 rval = link_path(&newname1, &newname2); 982 rval = link_path(&newname1, &newname2); [all...] |