Home
last modified time | relevance | path

Searched refs:getcwd (Results 1 – 17 of 17) sorted by relevance

/bionic/tests/
Dgetcwd_test.cpp25 TEST(getcwd, auto_full) { in TEST() argument
28 char* cwd = getcwd(nullptr, 0); in TEST()
35 TEST(getcwd, auto_reasonable) { in TEST() argument
38 char* cwd = getcwd(nullptr, PATH_MAX); in TEST()
45 TEST(getcwd, auto_too_small) { in TEST() argument
48 char* cwd = getcwd(nullptr, 1); in TEST()
53 TEST(getcwd, auto_too_large) { in TEST() argument
57 char* cwd = getcwd(nullptr, static_cast<size_t>(-1)); in TEST()
62 TEST(getcwd, manual_too_small) { in TEST() argument
66 char* cwd = getcwd(tiny_buf, sizeof(tiny_buf)); in TEST()
[all …]
Dfortify_filecheck_diagnostics_test.cpp263 getcwd(buf, 5); in test_getcwd()
Dfortify_test.cpp599 ASSERT_FORTIFY(getcwd(buf, ct)); in TEST_F()
/bionic/libc/bionic/
Dgetcwd.cpp36 char* getcwd(char* buf, size_t size) { in getcwd() function
Dfortify.cpp126 return getcwd(buf, len); in __getcwd_chk()
/bionic/tools/versioner/src/
DUtils.cpp34 if (!getcwd(buf, sizeof(buf))) { in getWorkingDir()
/bionic/libc/include/bits/fortify/
Dunistd.h71 char* getcwd(char* const __pass_object_size buf, size_t size) in getcwd() function
73 __error_if_overflows_objectsize(size, __bos(buf), getcwd) { in getcwd()
77 return __call_bypassing_fortify(getcwd)(buf, size); in getcwd()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Drealpath.c84 if (getcwd(resolved, PATH_MAX) == NULL) { in realpath()
/bionic/libc/kernel/tools/
Dutils.py36 cwd = os.getcwd()
/bionic/libc/include/
Dunistd.h229 char* getcwd(char* __buf, size_t __size);
/bionic/tests/headers/posix/
Dunistd_h.c319 FUNCTION(getcwd, char* (*f)(char*, size_t)); in unistd_h()
/bionic/libc/tools/
Dposix-2013.txt326 getcwd
/bionic/docs/
Dstatus.md117 * more FORTIFY support functions (`fread`/`fwrite`/`getcwd`/`pwrite`/`write`)
/bionic/libc/
DSYSCALLS.TXT197 int __getcwd:getcwd(char* buf, size_t size) all
Dlibc.map.txt429 getcwd;
DAndroid.bp1057 "bionic/getcwd.cpp",
/bionic/tools/versioner/platforms/
Dlibc.map.txt429 getcwd;