Home
last modified time | relevance | path

Searched refs:PATH_MAX (Results 1 – 20 of 20) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dtempnam.c48 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/
Drealpath.c58 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/
Dgetcwd_test.cpp36 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()
Dftw_test.cpp30 char path[PATH_MAX]; in MakeTree()
Dstdlib_test.cpp185 char executable_path[PATH_MAX]; in TEST()
190 char buf[PATH_MAX + 1]; in TEST()
Dsystem_properties_test.cpp35 char dir_template[PATH_MAX]; in LocalPropertyTestState()
Ddlfcn_test.cpp796 char dli_realpath[PATH_MAX]; in TEST()
853 char libc_realpath[PATH_MAX]; in TEST()
Dgtest_main.cpp1115 char path[PATH_MAX]; in get_proc_self_exe()
Ddlext_test.cpp155 char lib_realpath_buf[PATH_MAX]; in TEST_F()
Dstdio_test.cpp539 char buf[PATH_MAX]; in snprintf_small_stack_fn()
/bionic/libc/kernel/uapi/linux/
Dlimits.h30 #define PATH_MAX 4096 macro
Dnfs3.h24 #define NFS3_MAXPATHLEN PATH_MAX
Dnfs4.h30 #define NFS4_MAXPATHLEN PATH_MAX
/bionic/libc/include/sys/
Dparam.h34 #define MAXPATHLEN PATH_MAX
/bionic/libc/bionic/
Dpathconf.cpp95 return PATH_MAX; in __pathconf()
Dfts.c102 if (fts_palloc(sp, MAX(fts_maxarglen(argv), PATH_MAX))) in fts_open()
/bionic/benchmarks/
Dproperty_benchmark.cpp47 char dir_template[PATH_MAX]; in LocalPropertyTestState()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dexec.c139 char *bp, *cur, *path, buf[PATH_MAX]; in execvpe()
/bionic/tools/relocation_packer/src/
Delf_file_unittest.cc25 char path[PATH_MAX]; in GetDataFilePath()
/bionic/linker/
Dlinker.cpp378 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()