| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/ |
| H A D | pathmax.h | 51 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 55 # if !defined PATH_MAX && defined MAXPATHLEN 56 # define PATH_MAX MAXPATHLEN macro 64 # undef PATH_MAX 65 # define PATH_MAX 1024 macro 79 # undef PATH_MAX 80 # define PATH_MAX 260 macro
|
| H A D | chdir-long.c | 32 #ifndef PATH_MAX 127 assure (PATH_MAX <= len); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 171 char *slash = memrchr (dir, '/', PATH_MAX); in chdir_long() 179 assure (slash - dir < PATH_MAX); in chdir_long()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
| H A D | pathmax.h | 29 # if !defined PATH_MAX && defined _PC_PATH_MAX 30 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ macro 35 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 39 # if !defined PATH_MAX && defined MAXPATHLEN 40 # define PATH_MAX MAXPATHLEN macro 43 # ifndef PATH_MAX 44 # define PATH_MAX _POSIX_PATH_MAX macro
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| H A D | pathmax.h | 29 # if !defined PATH_MAX && defined _PC_PATH_MAX 30 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ macro 35 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 39 # if !defined PATH_MAX && defined MAXPATHLEN 40 # define PATH_MAX MAXPATHLEN macro 43 # ifndef PATH_MAX 44 # define PATH_MAX _POSIX_PATH_MAX macro
|
| /netbsd-src/external/gpl2/xcvs/dist/lib/ |
| H A D | pathmax.h | 31 # if !defined PATH_MAX && defined _PC_PATH_MAX 32 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ macro 37 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 41 # if !defined PATH_MAX && defined MAXPATHLEN 42 # define PATH_MAX MAXPATHLEN macro 45 # ifndef PATH_MAX 46 # define PATH_MAX _POSIX_PATH_MAX macro
|
| H A D | canonicalize.c | 173 if (dest - rname < PATH_MAX) in canonicalize_filename_mode() 175 char *p = xrealloc (rname, PATH_MAX); in canonicalize_filename_mode() 178 rname_limit = rname + PATH_MAX; in canonicalize_filename_mode() 187 rname = xmalloc (PATH_MAX); in canonicalize_filename_mode() 188 rname_limit = rname + PATH_MAX; in canonicalize_filename_mode() 226 if (end - start + 1 > PATH_MAX) in canonicalize_filename_mode() 229 new_size += PATH_MAX; in canonicalize_filename_mode() 278 ((n + len + 1) > PATH_MAX) ? (n + len + 1) : PATH_MAX; in canonicalize_filename_mode()
|
| H A D | chdir-long.c | 45 #ifndef PATH_MAX 138 assert (PATH_MAX <= len); in chdir_long() 176 while (PATH_MAX <= dir_end - dir) in chdir_long() 182 char *slash = memrchr (dir, '/', PATH_MAX); in chdir_long() 190 assert (slash - dir < PATH_MAX); in chdir_long()
|
| H A D | chdir-long.h | 23 #ifndef PATH_MAX 25 # define PATH_MAX MAXPATHLEN macro 31 #ifndef PATH_MAX
|
| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/ |
| H A D | pathmax.m4 | 14 # Expands to a piece of C program that defines PATH_MAX in the same way as 17 /* Arrange to define PATH_MAX, like "pathmax.h" does. */ 22 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 25 #if !defined PATH_MAX && defined MAXPATHLEN 26 # define PATH_MAX MAXPATHLEN 29 # undef PATH_MAX 30 # define PATH_MAX 1024 33 # undef PATH_MAX 34 # define PATH_MAX 260
|
| H A D | getcwd-path-max.m4 | 78 #ifndef PATH_MAX 86 <= PATH_MAX) 91 char buf[PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) 93 char *cwd = getcwd (buf, PATH_MAX); 106 size_t dotdot_max = PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN); 111 any file with an absolute name longer than PATH_MAX, such as cygwin. 130 if (PATH_MAX <= cwd_len && cwd_len < PATH_MAX + DIR_NAME_SIZE) 134 c = getcwd (buf, PATH_MAX); 152 so generate a path larger than PATH_MAX to check,
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | sftp-realpath.c | 65 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in sftp_realpath() 75 resolved = malloc(PATH_MAX); in sftp_realpath() 91 if (getcwd(resolved, PATH_MAX) == NULL) { in sftp_realpath() 95 strlcpy(resolved, ".", PATH_MAX); in sftp_realpath() 101 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in sftp_realpath() 126 if (resolved_len + 1 >= PATH_MAX) { in sftp_realpath() 156 resolved_len = strlcat(resolved, next_token, PATH_MAX); in sftp_realpath() 157 if (resolved_len >= PATH_MAX) { in sftp_realpath()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdc/ |
| H A D | limits.d | 89 enum PATH_MAX = 1024; in version() local 103 enum PATH_MAX = 1024; in version() local 116 enum PATH_MAX = 1024; in version() local 129 enum PATH_MAX = 4096; in version() local 142 enum PATH_MAX = 1024; in version() local 155 enum PATH_MAX = 1024; in version() local 168 enum PATH_MAX = 1024; in version() local 181 enum PATH_MAX = 260; in version() local
|
| /netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/ |
| H A D | maxpathname.cpp | 52 #ifndef PATH_MAX 54 # define PATH_MAX MAXPATHLEN macro 57 # define PATH_MAX MAX_PATH macro 60 # define PATH_MAX _MAX_PATH macro 62 # define PATH_MAX 255 macro 70 return PATH_MAX; in path_name_max()
|
| /netbsd-src/lib/libc/citrus/ |
| H A D | citrus_iconv.c | 111 char *p, path[PATH_MAX]; in lookup_iconv_entry() 114 snprintf(path, (size_t)PATH_MAX, ("%s/" _CITRUS_ICONV_DIR), curdir); in lookup_iconv_entry() 265 char convname[2 * PATH_MAX]; in get_shared() 337 char realsrc[PATH_MAX], realdst[PATH_MAX]; in _citrus_iconv_open() 338 char buf[PATH_MAX], path[PATH_MAX]; in _citrus_iconv_open() 345 _lookup_alias(path, src, buf, (size_t)PATH_MAX, in _citrus_iconv_open() 347 (size_t)PATH_MAX); in _citrus_iconv_open() 349 _lookup_alias(path, dst, buf, (size_t)PATH_MAX, in _citrus_iconv_open() 351 (size_t)PATH_MAX); in _citrus_iconv_open()
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/activate/ |
| H A D | fs.c | 33 char vg_path[PATH_MAX]; in _mk_dir() 61 char vg_path[PATH_MAX]; in _rm_dir() 81 char path[PATH_MAX]; in _rm_blks() 129 char lv_path[PATH_MAX], link_path[PATH_MAX], lvm1_group_path[PATH_MAX]; in _mk_link() 130 char vg_path[PATH_MAX]; in _mk_link() 135 char raw_lv_path[PATH_MAX], raw_link_path[PATH_MAX]; in _mk_link() 271 char lv_path[PATH_MAX]; in _rm_link() 275 char raw_lv_path[PATH_MAX]; in _rm_link()
|
| /netbsd-src/lib/libc/nls/ |
| H A D | catopen.c | 79 char tmppath[PATH_MAX+1]; in catopen_l() 85 char langbuf[PATH_MAX]; in catopen_l() 120 while (*u && t < tmppath + PATH_MAX) in catopen_l() 125 while (*u && t < tmppath + PATH_MAX) in catopen_l() 133 if (t < tmppath + PATH_MAX) in catopen_l() 137 if (t < tmppath + PATH_MAX) in catopen_l()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/fuzz/ |
| H A D | test-corpus.c | 25 #if defined(_WIN32) && defined(_MAX_PATH) && !defined(PATH_MAX) 26 # define PATH_MAX _MAX_PATH macro 29 #ifndef PATH_MAX 30 # define PATH_MAX 4096 macro 79 pathname = malloc(PATH_MAX); in main()
|
| /netbsd-src/sys/arch/emips/stand/common/ |
| H A D | boot.c | 65 #define OPT_MAX PATH_MAX /* way overkill */ 83 char bootpath[PATH_MAX], options[OPT_MAX]; in main() 191 if ((size_t)i >= PATH_MAX) in parse() 226 if ((s - cmd) < (PATH_MAX - 1)) in getstr() 237 char cmd[PATH_MAX]; in getboot() 262 char file_name[PATH_MAX]; in devcanon() 323 snprintf(fname, PATH_MAX, "%c/%s(%c,%c)/%s", in devcanon()
|
| /netbsd-src/external/gpl2/xcvs/dist/m4/ |
| H A D | getcwd-path-max.m4 | 66 #ifndef PATH_MAX 74 <= PATH_MAX) 79 char buf[PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) 81 char *cwd = getcwd (buf, PATH_MAX); 94 size_t dotdot_max = PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN); 99 any file with an absolute name longer than PATH_MAX, such as cygwin. 110 if (PATH_MAX <= cwd_len && cwd_len < PATH_MAX + DIR_NAME_SIZE) 112 c = getcwd (buf, PATH_MAX);
|
| /netbsd-src/crypto/external/cpl/tpm-tools/dist/src/cmds/ |
| H A D | tpm_unsealdata.c | 40 static char in_filename[PATH_MAX] = "", out_filename[PATH_MAX] = ""; 50 strncpy(in_filename, aArg, PATH_MAX); in parse() 56 strncpy(out_filename, aArg, PATH_MAX); in parse()
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/commands/ |
| H A D | toolcontext.h | 96 char system_dir[PATH_MAX]; 97 char dev_dir[PATH_MAX]; 98 char proc_dir[PATH_MAX]; 99 char sysfs_dir[PATH_MAX];
|
| /netbsd-src/external/gpl2/lvm2/dist/include/ |
| H A D | toolcontext.h | 96 char system_dir[PATH_MAX]; 97 char dev_dir[PATH_MAX]; 98 char proc_dir[PATH_MAX]; 99 char sysfs_dir[PATH_MAX];
|
| /netbsd-src/sys/dev/ |
| H A D | firmload.c | 77 static char firmware_paths[PATH_MAX+1] = FIRMWARE_PATHS; 83 char newpath[PATH_MAX+1]; in sysctl_hw_firmware_path() 89 memcpy(node.sysctl_data, rnode->sysctl_data, PATH_MAX+1); in sysctl_hw_firmware_path() 102 for (i = 0; i < PATH_MAX+1; i++) { in sysctl_hw_firmware_path() 113 memcpy(rnode->sysctl_data, node.sysctl_data, PATH_MAX+1); in sysctl_hw_firmware_path() 133 sysctl_hw_firmware_path, 0, firmware_paths, PATH_MAX+1,
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/device/ |
| H A D | device.c | 294 char path[PATH_MAX+1]; in get_primary_dev() 295 char temp_path[PATH_MAX+1]; in get_primary_dev() 303 if (dm_snprintf(path, PATH_MAX, "%s/dev/block/%d:%d/partition", in get_primary_dev() 322 if (readlink(dirname(path), temp_path, PATH_MAX) < 0) { in get_primary_dev() 327 if (dm_snprintf(path, PATH_MAX, "%s/block/%s/dev", in get_primary_dev() 373 char path[PATH_MAX+1], buffer[64]; in _dev_topology_attribute() 385 if (dm_snprintf(path, PATH_MAX, sysfs_fmt_str, sysfs_dir, in _dev_topology_attribute() 406 if (dm_snprintf(path, PATH_MAX, sysfs_fmt_str, sysfs_dir, in _dev_topology_attribute()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/fuzz/ |
| H A D | test-corpus.c | 26 # define PATH_MAX _MAX_PATH macro 29 #ifndef PATH_MAX 30 # define PATH_MAX 4096 macro 79 pathname = malloc(PATH_MAX); in main()
|