Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dtempnam.c50 if (!(name = malloc(PATH_MAX))) in tempnam()
57 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, in tempnam()
59 if (len < 0 || len >= PATH_MAX) { in tempnam()
69 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, in tempnam()
71 if (len < 0 || len >= PATH_MAX) { in tempnam()
80 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx); in tempnam()
81 if (len < 0 || len >= PATH_MAX) { in tempnam()
89 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx); in tempnam()
90 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()
176 resolved_len = strlcat(resolved, next_token, PATH_MAX); in realpath()
177 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()
Ddlext_test.cpp102 char lib_path[PATH_MAX]; in TEST_F()
120 char lib_path[PATH_MAX]; in TEST_F()
140 char lib_path[PATH_MAX]; in TEST_F()
304 char relro_file_[PATH_MAX];
Dstdlib_test.cpp104 char executable_path[PATH_MAX]; in TEST()
109 char buf[PATH_MAX + 1]; in TEST()
Ddlfcn_test.cpp310 char executable_path[PATH_MAX]; in TEST()
Dsystem_properties_test.cpp33 char dir_template[PATH_MAX]; in LocalPropertyTestState()
/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/upstream-openbsd/lib/libc/gen/
Dfnmatch.c297 if (strnlen(pattern, PATH_MAX) == PATH_MAX || in fnmatch()
298 strnlen(string, PATH_MAX) == PATH_MAX) in fnmatch()
Dexec.c139 char *bp, *cur, *path, buf[PATH_MAX]; in execvpe()
/bionic/libc/bionic/
Dpathconf.c158 return PATH_MAX; in pathconf()
226 return PATH_MAX; in fpathconf()
Dsystem_properties.cpp149 static char property_filename[PATH_MAX] = PROP_FILENAME;
Dmalloc_debug_check.cpp607 char exe[PATH_MAX]; in ReportMemoryLeaks()
Dfts.c101 if (fts_palloc(sp, MAX(fts_maxarglen(argv), PATH_MAX))) in fts_open()
/bionic/benchmarks/
Dproperty_benchmark.cpp45 char dir_template[PATH_MAX]; in LocalPropertyTestState()