/bionic/libc/bionic/ |
symlink.cpp | 32 int symlink(const char* old_path, const char* new_path) { function
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
realpath.c | 46 * Find the real name of path, by removing all ".", ".." and symlink 58 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; local 176 slen = readlink(resolved, symlink, sizeof(symlink) - 1); 182 symlink[slen] = '\0'; 183 if (symlink[0] == '/') { 196 * append them to symlink. The result is placed 200 if (symlink[slen - 1] != '/') { 201 if (slen + 1 >= sizeof(symlink)) { 207 symlink[slen] = '/' [all...] |
/external/linux-kselftest/tools/testing/selftests/exec/ |
Makefile | 5 TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir 19 $(OUTPUT)/execveat.symlink: $(OUTPUT)/execveat
|
execveat.sh | 30 ln -s -f execveat execveat.symlink && \
|
/external/roboto-fonts/ |
Android.mk | 21 # create symlink for given font 24 define create-font-symlink 26 @echo "Symlink: $$@ -> $$<" 56 $(eval $(call create-font-symlink,Roboto-Black.ttf,Roboto-Bold.ttf)) 57 $(eval $(call create-font-symlink,Roboto-BlackItalic.ttf,Roboto-BoldItalic.ttf)) 58 $(eval $(call create-font-symlink,Roboto-Light.ttf,Roboto-Regular.ttf)) 59 $(eval $(call create-font-symlink,Roboto-LightItalic.ttf,Roboto-Italic.ttf)) 60 $(eval $(call create-font-symlink,Roboto-Medium.ttf,Roboto-Regular.ttf)) 61 $(eval $(call create-font-symlink,Roboto-MediumItalic.ttf,Roboto-Italic.ttf)) 62 $(eval $(call create-font-symlink,Roboto-Thin.ttf,Roboto-Regular.ttf) [all...] |
/external/squashfs-tools/kernel/fs/squashfs/ |
Makefile | 7 squashfs-y += namei.o super.o symlink.o
|
/external/toybox/toys/posix/ |
rm.c | 58 if (try->symlink) goto skip; 72 if (!dir || try->symlink != (char *)2) perror_msg_raw(try->name); 74 if (try->parent) try->parent->symlink = (char *)2;
|
/external/toybox/ |
Makefile | 41 scripts/install.sh --symlink --force 44 scripts/install.sh --symlink --force --airlock 47 scripts/install.sh --long --symlink --force
|
/external/toolchain-utils/crosperf/ |
translate_xbuddy.py | 25 os.symlink(config_path, './xbuddy_config.ini')
|
/external/toybox/tests/ |
file.test | 13 ln -s java.class symlink 21 testing "symlink" "file symlink" "symlink: symbolic link\n" "" "" 22 testing "symlink -h" "file -h symlink" "symlink: symbolic link\n" "" "" 23 testing "symlink -L" "file -L symlink" "symlink: Java class file, version 49.0\n" "" " [all...] |
/external/python/cpython2/Lib/test/ |
test_posixpath.py | 108 if hasattr(os, 'symlink'): 109 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 135 if hasattr(os, "symlink"): 136 os.symlink( 177 if hasattr(os, "symlink"): 178 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 213 @unittest.skipUnless(hasattr(os, 'symlink'), 214 'Requires functional symlink implementation') 218 os.symlink("/", ABSTFN) 315 if hasattr(os, "symlink") [all...] |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.symlink_status/ |
symlink_status.pass.cpp | 95 // Test that a symlink that points into a directory without read perms 101 TEST_CHECK(st.type() == file_type::symlink); 105 TEST_CHECK(st.type() == file_type::symlink); 118 {StaticEnv::BadSymlink, file_type::symlink}, 120 {StaticEnv::SymlinkToFile, file_type::symlink}, 122 {StaticEnv::SymlinkToDir, file_type::symlink}, 178 { // test symlink to block file 183 TEST_CHECK(st.type() == file_type::symlink); 187 TEST_CHECK(st.type() == file_type::symlink);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.symlink_status/ |
symlink_status.pass.cpp | 95 // Test that a symlink that points into a directory without read perms 101 TEST_CHECK(st.type() == file_type::symlink); 105 TEST_CHECK(st.type() == file_type::symlink); 118 {StaticEnv::BadSymlink, file_type::symlink}, 120 {StaticEnv::SymlinkToFile, file_type::symlink}, 122 {StaticEnv::SymlinkToDir, file_type::symlink}, 178 { // test symlink to block file 183 TEST_CHECK(st.type() == file_type::symlink); 187 TEST_CHECK(st.type() == file_type::symlink);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
test_posixpath.py | 100 if hasattr(os, "symlink"): 101 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 127 if hasattr(os, "symlink"): 128 os.symlink( 169 if hasattr(os, "symlink"): 170 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 239 if hasattr(os, "symlink"): 243 os.symlink(ABSTFN+"1", ABSTFN) 250 # symlink loop. 253 os.symlink(ABSTFN, ABSTFN [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
test_posixpath.py | 100 if hasattr(os, "symlink"): 101 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 127 if hasattr(os, "symlink"): 128 os.symlink( 169 if hasattr(os, "symlink"): 170 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 239 if hasattr(os, "symlink"): 243 os.symlink(ABSTFN+"1", ABSTFN) 250 # symlink loop. 253 os.symlink(ABSTFN, ABSTFN [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
test_posixpath.py | 100 if hasattr(os, "symlink"): 101 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 127 if hasattr(os, "symlink"): 128 os.symlink( 169 if hasattr(os, "symlink"): 170 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 239 if hasattr(os, "symlink"): 243 os.symlink(ABSTFN+"1", ABSTFN) 250 # symlink loop. 253 os.symlink(ABSTFN, ABSTFN [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
test_posixpath.py | 100 if hasattr(os, "symlink"): 101 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 127 if hasattr(os, "symlink"): 128 os.symlink( 169 if hasattr(os, "symlink"): 170 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") 239 if hasattr(os, "symlink"): 243 os.symlink(ABSTFN+"1", ABSTFN) 250 # symlink loop. 253 os.symlink(ABSTFN, ABSTFN [all...] |
/external/bsdiff/ |
bspatch_unittest.cc | 31 EXPECT_EQ(0, symlink(old_filename, new_filename));
|
/external/compiler-rt/test/asan/android_commands/ |
android_compile.py | 36 os.symlink(android_run, output)
|
/external/libcxx/test/std/experimental/filesystem/fs.enum/ |
enum.file_type.pass.cpp | 41 E::symlink == ME(3) &&
|