Home
last modified time | relevance | path

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

/bionic/tests/
Dgetcwd_test.cpp23 TEST(getcwd, auto_full) { in TEST() argument
26 char* cwd = getcwd(NULL, 0); in TEST()
33 TEST(getcwd, auto_reasonable) { in TEST() argument
36 char* cwd = getcwd(NULL, PATH_MAX); in TEST()
43 TEST(getcwd, auto_too_small) { in TEST() argument
46 char* cwd = getcwd(NULL, 1); in TEST()
51 TEST(getcwd, auto_too_large) { in TEST() argument
54 char* cwd = getcwd(NULL, static_cast<size_t>(-1)); in TEST()
59 TEST(getcwd, manual_too_small) { in TEST() argument
63 char* cwd = getcwd(tiny_buf, sizeof(tiny_buf)); in TEST()
[all …]
Dfortify_compilation_test.cpp272 getcwd(buf, 5); in test_getcwd()
Dfortify_test.cpp649 ASSERT_FORTIFY(getcwd(buf, ct)); in TEST_F()
Dgtest_main.cpp1156 char* cwd = getcwd(NULL, 0); in PickOptions()
/bionic/libc/bionic/
Dgetcwd.cpp37 char* getcwd(char* buf, size_t size) __overloadable { in getcwd() function
Dfortify.cpp131 return getcwd(buf, len); in __getcwd_chk()
/bionic/tools/versioner/src/
DUtils.cpp34 if (!getcwd(buf, sizeof(buf))) { in getWorkingDir()
/bionic/libc/include/
Dunistd.h151 char* getcwd(char* __buf, size_t __size) __overloadable __RENAME_CLANG(getcwd);
293 char* getcwd(char* buf, size_t size) __overloadable
298 char* getcwd(char* const __pass_object_size buf, size_t size) __overloadable { in getcwd() function
307 return __call_bypassing_fortify(getcwd)(buf, size); in getcwd()
504 char* __getcwd_real(char*, size_t) __RENAME(getcwd);
530 char* getcwd(char* buf, size_t size) __overloadable { in getcwd() function
/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/tools/
Dposix-2013.txt326 getcwd
/bionic/libc/
DSYSCALLS.TXT196 int __getcwd:getcwd(char* buf, size_t size) all
Dlibc.mips64.map356 getcwd;
Dlibc.x86_64.map356 getcwd;
Dlibc.arm64.map356 getcwd;
Dlibc.x86.map422 getcwd;
Dlibc.mips.map424 getcwd;
Dlibc.arm.map426 getcwd;
Dlibc.map.txt428 getcwd;
DAndroid.bp1297 "bionic/getcwd.cpp",