Home
last modified time | relevance | path

Searched refs:symlink (Results 1 – 18 of 18) sorted by relevance

/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Drealpath.c58 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in realpath() local
176 slen = readlink(resolved, symlink, sizeof(symlink) - 1); in realpath()
182 symlink[slen] = '\0'; in realpath()
183 if (symlink[0] == '/') { in realpath()
200 if (symlink[slen - 1] != '/') { in realpath()
201 if (slen + 1 >= sizeof(symlink)) { in realpath()
207 symlink[slen] = '/'; in realpath()
208 symlink[slen + 1] = 0; in realpath()
210 left_len = strlcat(symlink, left, in realpath()
211 sizeof(symlink)); in realpath()
[all …]
/bionic/libc/bionic/
Dsymlink.cpp32 int symlink(const char* old_path, const char* new_path) { in symlink() function
/bionic/tests/
Dsys_stat_test.cpp178 ASSERT_EQ(0, symlink(tf.filename, linkname)); in TEST()
192 ASSERT_EQ(0, symlink(target, linkname)); in TEST()
213 ASSERT_EQ(0, symlink(tf.filename, linkname)); in TEST()
236 ASSERT_EQ(0, symlink(target, linkname)); in TEST()
Ddlfcn_symlink_support.cpp72 ASSERT_TRUE(symlink(source_file_path.c_str(), link_path.c_str()) == 0) << strerror(errno); in create_dlfcn_test_symlink()
Dftw_test.cpp42 ASSERT_EQ(0, symlink("/does-not-exist", path)); in MakeTree()
44 ASSERT_EQ(0, symlink("dir/sub", path)); in MakeTree()
Ddlext_test.cpp198 DlfcnSymlink symlink("android_dlopen_ext_force_load_smoke"); in TEST() local
199 const std::string symlink_name = basename(symlink.get_symlink_path().c_str()); in TEST()
215 DlfcnSymlink symlink("android_dlopen_ext_force_load_soname_exception"); in TEST() local
216 const std::string symlink_name = basename(symlink.get_symlink_path().c_str()); in TEST()
Ddlfcn_test.cpp1127 DlfcnSymlink symlink("dlopen_symlink"); in TEST() local
1128 const std::string symlink_name = basename(symlink.get_symlink_path().c_str()); in TEST()
/bionic/libc/tools/
Dposix-2013.txt1038 symlink
/bionic/libc/include/
Dunistd.h140 int symlink(const char* __oldpath, const char* __newpath);
/bionic/libc/
Dlibc.mips64.map967 symlink;
Dlibc.x86_64.map967 symlink;
Dlibc.arm64.map967 symlink;
Dlibc.mips.map1024 symlink;
Dlibc.x86.map1022 symlink;
Dlibc.arm.map1026 symlink;
Dlibc.map.txt1051 symlink;
DAndroid.bp1481 "bionic/symlink.cpp",
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp1716 ASSERT_EQ(0, symlink("/data/local/tmp/does_not_exist", RECORD_ALLOCS_FILE)); in TEST_F()