Home
last modified time | relevance | path

Searched refs:PATH_MAX (Results 1 – 25 of 25) 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.cpp38 char* cwd = getcwd(nullptr, PATH_MAX); in TEST()
81 char* buf = new char[PATH_MAX]; in TEST()
83 char* cwd = getcwd(buf, PATH_MAX); in TEST()
Dfortify_filecheck_diagnostics_test.cpp324 char bigbuf[PATH_MAX]; in test_realpath()
Dftw_test.cpp32 char path[PATH_MAX]; in MakeTree()
Delftls_dl_test.cpp332 char dli_realpath[PATH_MAX]; in TEST()
Ddl_test.cpp220 char default_search_paths[PATH_MAX]; in create_ld_config_file()
Dstdlib_test.cpp339 char executable_path[PATH_MAX]; in TEST()
344 char buf[PATH_MAX + 1]; in TEST()
Dstdio_test.cpp816 char buf[PATH_MAX]; in snprintf_small_stack_fn()
2470 ASSERT_LE(FILENAME_MAX, PATH_MAX); in TEST()
2471 ASSERT_EQ(L_tmpnam, PATH_MAX); in TEST()
2568 char path[PATH_MAX]; in TEST()
Ddlfcn_test.cpp941 char dli_realpath[PATH_MAX]; in TEST()
1013 char libc_realpath[PATH_MAX]; in TEST()
Dpthread_test.cpp2385 char buf[PATH_MAX + 2048]; in signal_handler_snprintf()
/bionic/libc/kernel/uapi/linux/
Dlimits.h28 #define PATH_MAX 4096 macro
Dnfs3.h23 #define NFS3_MAXPATHLEN PATH_MAX
Dnfs4.h28 #define NFS4_MAXPATHLEN PATH_MAX
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_cgroup.h32 char path[PATH_MAX];
/bionic/libc/include/sys/
Dparam.h45 #define MAXPATHLEN PATH_MAX
/bionic/libc/bionic/
Dpathconf.cpp95 return PATH_MAX; in __pathconf()
Dfts.c94 if (fts_palloc(sp, MAX(fts_maxarglen(argv), PATH_MAX))) in __fts_open()
/bionic/tools/versioner/src/
DUtils.cpp33 char buf[PATH_MAX]; in getWorkingDir()
/bionic/tests/headers/posix/
Dlimits_h.c98 MACRO(PATH_MAX); in limits_h()
/bionic/linker/
Dlinker_utils.cpp208 char resolved_path[PATH_MAX]; in resolve_paths()
Dlinker_main.cpp205 char path[PATH_MAX]; in get_executable_info()
219 char path[PATH_MAX]; in get_executable_info()
Dlinker_config.cpp240 char buf[PATH_MAX]; in parse_config_file()
Dlinker.cpp336 if (strlen(name) >= PATH_MAX) { in soinfo_alloc()
396 std::vector<char> buf(PATH_MAX), proc_self_fd(PATH_MAX); in realpath_fd()
2259 char original_path[PATH_MAX]; in do_dlopen()
4045 char real_path[PATH_MAX]; in init_default_namespace_no_config()
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp131 char path[PATH_MAX]; in GetExe()