Home
last modified time | relevance | path

Searched full:readlink (Results 1 – 25 of 206) sorted by relevance

123456789

/freebsd/lib/libsys/
H A Dreadlink.232 .Nm readlink ,
40 .Fn readlink "const char *restrict path" "char *restrict buf" "size_t bufsiz"
47 .Fn readlink
56 .Fn readlink
65 .Fn readlink
81 .Fn readlink .
89 .Fn readlink
118 .Fn readlink ,
152 .Fn readlink
/freebsd/tests/sys/fs/fusefs/
H A Dreadlink.cc42 class Readlink: public FuseTest { class
61 class PushSymlinksIn: public Readlink {
64 Readlink::SetUp(); in SetUp()
68 TEST_F(Readlink, eloop) in TEST_F() argument
78 EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
87 TEST_F(Readlink, embedded_nul) in TEST_F() argument
115 EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
121 TEST_F(Readlink, ok) in TEST_F() argument
136 readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
140 TEST_F(PushSymlinksIn, readlink) in TEST_F() argument
[all …]
/freebsd/usr.bin/stat/tests/
H A Dreadlink_test.sh30 atf_set "descr" "Verify that calling readlink without any flags " \
36 atf_check -o inline:'foo\n' readlink bar
42 atf_set "descr" "Verify that calling readlink with -f will not emit " \
50 -s exit:1 readlink A.file A.link
52 -s exit:1 readlink -f A.file A.link
63 atf_check -o 'inline:nonexistent.A\nnonexistent.B\n' readlink A B
64 atf_check -o 'inline:nonexistent.Anonexistent.B' readlink -n A B
/freebsd/contrib/netbsd-tests/bin/cp/
H A Dt_cp.sh144 if [ `readlink link` != `readlink file` ]; then
145 atf_fail "readlink link != readlink file"
185 atf_check -s eq:1 -o empty -e empty readlink dirlink
201 if [ `readlink file` != `readlink dirlink` ]; then
202 atf_fail "readlink link != readlink file"
213 readlink dir2/link >/dev/null
228 readlink dir2/dirlink/link >/dev/null
249 atf_check -s eq:1 -o ignore -e empty readlink dir2/dirlink/dirlink/link
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh.out9 readlink entry
14 readlink entry
18 readlink entry
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dbuild_symbolizer.sh23 SRC_DIR=$(readlink -f $SCRIPT_DIR/..)
30 OUTPUT=$(readlink -f $1)
31 COMPILER_RT_SRC=$(readlink -f ${SCRIPT_DIR}/../../../..)
33 LLVM_SRC=$(readlink -f $LLVM_SRC)
36 CLANG_DIR=$(readlink -f $(dirname "$CLANG"))
78 ZLIB_SRC=$(readlink -f $ZLIB_SRC)
/freebsd/usr.bin/stat/
H A Dstat.135 .Nm readlink
43 .Nm readlink
59 .Nm readlink ,
64 .Nm readlink
70 .Nm readlink
157 .Nm readlink ,
474 .Ex -std stat readlink
586 .Xr readlink 2 ,
H A DMakefile5 LINKS= ${BINDIR}/stat ${BINDIR}/readlink
6 MLINKS= stat.1 readlink.1
/freebsd/tests/sys/audit/
H A Dfile-read.c42 "readlink(2) call"); in ATF_TC_HEAD()
50 ATF_REQUIRE(readlink(path, buff, sizeof(buff)-1) != -1); in ATF_TC_BODY()
64 "readlink(2) call"); in ATF_TC_HEAD()
72 ATF_REQUIRE_EQ(-1, readlink(path, buff, sizeof(buff)-1)); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_solaris.cpp71 // Avoid unnecessary readlink on unnamed entires. in Next()
80 // If readlink failed, the map is anonymous. in Next()
84 // readlink doesn't NUL-terminate. in Next()
/freebsd/tools/test/stress2/misc/
H A Dsymlink2.sh98 if ((n = readlink(path, buf, sizeof(buf) -1)) < 0) {
101 if ((n = readlink(path, buf, sizeof(buf) -1)) > 0) {
107 err(1, "readlink(%s). %s:%d", path, __FILE__, __LINE__);
/freebsd/usr.bin/xinstall/tests/
H A Dinstall_test.sh305 copyf_path=$(readlink copyf)
318 copyf_path=$(readlink copyf)
339 dest_path_relative=$(readlink $dest_path)
360 dest_path_relative=$(readlink $dest_path)
381 dest_path_relative=$(readlink $dest_path)
415 dest_path_relative=$(readlink $dest_file)
/freebsd/contrib/netbsd-tests/lib/libc/ssp/
H A Dh_readlink.c56 (void)readlink("symlink", b, len); in main()
61 (void)readlink("/", b, len); in main()
H A Dt_ssp.sh403 atf_test_case readlink
406 atf_set "descr" "Checks readlink(2)"
463 atf_add_test_case readlink
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/user_namespace/
H A Duser_namespace_001.ksh59 TOUCH=$(readlink -f $(command -v touch))
60 CHMOD=$(readlink -f $(command -v chmod))
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { in Readlink() function in FileSystem
46 ssize_t count = ::readlink(src.GetPath().c_str(), buf, sizeof(buf) - 1); in Readlink()
/freebsd/contrib/dialog/package/debian/
H A Drules107 dh_link -p${DEV_PACKAGE} $(LIBDIR)/`readlink $$P` $(LIBDIR)/$$P ; \
111 dh_link -p${ACTUAL_PROG} $(LIBDIR)/`readlink $$P` $(LIBDIR)/$$P ; \
/freebsd/usr.bin/cmp/
H A Dlink.c51 if ((len1 = readlink(file1, buf1, sizeof(buf1) - 1)) < 0) { in c_link()
58 if ((len2 = readlink(file2, buf2, sizeof(buf2) - 1)) < 0) { in c_link()
/freebsd/sys/contrib/openzfs/contrib/dracut/02zfsexpandknowledge/
H A Dmodule-setup.sh.in26 resolved="$(readlink -f "$pooldev")"
92 mp=$(readlink -f "$mp")
/freebsd/tools/test/stress2/lib/
H A Doptions.c254 if ((n = readlink(path, buf, sizeof(buf) -1)) < 0) { in getval()
257 if ((n = readlink(path, buf, sizeof(buf) -1)) > 0) in getval()
261 err(1, "readlink(%s). %s:%d", path, __FILE__, in getval()
/freebsd/crypto/libecc/scripts/
H A Dcrossrun.sh51 SRC_DIR=`dirname "$(readlink -f "$0")"`/..
124 echo $ALL_CHECKS | xargs -n 4 -P $NCPU sh `readlink -f "$0"`
/freebsd/usr.sbin/etcupdate/
H A Detcupdate.sh365 first=`readlink $1`
366 second=`readlink $2`
524 first=`readlink $1/$file`
525 second=`readlink $2/$file`
1162 old=`readlink $OLDTREE/$file`
1163 new=`readlink $NEWTREE/$file`
1202 new=`readlink $NEWTREE/$file`
1203 dest=`readlink $DESTDIR/$file`
1234 old=`readlink $OLDTREE/$file`
1235 new=`readlink
[all...]
/freebsd/bin/ln/
H A Dln.1183 .Xr readlink 2
301 .Xr readlink 2 ,
/freebsd/bin/ln/tests/
H A Dln_test.sh36 atf_check -o inline:"$1\n" readlink "$2"
120 atf_check -o inline:'B\n' readlink C
/freebsd/contrib/wpa/src/drivers/
H A Dlinux_ioctl.c213 res = readlink(path, brlink, sizeof(brlink)); in linux_br_get()
234 res = readlink(buf, masterlink, sizeof(masterlink)); in linux_master_get()

123456789