Searched refs:path_max (Results 1 - 25 of 57) sorted by relevance

123

/netbsd-current/external/gpl2/gettext/dist/gnulib-local/lib/
H A Dxgetcwd.c51 unsigned path_max; local
61 path_max = (unsigned) PATH_MAX;
62 path_max += 2; /* The getcwd docs say to do this. */
66 char *cwd = (char *) xmalloc (path_max);
69 ret = getcwd (cwd, path_max);
82 path_max += path_max / 16;
83 path_max += 32;
H A Dcanonicalize.c104 long int path_max; local
128 path_max = PATH_MAX;
130 path_max = pathconf (name, _PC_PATH_MAX);
131 if (path_max <= 0)
132 path_max = 1024;
137 rpath = malloc (path_max);
143 rpath_limit = rpath + path_max;
147 if (!__getcwd (rpath, path_max))
207 if (end - start + 1 > path_max)
210 new_size += path_max;
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
H A Dcanonicalize.c104 long int path_max; local
128 path_max = PATH_MAX;
130 path_max = pathconf (name, _PC_PATH_MAX);
131 if (path_max <= 0)
132 path_max = 1024;
137 rpath = malloc (path_max);
143 rpath_limit = rpath + path_max;
147 if (!__getcwd (rpath, path_max))
207 if (end - start + 1 > path_max)
210 new_size += path_max;
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dcanonicalize.c104 long int path_max; local
128 path_max = PATH_MAX;
130 path_max = pathconf (name, _PC_PATH_MAX);
131 if (path_max <= 0)
132 path_max = 1024;
137 rpath = malloc (path_max);
143 rpath_limit = rpath + path_max;
147 if (!__getcwd (rpath, path_max))
207 if (end - start + 1 > path_max)
210 new_size += path_max;
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dcanonicalize-lgpl.c121 long int path_max; local
144 path_max = PATH_MAX;
146 path_max = pathconf (name, _PC_PATH_MAX);
147 if (path_max <= 0)
148 path_max = 8192;
153 rpath = malloc (path_max);
162 rpath_limit = rpath + path_max;
170 if (!__getcwd (rpath, path_max))
249 if (end - start + 1 > path_max)
252 new_size += path_max;
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/
H A Dlrealpath.c115 long path_max = pathconf ("/", _PC_PATH_MAX); local
116 if (path_max > 0)
120 buf = (char *) malloc (path_max);
/netbsd-current/external/gpl3/binutils/dist/libiberty/
H A Dlrealpath.c115 long path_max = pathconf ("/", _PC_PATH_MAX); local
116 if (path_max > 0)
120 buf = (char *) malloc (path_max);
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/
H A Dlrealpath.c115 long path_max = pathconf ("/", _PC_PATH_MAX); local
116 if (path_max > 0)
120 buf = (char *) malloc (path_max);
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/
H A Dlrealpath.c115 long path_max = pathconf ("/", _PC_PATH_MAX); local
116 if (path_max > 0)
120 buf = (char *) malloc (path_max);
/netbsd-current/external/gpl3/gcc/dist/libiberty/
H A Dlrealpath.c115 long path_max = pathconf ("/", _PC_PATH_MAX); local
116 if (path_max > 0)
120 buf = (char *) malloc (path_max);
/netbsd-current/external/gpl3/gdb/dist/libiberty/
H A Dlrealpath.c115 long path_max = pathconf ("/", _PC_PATH_MAX); local
116 if (path_max > 0)
120 buf = (char *) malloc (path_max);
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dcanonicalize-lgpl.c169 long int path_max = PATH_MAX; local
177 long int path_max = __pathconf ("/", _PC_PATH_MAX);
180 return path_max < 0 ? 1024 : path_max <= IDX_MAX ? path_max : IDX_MAX;
/netbsd-current/external/gpl2/grep/dist/intl/
H A Ddcigettext.c493 size_t path_max; variable
496 path_max = (unsigned int) PATH_MAX;
497 path_max += 2; /* The getcwd docs say to do this. */
501 dirname = (char *) alloca (path_max + dirname_len);
505 ret = getcwd (dirname, path_max);
509 path_max += path_max / 2;
510 path_max += PATH_INCR;
/netbsd-current/external/gpl3/gcc/dist/intl/
H A Ddcigettext.c537 size_t path_max; local
540 path_max = (unsigned int) PATH_MAX;
541 path_max += 2; /* The getcwd docs say to do this. */
545 dirname = (char *) alloca (path_max + dirname_len);
549 ret = getcwd (dirname, path_max);
553 path_max += path_max / 2;
554 path_max += PATH_INCR;
/netbsd-current/external/gpl3/binutils/dist/intl/
H A Ddcigettext.c537 size_t path_max; local
540 path_max = (unsigned int) PATH_MAX;
541 path_max += 2; /* The getcwd docs say to do this. */
545 dirname = (char *) alloca (path_max + dirname_len);
549 ret = getcwd (dirname, path_max);
553 path_max += path_max / 2;
554 path_max += PATH_INCR;
/netbsd-current/external/gpl3/gdb/dist/intl/
H A Ddcigettext.c537 size_t path_max; local
540 path_max = (unsigned int) PATH_MAX;
541 path_max += 2; /* The getcwd docs say to do this. */
545 dirname = (char *) alloca (path_max + dirname_len);
549 ret = getcwd (dirname, path_max);
553 path_max += path_max / 2;
554 path_max += PATH_INCR;
/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/intl/
H A Ddcigettext.c640 size_t path_max; local
644 path_max = (unsigned int) PATH_MAX;
645 path_max += 2; /* The getcwd docs say to do this. */
649 resolved_dirname = (char *) alloca (path_max + dirname_len);
653 ret = getcwd (resolved_dirname, path_max);
657 path_max += path_max / 2;
658 path_max += PATH_INCR;
/netbsd-current/external/gpl3/gdb.old/dist/intl/
H A Ddcigettext.c537 size_t path_max; local
540 path_max = (unsigned int) PATH_MAX;
541 path_max += 2; /* The getcwd docs say to do this. */
545 dirname = (char *) alloca (path_max + dirname_len);
549 ret = getcwd (dirname, path_max);
553 path_max += path_max / 2;
554 path_max += PATH_INCR;
/netbsd-current/external/gpl2/texinfo/dist/intl/
H A Ddcigettext.c534 size_t path_max; local
537 path_max = (unsigned int) PATH_MAX;
538 path_max += 2; /* The getcwd docs say to do this. */
542 dirname = (char *) alloca (path_max + dirname_len);
546 ret = getcwd (dirname, path_max);
550 path_max += path_max / 2;
551 path_max += PATH_INCR;
/netbsd-current/external/gpl3/binutils.old/dist/intl/
H A Ddcigettext.c537 size_t path_max; local
540 path_max = (unsigned int) PATH_MAX;
541 path_max += 2; /* The getcwd docs say to do this. */
545 dirname = (char *) alloca (path_max + dirname_len);
549 ret = getcwd (dirname, path_max);
553 path_max += path_max / 2;
554 path_max += PATH_INCR;
/netbsd-current/external/gpl3/gcc.old/dist/intl/
H A Ddcigettext.c537 size_t path_max; local
540 path_max = (unsigned int) PATH_MAX;
541 path_max += 2; /* The getcwd docs say to do this. */
545 dirname = (char *) alloca (path_max + dirname_len);
549 ret = getcwd (dirname, path_max);
553 path_max += path_max / 2;
554 path_max += PATH_INCR;
/netbsd-current/usr.bin/make/
H A Dtest-variants.mk94 TESTS+= path_max
95 CPPFLAGS.path_max= -DPATH_MAX=20
96 SKIP.path_max= yes
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_platform_limits_openbsd.h330 extern unsigned path_max;
H A Dsanitizer_platform_limits_solaris.h346 extern unsigned path_max;
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_platform_limits_openbsd.h328 extern unsigned path_max;

Completed in 183 milliseconds

123