/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 | 38 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()
|
D | fortify_filecheck_diagnostics_test.cpp | 324 char bigbuf[PATH_MAX]; in test_realpath()
|
D | ftw_test.cpp | 32 char path[PATH_MAX]; in MakeTree()
|
D | elftls_dl_test.cpp | 332 char dli_realpath[PATH_MAX]; in TEST()
|
D | dl_test.cpp | 220 char default_search_paths[PATH_MAX]; in create_ld_config_file()
|
D | stdlib_test.cpp | 339 char executable_path[PATH_MAX]; in TEST() 344 char buf[PATH_MAX + 1]; in TEST()
|
D | stdio_test.cpp | 816 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()
|
D | dlfcn_test.cpp | 941 char dli_realpath[PATH_MAX]; in TEST() 1013 char libc_realpath[PATH_MAX]; in TEST()
|
D | pthread_test.cpp | 2385 char buf[PATH_MAX + 2048]; in signal_handler_snprintf()
|
/bionic/libc/kernel/uapi/linux/ |
D | limits.h | 28 #define PATH_MAX 4096 macro
|
D | nfs3.h | 23 #define NFS3_MAXPATHLEN PATH_MAX
|
D | nfs4.h | 28 #define NFS4_MAXPATHLEN PATH_MAX
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_cgroup.h | 32 char path[PATH_MAX];
|
/bionic/libc/include/sys/ |
D | param.h | 45 #define MAXPATHLEN PATH_MAX
|
/bionic/libc/bionic/ |
D | pathconf.cpp | 95 return PATH_MAX; in __pathconf()
|
D | fts.c | 94 if (fts_palloc(sp, MAX(fts_maxarglen(argv), PATH_MAX))) in __fts_open()
|
/bionic/tools/versioner/src/ |
D | Utils.cpp | 33 char buf[PATH_MAX]; in getWorkingDir()
|
/bionic/tests/headers/posix/ |
D | limits_h.c | 98 MACRO(PATH_MAX); in limits_h()
|
/bionic/linker/ |
D | linker_utils.cpp | 208 char resolved_path[PATH_MAX]; in resolve_paths()
|
D | linker_main.cpp | 205 char path[PATH_MAX]; in get_executable_info() 219 char path[PATH_MAX]; in get_executable_info()
|
D | linker_config.cpp | 240 char buf[PATH_MAX]; in parse_config_file()
|
D | linker.cpp | 336 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/ |
D | malloc_hooks_tests.cpp | 131 char path[PATH_MAX]; in GetExe()
|