Home
last modified time | relevance | path

Searched refs:linkpath (Results 1 – 16 of 16) sorted by relevance

/external/strace/tests/
Dinode_of_sockfd.c44 char linkpath[sizeof("/proc/self/fd/%u") + sizeof(int) * 3]; in inode_of_sockfd() local
45 assert(snprintf(linkpath, sizeof(linkpath), "/proc/self/fd/%u", fd) in inode_of_sockfd()
46 < (int) sizeof(linkpath)); in inode_of_sockfd()
49 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); in inode_of_sockfd()
51 perror_msg_and_fail("readlink: %s", linkpath); in inode_of_sockfd()
/external/strace/tests-m32/
Dinode_of_sockfd.c44 char linkpath[sizeof("/proc/self/fd/%u") + sizeof(int) * 3]; in inode_of_sockfd() local
45 assert(snprintf(linkpath, sizeof(linkpath), "/proc/self/fd/%u", fd) in inode_of_sockfd()
46 < (int) sizeof(linkpath)); in inode_of_sockfd()
49 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); in inode_of_sockfd()
51 perror_msg_and_fail("readlink: %s", linkpath); in inode_of_sockfd()
/external/strace/tests-mx32/
Dinode_of_sockfd.c44 char linkpath[sizeof("/proc/self/fd/%u") + sizeof(int) * 3]; in inode_of_sockfd() local
45 assert(snprintf(linkpath, sizeof(linkpath), "/proc/self/fd/%u", fd) in inode_of_sockfd()
46 < (int) sizeof(linkpath)); in inode_of_sockfd()
49 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); in inode_of_sockfd()
51 perror_msg_and_fail("readlink: %s", linkpath); in inode_of_sockfd()
/external/libcups/scheduler/
Dutil.c167 linkpath[1024]; /* Link path for symlinks... */ in cupsdExec() local
177 if ((linkbytes = readlink(command, linkpath, sizeof(linkpath) - 1)) > 0) in cupsdExec()
184 linkpath[linkbytes] = '\0'; in cupsdExec()
186 if (linkpath[0] == '/') in cupsdExec()
188 linkpath); in cupsdExec()
191 dirname((char *)command), linkpath); in cupsdExec()
Dprocess.c491 linkpath[1024]; /* Link path for symlinks... */ in cupsdStartProcess() local
525 if ((linkbytes = readlink(command, linkpath, sizeof(linkpath) - 1)) > 0) in cupsdStartProcess()
532 linkpath[linkbytes] = '\0'; in cupsdStartProcess()
534 if (linkpath[0] == '/') in cupsdStartProcess()
536 linkpath); in cupsdStartProcess()
539 dirname((char *)command), linkpath); in cupsdStartProcess()
Dcupsfilter.c814 linkpath[1024]; /* Link path for symlinks... */ in exec_filter() local
823 if ((linkbytes = readlink(filter, linkpath, sizeof(linkpath) - 1)) > 0) in exec_filter()
830 linkpath[linkbytes] = '\0'; in exec_filter()
832 if (linkpath[0] == '/') in exec_filter()
834 linkpath); in exec_filter()
837 dirname((char *)filter), linkpath); in exec_filter()
/external/python/setuptools/setuptools/
Darchive_util.py132 linkpath = tar_member_obj.linkname
135 linkpath = posixpath.join(base, linkpath)
136 linkpath = posixpath.normpath(linkpath)
137 tar_member_obj = tar_obj._getmember(linkpath)
/external/strace/
Dpathtrace.c103 char linkpath[sizeof("/proc/%u/fd/%u") + 2 * sizeof(int)*3]; in getfdpath() local
109 xsprintf(linkpath, "/proc/%u/fd/%u", tcp->pid, fd); in getfdpath()
110 n = readlink(linkpath, buf, bufsize - 1); in getfdpath()
DChangeLog18390 * tests/symlink.c (main): Use av[0] as a linkpath.
/external/rust/crates/nix/test/
Dtest_unistd.rs875 let linkpath = tempdir.path().join("b"); in test_symlinkat() localVariable
876 symlinkat(&target, None, &linkpath).unwrap(); in test_symlinkat()
878 readlink(&linkpath).unwrap().to_str().unwrap(), in test_symlinkat()
884 let linkpath = "d"; in test_symlinkat() localVariable
885 symlinkat(target, Some(dirfd), linkpath).unwrap(); in test_symlinkat()
887 readlink(&tempdir.path().join(linkpath)) in test_symlinkat()
/external/liburing/src/include/
Dliburing.h774 const char *linkpath) in io_uring_prep_symlinkat() argument
777 (uint64_t) (uintptr_t) linkpath); in io_uring_prep_symlinkat()
781 const char *target, const char *linkpath) in io_uring_prep_symlink() argument
783 io_uring_prep_symlinkat(sqe, target, AT_FDCWD, linkpath); in io_uring_prep_symlink()
/external/python/cpython3/Lib/
Dtarfile.py784 def linkpath(self): member in TarInfo
788 @linkpath.setter
789 def linkpath(self, linkname): member in TarInfo
/external/rust/crates/libc/src/
Dwasi.rs641 linkpath: *const ::c_char, in symlinkat()
/external/rust/crates/libc/src/unix/
Dmod.rs852 linkpath: *const ::c_char, in symlinkat()
/external/python/cpython2/Lib/
Dtarfile.py967 linkpath = property(_getlinkpath, _setlinkpath) variable in TarInfo
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3578 linkpath: *const ::c_char, in symlinkat()