/third_party/python/Lib/ |
H A D | pathlib.py | 28 _WINERROR_CANT_RESOLVE_FILENAME = 1921 # broken symlink pointing to itself 973 working directory. No normalization or symlink resolution is performed. 999 # In non-strict mode, realpath() doesn't raise on symlink loops. 1136 Like chmod(), except if the path points to a symlink, the symlink's 1160 Like stat(), except if the path points to a symlink, the symlink's 1193 Make this path a symlink pointing to the target path. 1194 Note the order of arguments (link, target) is the reverse of os.symlink. 1196 if not hasattr(os, "symlink") [all...] |
H A D | tarfile.py | 60 # os.symlink on Windows prior to 6.0 raises NotImplementedError 744 super().__init__(f'{tarinfo.name!r} is a symlink to an absolute path') 2530 # Avoid FileExistsError on following os.symlink. 2532 os.symlink(tarinfo.linkname, targetpath) 2728 """Find the target member of a symlink or hardlink member in the
|
/third_party/toybox/toys/posix/ |
H A D | tar.c | 235 // Hard link or symlink? i=0 neither, i=1 hardlink, i=2 symlink in add_to_tar() 258 // !i because hardlink to a symlink is a thing. in add_to_tar() 500 if (symlink(TT.hdr.link_target, TT.hdr.name)) in extract_to_disk()
|
/third_party/libfuse/lib/ |
H A D | fuse.c | 1641 if (fs->op.symlink) { in fuse_fs_symlink() 1643 fuse_log(FUSE_LOG_DEBUG, "symlink %s %s\n", linkname, path); in fuse_fs_symlink() 1645 return fs->op.symlink(linkname, path); in fuse_fs_symlink() 4448 .symlink = fuse_lib_symlink,
|
H A D | fuse_lowlevel.c | 1281 if (req->se->op.symlink) 1282 req->se->op.symlink(req, linkname, nodeid, name);
|
/third_party/node/src/ |
H A D | node_file.cc | 141 FS_TYPE_TO_NAME(SYMLINK, "symlink") in get_fs_func_name_by_type() 1272 if (req_wrap_async != nullptr) { // symlink(target, path, flags, req) in Symlink() 1279 AsyncDestCall(env, req_wrap_async, args, "symlink", *path, path.length(), in Symlink() 1281 } else { // symlink(target, path, flags, undefined, ctx) in Symlink() 1284 FS_SYNC_TRACE_BEGIN(symlink); in Symlink() 1285 SyncCall(env, args[4], &req_wrap_sync, "symlink", in Symlink() 1287 FS_SYNC_TRACE_END(symlink); in Symlink() 2712 SetMethod(context, target, "symlink", Symlink); in Initialize()
|
/third_party/tzdata/ |
H A D | zic.c | 163 symlink(char const *target, char const *linkname) in symlink() function 1396 /* Create symlink contents suitable for symlinking TARGET to LINKNAME, as a 1481 However, skip this if A is a relative symlink in dolink() 1483 On some platforms link(A, B) does not follow a symlink A, in dolink() 1520 if (symlink(contents, outname) == 0) { in dolink()
|
/third_party/vulkan-loader/tests/ |
H A D | loader_regression_tests.cpp | 3905 int res = symlink(driver_path.c_str(), symlink_path.c_str()); in TEST() 3924 int res = symlink(driver_path.c_str(), symlink_path.c_str()); in TEST() 3940 int res = symlink(invalid_driver_path.c_str(), symlink_path.c_str()); in TEST() 3957 int res = symlink(invalid_driver_path.c_str(), symlink_path.c_str()); in TEST()
|
/base/print/print_fwk/services/print_service/src/ |
H A D | print_cups_client.cpp | 263 int ret = symlink(srcFilePath.c_str(), destFilePath.c_str()); in SymlinkFile() 265 PRINT_HILOGD("symlink success, ret = %{public}d, errno = %{public}d", ret, errno); in SymlinkFile() 267 PRINT_HILOGE("symlink failed, ret = %{public}d, errno = %{public}d", ret, errno); in SymlinkFile() 295 PRINT_HILOGD("symlink lstat %{public}s err: %{public}s", destFilePath.c_str(), strerror(errno)); in SymlinkDirectory() 298 PRINT_HILOGW("symlink already exists, continue."); in SymlinkDirectory() 310 PRINT_HILOGE("symlink lstat %{public}s err: %{public}s", destFilePath.c_str(), strerror(errno)); in SymlinkDirectory()
|
/base/startup/appspawn/modules/sandbox/ |
H A D | appspawn_sandbox.c | 486 // Check the validity of the symlink configuration in DoSandboxPathSymLink() 488 APPSPAWN_LOGW("Invalid symlink config, section %{public}s", section->name); in DoSandboxPathSymLink() 495 APPSPAWN_LOGV("symlink from %{public}s to %{public}s", target, linkName); in DoSandboxPathSymLink() 501 int ret = symlink(target, linkName); in DoSandboxPathSymLink() 504 APPSPAWN_LOGE("symlink failed, errno: %{public}d link info %{public}s %{public}s", in DoSandboxPathSymLink() 508 APPSPAWN_LOGV("symlink failed, errno: %{public}d link info %{public}s %{public}s", in DoSandboxPathSymLink() 714 // if sandbox switch is off, don't do symlink work again in MountSandboxConfig()
|
H A D | sandbox_utils.cpp | 863 APPSPAWN_CHECK(appConfig.find(g_symlinkPrefix) != appConfig.end(), return 0, "symlink config is not found," in DoAllSymlinkPointslink() 873 // Check the validity of the symlink configuration in DoAllSymlinkPointslink() 876 APPSPAWN_LOGE("read symlink config failed, app name is %{public}s", GetBundleName(appProperty)); in DoAllSymlinkPointslink() 882 APPSPAWN_LOGV("symlink, from %{public}s to %{public}s", targetName.c_str(), linkName.c_str()); in DoAllSymlinkPointslink() 884 int ret = symlink(targetName.c_str(), linkName.c_str()); in DoAllSymlinkPointslink() 886 APPSPAWN_LOGE("errno is %{public}d, symlink failed, %{public}s", errno, linkName.c_str()); in DoAllSymlinkPointslink() 1165 // if sandbox switch is off, don't do symlink work again in SetCommonAppSandboxProperty_()
|
/third_party/eudev/src/udev/ |
H A D | udev-rules.c | 2704 r = symlink(device_node, tag_symlink); in udev_rules_apply_static_dev_perms() 2706 return log_error_errno(errno, "failed to create symlink %s -> %s: %m", in udev_rules_apply_static_dev_perms()
|
/third_party/libuv/src/unix/ |
H A D | fs.c | 1617 X(SYMLINK, symlink(req->path, req->new_path)); in uv__fs_work()
|
/third_party/libfuse/test/ |
H A D | test_syscalls.c | 1328 start_test("symlink"); in test_symlink() 1334 res = symlink(testfile, testfile2); in test_symlink() 1336 PERROR("symlink"); in test_symlink()
|
/third_party/node/deps/uv/src/unix/ |
H A D | fs.c | 1747 X(SYMLINK, symlink(req->path, req->new_path)); in uv__fs_work()
|
/third_party/rust/crates/libc/src/vxworks/ |
H A D | mod.rs | 1686 pub fn symlink(path1: *const ::c_char, path2: *const ::c_char) -> ::c_int; in symlink() functions
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 1043 pub fn symlink(path1: *const c_char, path2: *const c_char) -> ::c_int; in symlink() functions
|
/third_party/python/Lib/test/test_import/ |
H A D | __init__.py | 1034 # now create a symlink to the tagged package 1036 os.symlink(self.tagged, self.package_name, target_is_directory=True)
|
/third_party/python/Lib/test/ |
H A D | test_tarfile.py | 1369 path = os.path.join(TEMPDIR, "symlink") 1370 os.symlink("link_target", path) 1476 target_file = os.path.join(tempdir,'symlink') 1479 os.symlink(source_file, target_file) 1482 tar.add(target_file, arcname="symlink") 1483 # Let's extract it to the location which contains the symlink 2812 @unittest.skipIf(hasattr(os, "symlink"), 2813 "Skip emulation if symlink exists") 2817 @unittest.skipIf(hasattr(os, "symlink"), 2818 "Skip emulation if symlink exist [all...] |
/third_party/ltp/testcases/kernel/fs/fsstress/ |
H A D | fsstress.c | 191 {OP_SYMLINK, "symlink", symlink_f, 2, 1, 0}, 1315 rval = symlink(name1, name->path); in symlink_path() 2481 printf("%d/%d: symlink - no filename from %s\n", in symlink_f() 2500 printf("%d/%d: symlink %s %d\n", procid, opno, f.path, e); in symlink_f()
|
/third_party/node/ |
H A D | vcbuild.bat | 406 :: Use /J because /D (symlink) requires special permissions.
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-util.c | 1742 if (symlink(p, k) < 0) { in make_random_dir_and_link() 1746 pa_log_error("Failed to symlink %s to %s: %s", k, p, pa_cstrerror(errno)); in make_random_dir_and_link() 1834 /* OK, first let's check if the "runtime" symlink already exists */ in pa_get_runtime_dir() 1846 * create one in /tmp and symlink that to it */ in pa_get_runtime_dir() 1858 /* No symlink possible, so let's just create the runtime directly in pa_get_runtime_dir() 1859 * Do not check again if it exists since it cannot be a symlink */ in pa_get_runtime_dir() 1874 /* Hmm, so this symlink is still around, make sure nobody fools us */ in pa_get_runtime_dir() 1913 pa_log_error("Failed to symlink %s: %s", t, pa_cstrerror(errno)); in pa_get_runtime_dir() 1926 /* OK, we succeeded in creating the temporary symlink, so in pa_get_runtime_dir()
|
/third_party/libuv/src/win/ |
H A D | fs.c | 173 /* Real symlink */ in fs__readlink_handle() 222 /* Only treat junctions that look like \??\<drive>:\ as symlink. Junctions in fs__readlink_handle() 277 /* Reparse tag does not indicate a symlink. */ in fs__readlink_handle() 1101 /* Do not allow deletion of directories, unless it is a symlink. When the in fs__unlink() 1102 * path refers to a non-symlink directory, report EPERM as mandated by in fs__unlink() 1112 /* Read the reparse point and check if it is a valid symlink. If not, don't in fs__unlink() 1724 * If reading the link fails, the reparse point is not a symlink and needs in fs__stat_handle() 1853 /* We opened a reparse point but it was not a symlink. Try again. */ in fs__stat_impl() 2308 /* Opened file is a reparse point but not a symlink. Try again. */ in fs__utime_impl() 2816 XX(SYMLINK, symlink) in uv__fs_work() [all...] |
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g.c | 707 * Define attributes for a junction or symlink 723 * we still display as a symlink in junction_getattr() 773 * we display as a symlink in wsl_getattr() 873 * we still display as a symlink in ntfs_fuse_getattr() 1007 * symlink target as multibyte string */ in ntfs_fuse_getattr() 1092 * Get the link defined by a junction or symlink 3961 .symlink = ntfs_fuse_symlink,
|
/third_party/node/deps/uv/src/win/ |
H A D | fs.c | 331 /* Real symlink */ in fs__readlink_handle() 380 /* Only treat junctions that look like \??\<drive>:\ as symlink. Junctions in fs__readlink_handle() 435 /* Reparse tag does not indicate a symlink. */ in fs__readlink_handle() 1167 /* Do not allow deletion of directories, unless it is a symlink. When the in fs__unlink() 1168 * path refers to a non-symlink directory, report EPERM as mandated by in fs__unlink() 1178 /* Read the reparse point and check if it is a valid symlink. If not, don't in fs__unlink() 1775 * If reading the link fails, the reparse point is not a symlink and needs in fs__stat_handle() 1903 /* We opened a reparse point but it was not a symlink. Try again. */ in fs__stat_impl() 2327 /* Opened file is a reparse point but not a symlink. Try again. */ in fs__utime_impl() 2829 XX(SYMLINK, symlink) in uv__fs_work() [all...] |