Home
last modified time | relevance | path

Searched refs:readlink (Results 1 – 22 of 22) sorted by relevance

/bionic/libc/bionic/
Dreadlink.cpp34 ssize_t readlink(const char* path, char* buf, size_t size) { in readlink() function
Drealpath.cpp66 ssize_t l = readlink(fd_path.c_str(), dst, sizeof(dst) - 1); in realpath()
Dpty.cpp98 ssize_t count = readlink(FdPath(fd).c_str(), buf, len); in ttyname_r()
Dfortify.cpp216 return readlink(path, buf, size); in __readlink_chk()
/bionic/tests/
Dbug_26110743_test.cpp40 ssize_t length = readlink(buf, buf2, sizeof(buf2)); in ProcSelfReadlinkBody()
85 ssize_t length = readlink(buf, buf2, sizeof(buf2)); in ProcTaskFdReadlinkBody()
Dclang_fortify_tests.cpp551 EXPECT_FORTIFY_DEATH(readlink("/", small_buffer, sizeof(small_buffer) + 1)); in FORTIFY_TEST()
577 EXPECT_FORTIFY_DEATH_STRUCT(readlink("/", split.tiny_buffer, sizeof(split))); in FORTIFY_TEST()
Dstdlib_test.cpp356 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); in TEST()
Dstdio_test.cpp177 ASSERT_GT(readlink(fd_path.c_str(), path, sizeof(path)), 0); in TEST()
2748 ssize_t length = readlink("/dev/stdin", path, sizeof(path)); in TEST()
2752 length = readlink("/dev/stdout", path, sizeof(path)); in TEST()
2756 length = readlink("/dev/stderr", path, sizeof(path)); in TEST()
Dfortify_test.cpp660 ASSERT_FORTIFY(readlink("/dev/null", buf, ct)); in TEST_F()
/bionic/libc/include/bits/fortify/
Dunistd.h181 ssize_t readlink(const char* _Nonnull path, char* _Nonnull const __pass_object_size buf, size_t siz… in readlink() function
183 __error_if_overflows_ssizet(size, readlink) in readlink()
184 __error_if_overflows_objectsize(size, __bos(buf), readlink) { in readlink()
192 return __call_bypassing_fortify(readlink)(path, buf, size); in readlink()
/bionic/libc/include/
Dunistd.h270 ssize_t readlink(const char* _Nonnull __path, char* _Nonnull __buf, size_t __buf_size);
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp133 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); in GetExe()
/bionic/libc/
DSECCOMP_ALLOWLIST_COMMON.TXT39 ssize_t readlink(const char*, char*, size_t) arm,x86,x86_64
Dlibc.map.txt858 readlink;
DAndroid.bp925 "bionic/readlink.cpp",
/bionic/tests/headers/posix/
Dunistd_h.c368 FUNCTION(readlink, ssize_t (*f)(const char*, char*, size_t)); in unistd_h()
/bionic/libc/tools/
Dposix-2013.txt839 readlink
/bionic/tools/versioner/platforms/
Dlibc.map.txt858 readlink;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_154.S2510 CALL(readlink)
Dliblinker_reloc_bench_070.S2346 DATA_WORD(readlink)
Dliblinker_reloc_bench_151.S13929 CALL(readlink)
/bionic/linker/
Dlinker.cpp387 auto length = readlink(proc_self_fd, buf, sizeof(buf)); in realpath_fd()