/external/toybox/tests/ |
D | readlink.test | 9 testing "missing" "readlink notfound || echo yes" "yes\n" "" "" 14 testing "file" "readlink file || echo yes" "yes\n" "" "" 15 testing "-f dir" "readlink -f ." "$APWD\n" "" "" 16 testing "-f missing" "readlink -f notfound" "$APWD/notfound\n" "" "" 19 testing "link" "readlink link" "notfound\n" "" "" 20 testing "links" "readlink link link" "notfound\nnotfound\n" "" "" 21 testing "link->missing" "readlink -f link" "$APWD/notfound\n" "" "" 23 testing "stays relative" "readlink link" "../../\n" "" "" 26 testing "-f link->file" "readlink -f link" "$APWD/file\n" "" "" 28 testing "-f link->dir" "readlink -f link" "$APWD\n" "" "" [all …]
|
D | ln.test | 15 readlink slink" "file\n" "" "" 24 [ -L slink ] && readlink slink" "file\n" "" "" 41 readlink slink && readlink slink/file" "dir\nfile\n" "" "" 45 ln -n -s file slink 2>/dev/null || [ -L slink ] && readlink slink" \ 50 ln -Tsf file slink || [ -L slink ] && readlink slink" "file\n" "" "" 56 testing "-t" "ln -st . one/two three && readlink two three" "one/two\nthree\n" \ 67 [ -L dir/file1 -a -L dir/file2 ] && readlink dir/file1 && 68 readlink dir/file2" "file1\nfile2\n" "" ""
|
/external/ltp/testcases/kernel/syscalls/readlink/ |
D | readlink03.c | 9 * 1) readlink(2) returns -1 and sets errno to EACCES if search/write 12 * 2) readlink(2) returns -1 and sets errno to EINVAL if the buffer size 14 * 3) readlink(2) returns -1 and sets errno to EINVAL if the specified 16 * 4) readlink(2) returns -1 and sets errno to ENAMETOOLONG if the 18 * 5) readlink(2) returns -1 and sets errno to ENOENT if the component of 20 * 6) readlink(2) returns -1 and sets errno to ENOTDIR if a component of 22 * 7) readlink(2) returns -1 and sets errno to ELOOP if too many symbolic 24 * 8) readlink(2) returns -1 and sets errno to EFAULT if buf outside the 69 TEST(readlink(tc->link, tc->buf, tc->buf_size)); in verify_readlink() 71 tst_res(TFAIL, "readlink() sueeeeded unexpectedly"); in verify_readlink() [all …]
|
D | readlink01.c | 9 * Testcase to check the basic functionality of the readlink(2), 10 * readlink() will succeed to read the contents of the symbolic link. 29 TEST(readlink(SYMFILE, buffer, sizeof(buffer))); in test_readlink() 31 tst_res(TFAIL | TTERRNO, "readlink() on %s failed", SYMFILE); in test_readlink() 36 tst_res(TFAIL, "readlink() returned value %ld " in test_readlink() 45 tst_res(TPASS, "readlink() functionality on '%s' was correct", in test_readlink()
|
/external/ltp/testcases/kernel/fs/mongo/ |
D | mongo_slinks.c | 62 // Test readlink in main() 64 // Increase size of buffer to readlink untile whole symlink body will be read. in main() 65 // Check readlink result on every iteration. in main() 69 num = readlink(new_path, buffer, size); in main() 71 perror("checklink: readlink failed"); in main() 75 // Make sure that readlink did not break things in main() 78 ("checklink : readlink corrupts memory\n"); in main() 87 // and call `readlink' again. in main()
|
/external/ImageMagick/ |
D | AppRun | 8 HERE="$(dirname "$(readlink -f "${0}")")" 11 …readlink -f "$HERE/usr/lib/ImageMagick-7.0.7/config-Q16"):$(readlink -f "$HERE/usr/lib/ImageMagick… 13 export LD_LIBRARY_PATH=$(readlink -f "$HERE/usr/lib"):$LD_LIBRARY_PATH
|
/external/toybox/toys/other/ |
D | readlink.c | 1 /* readlink.c - Return string representation of a symbolic link. 5 USE_READLINK(NEWTOY(readlink, "<1nqmef(canonicalize)[-mef]", TOYFLAG_USR|TOYFLAG_BIN)) 7 config READLINK 8 bool "readlink" 11 usage: readlink FILE...
|
/external/proguard/bin/ |
D | retrace.sh | 10 # Account for possibly missing/basic readlink. 12 PROGUARD=`readlink -f "$0" 2>/dev/null` 15 PROGUARD=`readlink "$0" 2>/dev/null`
|
D | proguard.sh | 10 # Account for possibly missing/basic readlink. 12 PROGUARD=`readlink -f "$0" 2>/dev/null` 15 PROGUARD=`readlink "$0" 2>/dev/null`
|
D | proguardgui.sh | 10 # Account for possibly missing/basic readlink. 12 PROGUARD=`readlink -f "$0" 2>/dev/null` 15 PROGUARD=`readlink "$0" 2>/dev/null`
|
/external/crosvm/p9/src/protocol/ |
D | messages.rs | 104 Readlink(Treadlink), enumerator 143 Tmessage::Readlink(readlink) => readlink.byte_size(), in byte_size() 181 Tmessage::Readlink(_) => TREADLINK, in encode() 215 Tmessage::Readlink(readlink) => readlink.encode(writer), in encode() 267 TREADLINK => Ok(Tmessage::Readlink(WireFormat::decode(reader)?)), in decode() 517 Readlink(Rreadlink), enumerator 557 Rmessage::Readlink(readlink) => readlink.byte_size(), in byte_size() 596 Rmessage::Readlink(_) => RREADLINK, in encode() 631 Rmessage::Readlink(readlink) => readlink.encode(writer), in encode() 676 RREADLINK => Ok(Rmessage::Readlink(WireFormat::decode(reader)?)), in decode()
|
/external/strace/tests-mx32/ |
D | readlink.c | 37 # define PREFIX "test.readlink" 54 printf("readlink(\"%s\", %p, %u) = -1 ENOENT (%m)\n", in main() 62 perror("readlink"); in main() 67 printf("readlink(\"%s\", \"%s\", %u) = %u\n", in main()
|
/external/strace/tests/ |
D | readlink.c | 37 # define PREFIX "test.readlink" 54 printf("readlink(\"%s\", %p, %u) = -1 ENOENT (%m)\n", in main() 62 perror("readlink"); in main() 67 printf("readlink(\"%s\", \"%s\", %u) = %u\n", in main()
|
/external/strace/tests-m32/ |
D | readlink.c | 37 # define PREFIX "test.readlink" 54 printf("readlink(\"%s\", %p, %u) = -1 ENOENT (%m)\n", in main() 62 perror("readlink"); in main() 67 printf("readlink(\"%s\", \"%s\", %u) = %u\n", in main()
|
/external/autotest/contrib/ |
D | servo-stat | 16 # readlink -f $0, in case $0 is a symlink from somewhere else 17 REPO=$(dirname $(readlink -f $0))/../../../../.. 18 REPO=$(readlink -f $REPO) 19 PYTHON=$(readlink -f $REPO/chroot/usr/bin/python2.7) 20 HDCTOOLS=$(readlink -f $REPO/chroot/usr/lib/python2.7/site-packages/servo)
|
/external/clang/test/Sema/ |
D | asm-label.c | 28 void __real_readlink() __asm("readlink"); 29 void readlink() __asm("__protected_readlink"); 30 void readlink() { __real_readlink(); } in readlink() function
|
/external/snakeyaml/ |
D | mvnw | 145 # readlink(1) is not available as standard on Solaris 10. 146 readLink=`which readlink` 147 if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then 152 javaExecutable="`readlink -f \"$javaExecutable\"`"
|
/external/apache-commons-compress/ |
D | mvnw | 123 # readlink(1) is not available as standard on Solaris 10. 124 readLink=`which readlink` 125 if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then 130 javaExecutable="`readlink -f \"$javaExecutable\"`"
|
/external/python/cpython3/Misc/ |
D | python-config.sh.in | 19 if which readlink >/dev/null 2>&1 ; then 20 if readlink -f "$RESULT" >/dev/null 2>&1; then 21 RESULT=$(readlink -f "$RESULT")
|
/external/e2fsprogs/debian/ |
D | ss-dev.postinst | 11 [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \ 12 [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
|
D | e2fslibs-dev.postinst | 11 [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \ 12 [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
|
D | e2fslibs-dev.preinst | 11 [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \ 12 [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
|
D | ss-dev.preinst | 11 [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \ 12 [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
|
D | comerr-dev.preinst | 11 [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \ 12 [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
|
D | comerr-dev.postinst | 11 [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \ 12 [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
|