/openbsd/gnu/usr.bin/cvs/lib/ |
H A D | xgetwd.c | 43 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 D | lrealpath.c | 115 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 D | dcgettext.c | 273 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 D | dcgettext.c | 273 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 D | dcigettext.c | 537 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 D | dcigettext.c | 499 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 D | dcigettext.c | 532 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 D | sanitizer_platform_limits_solaris.h | 346 extern unsigned path_max;
|
H A D | sanitizer_platform_limits_solaris.cpp | 128 unsigned path_max = PATH_MAX; variable
|
H A D | sanitizer_platform_limits_freebsd.h | 384 extern unsigned path_max;
|
H A D | sanitizer_platform_limits_freebsd.cpp | 181 unsigned path_max = PATH_MAX; variable
|
H A D | sanitizer_platform_limits_posix.h | 826 extern unsigned path_max;
|
H A D | sanitizer_platform_limits_posix.cpp | 441 unsigned path_max = PATH_MAX; variable
|
H A D | sanitizer_platform_limits_netbsd.h | 399 extern unsigned path_max;
|
H A D | sanitizer_platform_limits_netbsd.cpp | 671 unsigned path_max = PATH_MAX; variable
|
H A D | sanitizer_common_interceptors.inc | 3880 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1);
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | utils.c | 2977 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 D | POSIX.pod | 563 $path_max = POSIX::fpathconf($fd, &POSIX::_PC_PATH_MAX); 1388 $path_max = POSIX::pathconf( "/var",
|