Searched refs:PATH_MAX (Results 1 – 20 of 20) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | tempnam.c | 48 if (!(name = malloc(PATH_MAX))) in tempnam() 55 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, in tempnam() 57 if (len < 0 || len >= PATH_MAX) { in tempnam() 67 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, in tempnam() 69 if (len < 0 || len >= PATH_MAX) { in tempnam() 78 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx); in tempnam() 79 if (len < 0 || len >= PATH_MAX) { in tempnam() 87 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx); in tempnam() 88 if (len < 0 || len >= PATH_MAX) { in tempnam()
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | realpath.c | 58 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in realpath() 69 resolved = malloc(PATH_MAX); in realpath() 84 if (getcwd(resolved, PATH_MAX) == NULL) { in realpath() 96 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in realpath() 125 if (resolved_len + 1 >= PATH_MAX) { in realpath() 157 resolved_len = strlcat(resolved, next_token, PATH_MAX); in realpath() 158 if (resolved_len >= PATH_MAX) { in realpath()
|
/bionic/tests/ |
D | getcwd_test.cpp | 36 char* cwd = getcwd(NULL, PATH_MAX); in TEST() 78 char* buf = new char[PATH_MAX]; in TEST() 80 char* cwd = getcwd(buf, PATH_MAX); in TEST()
|
D | ftw_test.cpp | 30 char path[PATH_MAX]; in MakeTree()
|
D | stdlib_test.cpp | 185 char executable_path[PATH_MAX]; in TEST() 190 char buf[PATH_MAX + 1]; in TEST()
|
D | system_properties_test.cpp | 35 char dir_template[PATH_MAX]; in LocalPropertyTestState()
|
D | dlfcn_test.cpp | 796 char dli_realpath[PATH_MAX]; in TEST() 853 char libc_realpath[PATH_MAX]; in TEST()
|
D | gtest_main.cpp | 1115 char path[PATH_MAX]; in get_proc_self_exe()
|
D | dlext_test.cpp | 155 char lib_realpath_buf[PATH_MAX]; in TEST_F()
|
D | stdio_test.cpp | 539 char buf[PATH_MAX]; in snprintf_small_stack_fn()
|
/bionic/libc/kernel/uapi/linux/ |
D | limits.h | 30 #define PATH_MAX 4096 macro
|
D | nfs3.h | 24 #define NFS3_MAXPATHLEN PATH_MAX
|
D | nfs4.h | 30 #define NFS4_MAXPATHLEN PATH_MAX
|
/bionic/libc/include/sys/ |
D | param.h | 34 #define MAXPATHLEN PATH_MAX
|
/bionic/libc/bionic/ |
D | pathconf.cpp | 95 return PATH_MAX; in __pathconf()
|
D | fts.c | 102 if (fts_palloc(sp, MAX(fts_maxarglen(argv), PATH_MAX))) in fts_open()
|
/bionic/benchmarks/ |
D | property_benchmark.cpp | 47 char dir_template[PATH_MAX]; in LocalPropertyTestState()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | exec.c | 139 char *bp, *cur, *path, buf[PATH_MAX]; in execvpe()
|
/bionic/tools/relocation_packer/src/ |
D | elf_file_unittest.cc | 25 char path[PATH_MAX]; in GetDataFilePath()
|
/bionic/linker/ |
D | linker.cpp | 378 if (strlen(name) >= PATH_MAX) { in soinfo_alloc() 451 char resolved_path[PATH_MAX]; in resolve_paths() 560 std::vector<char> buf(PATH_MAX), proc_self_fd(PATH_MAX); in realpath_fd() 4159 char real_path[PATH_MAX]; in init_default_namespace() 4177 char path[PATH_MAX]; in get_executable_path()
|