Searched refs:symlink (Results 1 – 18 of 18) sorted by relevance
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | realpath.c | 58 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/ |
D | symlink.cpp | 32 int symlink(const char* old_path, const char* new_path) { in symlink() function
|
/bionic/tests/ |
D | sys_stat_test.cpp | 178 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()
|
D | dlfcn_symlink_support.cpp | 72 ASSERT_TRUE(symlink(source_file_path.c_str(), link_path.c_str()) == 0) << strerror(errno); in create_dlfcn_test_symlink()
|
D | ftw_test.cpp | 42 ASSERT_EQ(0, symlink("/does-not-exist", path)); in MakeTree() 44 ASSERT_EQ(0, symlink("dir/sub", path)); in MakeTree()
|
D | dlext_test.cpp | 198 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()
|
D | dlfcn_test.cpp | 1127 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/ |
D | posix-2013.txt | 1038 symlink
|
/bionic/libc/include/ |
D | unistd.h | 140 int symlink(const char* __oldpath, const char* __newpath);
|
/bionic/libc/ |
D | libc.mips64.map | 967 symlink;
|
D | libc.x86_64.map | 967 symlink;
|
D | libc.arm64.map | 967 symlink;
|
D | libc.mips.map | 1024 symlink;
|
D | libc.x86.map | 1022 symlink;
|
D | libc.arm.map | 1026 symlink;
|
D | libc.map.txt | 1051 symlink;
|
D | Android.bp | 1481 "bionic/symlink.cpp",
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 1716 ASSERT_EQ(0, symlink("/data/local/tmp/does_not_exist", RECORD_ALLOCS_FILE)); in TEST_F()
|