Searched refs:getcwd (Results 1 – 17 of 17) sorted by relevance
/bionic/tests/ |
D | getcwd_test.cpp | 25 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 …]
|
D | fortify_filecheck_diagnostics_test.cpp | 263 getcwd(buf, 5); in test_getcwd()
|
D | fortify_test.cpp | 599 ASSERT_FORTIFY(getcwd(buf, ct)); in TEST_F()
|
/bionic/libc/bionic/ |
D | getcwd.cpp | 36 char* getcwd(char* buf, size_t size) { in getcwd() function
|
D | fortify.cpp | 126 return getcwd(buf, len); in __getcwd_chk()
|
/bionic/tools/versioner/src/ |
D | Utils.cpp | 34 if (!getcwd(buf, sizeof(buf))) { in getWorkingDir()
|
/bionic/libc/include/bits/fortify/ |
D | unistd.h | 71 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/ |
D | realpath.c | 84 if (getcwd(resolved, PATH_MAX) == NULL) { in realpath()
|
/bionic/libc/kernel/tools/ |
D | utils.py | 36 cwd = os.getcwd()
|
/bionic/libc/include/ |
D | unistd.h | 229 char* getcwd(char* __buf, size_t __size);
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 319 FUNCTION(getcwd, char* (*f)(char*, size_t)); in unistd_h()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 326 getcwd
|
/bionic/docs/ |
D | status.md | 117 * more FORTIFY support functions (`fread`/`fwrite`/`getcwd`/`pwrite`/`write`)
|
/bionic/libc/ |
D | SYSCALLS.TXT | 197 int __getcwd:getcwd(char* buf, size_t size) all
|
D | libc.map.txt | 429 getcwd;
|
D | Android.bp | 1057 "bionic/getcwd.cpp",
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 429 getcwd;
|