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 | clang_fortify_tests.cpp | 579 EXPECT_FORTIFY_DEATH(getcwd(small_buffer, sizeof(small_buffer) + 1)); in FORTIFY_TEST() 582 EXPECT_NO_DEATH(getcwd(nullptr, 0)); in FORTIFY_TEST() 583 EXPECT_NO_DEATH(getcwd(nullptr, 4096)); in FORTIFY_TEST() 604 EXPECT_FORTIFY_DEATH_STRUCT(getcwd(split.tiny_buffer, sizeof(split))); in FORTIFY_TEST()
|
D | fortify_test.cpp | 591 ASSERT_FORTIFY(getcwd(buf, ct)); in TEST_F()
|
/bionic/libc/include/bits/fortify/ |
D | unistd.h | 73 char* getcwd(char* const __pass_object_size buf, size_t size) in getcwd() function 75 __error_if_overflows_objectsize(size, __bos(buf), getcwd) { in getcwd() 83 return __call_bypassing_fortify(getcwd)(buf, size); in getcwd()
|
/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/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 | 140 * more FORTIFY support functions (`fread`/`fwrite`/`getcwd`/`pwrite`/`write`)
|
/bionic/libc/ |
D | SYSCALLS.TXT | 201 int __getcwd:getcwd(char* buf, size_t size) all
|
D | libc.map.txt | 429 getcwd;
|
D | Android.bp | 1047 "bionic/getcwd.cpp",
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 429 getcwd;
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_070.S | 2282 DATA_WORD(getcwd)
|