Home
last modified time | relevance | path

Searched refs:getcwd (Results 1 – 6 of 6) 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 …]
/bionic/libc/bionic/
Dgetcwd.cpp34 char* getcwd(char* buf, size_t size) { in getcwd() function
/bionic/libc/include/
Dunistd.h125 extern char *getcwd(char *, size_t);
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Drealpath.c84 if (getcwd(resolved, PATH_MAX) == NULL) { in realpath()
/bionic/libc/
DSYSCALLS.TXT188 int __getcwd:getcwd(char * buf, size_t size) 1
DAndroid.mk213 bionic/getcwd.cpp \