Home
last modified time | relevance | path

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

/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/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/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.py152 linkpath = member.linkname
155 linkpath = posixpath.join(base, linkpath)
156 linkpath = posixpath.normpath(linkpath)
157 member = tarobj._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.rs763 let linkpath = tempdir.path().join("b"); in test_symlinkat() localVariable
764 symlinkat(&target, None, &linkpath).unwrap(); in test_symlinkat()
766 readlink(&linkpath).unwrap().to_str().unwrap(), in test_symlinkat()
772 let linkpath = "d"; in test_symlinkat() localVariable
773 symlinkat(target, Some(dirfd), linkpath).unwrap(); in test_symlinkat()
775 readlink(&tempdir.path().join(linkpath)) in test_symlinkat()
/external/python/cpython3/Lib/
Dtarfile.py783 def linkpath(self): member in TarInfo
787 @linkpath.setter
788 def linkpath(self, linkname): member in TarInfo
/external/rust/crates/libc/src/
Dwasi.rs527 linkpath: *const ::c_char, in symlinkat()
/external/openssh/
DPROTOCOL357 string linkpath
/external/rust/crates/libc/src/unix/
Dmod.rs811 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.rs3558 linkpath: *const ::c_char, in symlinkat()