Home
last modified time | relevance | path

Searched refs:path_max (Results 1 – 18 of 18) sorted by relevance

/openbsd/gnu/usr.bin/cvs/lib/
H A Dxgetwd.c43 unsigned path_max; in xgetwd() local
46 path_max = (unsigned) PATH_MAX; in xgetwd()
47 path_max += 2; /* The getcwd docs say to do this. */ in xgetwd()
49 cwd = xmalloc (path_max); in xgetwd()
52 while ((ret = getcwd (cwd, path_max)) == NULL && errno == ERANGE) in xgetwd()
54 path_max += PATH_INCR; in xgetwd()
55 cwd = xrealloc (cwd, path_max); in xgetwd()
/openbsd/gnu/lib/libiberty/src/
H A Dlrealpath.c115 long path_max = pathconf ("/", _PC_PATH_MAX); in lrealpath() local
116 if (path_max > 0) in lrealpath()
120 buf = (char *) malloc (path_max); in lrealpath()
/openbsd/gnu/usr.bin/binutils/intl/
H A Ddcgettext.c273 size_t path_max; local
276 path_max = (unsigned) PATH_MAX;
277 path_max += 2; /* The getcwd docs say to do this. */
279 dirname = (char *) alloca (path_max + dirname_len);
283 while ((ret = getcwd (dirname, path_max)) == NULL && errno == ERANGE)
285 path_max += PATH_INCR;
286 dirname = (char *) alloca (path_max + dirname_len);
/openbsd/gnu/usr.bin/binutils-2.17/intl/
H A Ddcgettext.c273 size_t path_max; local
276 path_max = (unsigned) PATH_MAX;
277 path_max += 2; /* The getcwd docs say to do this. */
279 dirname = (char *) alloca (path_max + dirname_len);
283 while ((ret = getcwd (dirname, path_max)) == NULL && errno == ERANGE)
285 path_max += PATH_INCR;
286 dirname = (char *) alloca (path_max + dirname_len);
/openbsd/gnu/gcc/intl/
H A Ddcigettext.c537 size_t path_max; variable
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;
/openbsd/gnu/usr.bin/gcc/gcc/intl/
H A Ddcigettext.c499 size_t path_max; variable
502 path_max = (unsigned int) PATH_MAX;
503 path_max += 2; /* The getcwd docs say to do this. */
507 dirname = (char *) alloca (path_max + dirname_len);
511 ret = getcwd (dirname, path_max);
515 path_max += path_max / 2;
516 path_max += PATH_INCR;
/openbsd/gnu/usr.bin/texinfo/intl/
H A Ddcigettext.c532 size_t path_max; in DCIGETTEXT() local
535 path_max = (unsigned int) PATH_MAX; in DCIGETTEXT()
536 path_max += 2; /* The getcwd docs say to do this. */ in DCIGETTEXT()
540 dirname = (char *) alloca (path_max + dirname_len); in DCIGETTEXT()
544 ret = getcwd (dirname, path_max); in DCIGETTEXT()
548 path_max += path_max / 2; in DCIGETTEXT()
549 path_max += PATH_INCR; in DCIGETTEXT()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.h346 extern unsigned path_max;
H A Dsanitizer_platform_limits_solaris.cpp128 unsigned path_max = PATH_MAX; variable
H A Dsanitizer_platform_limits_freebsd.h384 extern unsigned path_max;
H A Dsanitizer_platform_limits_freebsd.cpp181 unsigned path_max = PATH_MAX; variable
H A Dsanitizer_platform_limits_posix.h826 extern unsigned path_max;
H A Dsanitizer_platform_limits_posix.cpp441 unsigned path_max = PATH_MAX; variable
H A Dsanitizer_platform_limits_netbsd.h399 extern unsigned path_max;
H A Dsanitizer_platform_limits_netbsd.cpp671 unsigned path_max = PATH_MAX; variable
H A Dsanitizer_common_interceptors.inc3880 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1);
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dutils.c2977 long path_max = pathconf ("/", _PC_PATH_MAX); in gdb_realpath() local
2978 if (path_max > 0) in gdb_realpath()
2981 char *buf = alloca (path_max); in gdb_realpath()
/openbsd/gnu/usr.bin/perl/ext/POSIX/lib/
H A DPOSIX.pod563 $path_max = POSIX::fpathconf($fd, &POSIX::_PC_PATH_MAX);
1388 $path_max = POSIX::pathconf( "/var",