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 …]
Dclang_fortify_tests.cpp579 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()
Dfortify_test.cpp591 ASSERT_FORTIFY(getcwd(buf, ct)); in TEST_F()
/bionic/libc/include/bits/fortify/
Dunistd.h73 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/
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/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.md140 * more FORTIFY support functions (`fread`/`fwrite`/`getcwd`/`pwrite`/`write`)
/bionic/libc/
DSYSCALLS.TXT201 int __getcwd:getcwd(char* buf, size_t size) all
Dlibc.map.txt429 getcwd;
DAndroid.bp1047 "bionic/getcwd.cpp",
/bionic/tools/versioner/platforms/
Dlibc.map.txt429 getcwd;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_070.S2282 DATA_WORD(getcwd)