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/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()
Dftw_test.cpp32 char path[PATH_MAX]; in MakeTree()
Delftls_dl_test.cpp333 char dli_realpath[PATH_MAX]; in TEST()
Ddl_test.cpp250 char default_search_paths[PATH_MAX]; in create_ld_config_file()
Dstdlib_test.cpp353 char executable_path[PATH_MAX]; in TEST()
358 char buf[PATH_MAX + 1]; in TEST()
Dclang_fortify_tests.cpp412 char path_buffer[PATH_MAX - 1]; in testStdlib()
Dstdio_test.cpp852 char buf[PATH_MAX]; in snprintf_small_stack_fn()
2520 ASSERT_LE(FILENAME_MAX, PATH_MAX); in TEST()
2521 ASSERT_EQ(L_tmpnam, PATH_MAX); in TEST()
2618 char path[PATH_MAX]; in TEST()
Ddlfcn_test.cpp938 char dli_realpath[PATH_MAX]; in TEST()
1005 char libc_realpath[PATH_MAX]; in TEST()
Dpthread_test.cpp2629 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/
Drealpath.cpp65 char dst[PATH_MAX]; in realpath()
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.cpp215 char resolved_path[PATH_MAX]; in resolve_path()
Dlinker_main.cpp210 char path[PATH_MAX]; in get_executable_info()
224 char path[PATH_MAX]; in get_executable_info()
Dlinker_config.cpp240 char buf[PATH_MAX]; in parse_config_file()
Dlinker.cpp281 if (strlen(name) >= PATH_MAX) { in soinfo_alloc()
350 static char buf[PATH_MAX]; in realpath_fd()
2146 char original_path[PATH_MAX]; in do_dlopen()
3333 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()