HomeSort by: relevance | last modified time | path
    Searched defs:path_max (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/external/gpl2/gettext/dist/gnulib-local/lib/
xgetcwd.c 51 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;
canonicalize.c 92 canonical name is PATH_MAX chars or more, returns null with `errno'
93 set to ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars,
104 long int path_max; local
127 #ifdef PATH_MAX
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);
    [all...]
  /src/external/gpl3/gcc.old/dist/libiberty/
lrealpath.c 60 # if defined (PATH_MAX)
61 # define REALPATH_LIMIT PATH_MAX
108 though, some systems do not limit PATH_MAX (return -1 for
115 long path_max = pathconf ("/", _PC_PATH_MAX); local
116 if (path_max > 0)
118 /* PATH_MAX is bounded. */
120 buf = (char *) malloc (path_max);
  /src/external/gpl3/binutils/dist/libiberty/
lrealpath.c 60 # if defined (PATH_MAX)
61 # define REALPATH_LIMIT PATH_MAX
235 though, some systems do not limit PATH_MAX (return -1 for
242 long path_max = pathconf ("/", _PC_PATH_MAX); local
243 if (path_max > 0)
245 /* PATH_MAX is bounded. */
247 buf = (char *) malloc (path_max);
  /src/external/gpl3/binutils.old/dist/libiberty/
lrealpath.c 60 # if defined (PATH_MAX)
61 # define REALPATH_LIMIT PATH_MAX
235 though, some systems do not limit PATH_MAX (return -1 for
242 long path_max = pathconf ("/", _PC_PATH_MAX); local
243 if (path_max > 0)
245 /* PATH_MAX is bounded. */
247 buf = (char *) malloc (path_max);
  /src/external/gpl3/gcc/dist/libiberty/
lrealpath.c 60 # if defined (PATH_MAX)
61 # define REALPATH_LIMIT PATH_MAX
235 though, some systems do not limit PATH_MAX (return -1 for
242 long path_max = pathconf ("/", _PC_PATH_MAX); local
243 if (path_max > 0)
245 /* PATH_MAX is bounded. */
247 buf = (char *) malloc (path_max);
  /src/external/gpl3/gdb.old/dist/libiberty/
lrealpath.c 60 # if defined (PATH_MAX)
61 # define REALPATH_LIMIT PATH_MAX
235 though, some systems do not limit PATH_MAX (return -1 for
242 long path_max = pathconf ("/", _PC_PATH_MAX); local
243 if (path_max > 0)
245 /* PATH_MAX is bounded. */
247 buf = (char *) malloc (path_max);
  /src/external/gpl3/gdb/dist/libiberty/
lrealpath.c 60 # if defined (PATH_MAX)
61 # define REALPATH_LIMIT PATH_MAX
235 though, some systems do not limit PATH_MAX (return -1 for
242 long path_max = pathconf ("/", _PC_PATH_MAX); local
243 if (path_max > 0)
245 /* PATH_MAX is bounded. */
247 buf = (char *) malloc (path_max);
  /src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
canonicalize.c 92 canonical name is PATH_MAX chars or more, returns null with `errno'
93 set to ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars,
104 long int path_max; local
127 #ifdef PATH_MAX
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);
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
canonicalize.c 92 canonical name is PATH_MAX chars or more, returns null with `errno'
93 set to ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars,
104 long int path_max; local
127 #ifdef PATH_MAX
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);
    [all...]
  /src/external/gpl3/gdb/dist/gnulib/import/
canonicalize-lgpl.c 168 # ifdef PATH_MAX
169 long int path_max = PATH_MAX; local
172 PATH_MAX is not defined as a constant. The glibc manual says
177 long int path_max = __pathconf ("/", _PC_PATH_MAX);
180 return path_max < 0 ? 1024 : path_max <= IDX_MAX ? path_max : IDX_MAX;
427 canonical name is PATH_MAX chars or more, returns null with 'errno'
428 set to ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars
    [all...]
  /src/external/gpl3/gdb.old/dist/gnulib/import/
canonicalize-lgpl.c 168 # ifdef PATH_MAX
169 long int path_max = PATH_MAX; local
172 PATH_MAX is not defined as a constant. The glibc manual says
177 long int path_max = __pathconf ("/", _PC_PATH_MAX);
180 return path_max < 0 ? 1024 : path_max <= IDX_MAX ? path_max : IDX_MAX;
427 canonical name is PATH_MAX chars or more, returns null with 'errno'
428 set to ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars
    [all...]
  /src/usr.bin/make/
test-variants.mk 93 # /usr/include/sys/syslimits.h:60:0: error: "PATH_MAX" redefined [-Werror]
94 TESTS+= path_max
95 CPPFLAGS.path_max= -DPATH_MAX=20
96 SKIP.path_max= yes
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_platform_limits_openbsd.cc 125 unsigned path_max = PATH_MAX; member in namespace:__sanitizer
sanitizer_platform_limits_solaris.cc 127 unsigned path_max = PATH_MAX; member in namespace:__sanitizer
  /src/external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/
ops.cc 44 #include <limits.h> // PATH_MAX
133 buf.reset( (char_type*)::malloc(PATH_MAX * sizeof(char_type)) );
673 long path_max = pathconf(".", _PC_PATH_MAX); local
675 if (path_max == -1)
677 else if (path_max > 10240)
680 size = path_max;
681 #elif defined(PATH_MAX)
682 size_t size = PATH_MAX;
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
fs_ops.cc 43 #include <limits.h> // PATH_MAX
178 buf.reset( (char_type*)::malloc(PATH_MAX * sizeof(char_type)) );
749 long path_max = pathconf(".", _PC_PATH_MAX); local
751 if (path_max == -1)
753 else if (path_max > 10240)
756 size = path_max;
757 #elif defined(PATH_MAX)
758 size_t size = PATH_MAX;
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/
ops.cc 44 #include <limits.h> // PATH_MAX
132 buf.reset( (char_type*)::malloc(PATH_MAX * sizeof(char_type)) );
658 long path_max = pathconf(".", _PC_PATH_MAX); local
660 if (path_max == -1)
662 else if (path_max > 10240)
665 size = path_max;
666 #elif defined(PATH_MAX)
667 size_t size = PATH_MAX;
std-ops.cc 40 #include <limits.h> // PATH_MAX
153 buf.reset( (char*)::malloc(PATH_MAX) );
882 long path_max = pathconf(".", _PC_PATH_MAX); local
884 if (path_max == -1)
886 else if (path_max > 10240)
889 size = path_max;
  /src/external/gpl2/grep/dist/intl/
dcigettext.c 149 PATH_MAX but might cause redefinition warnings when sys/param.h is
159 #if !defined PATH_MAX && defined _PC_PATH_MAX
160 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
164 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
168 #if !defined PATH_MAX && defined MAXPATHLEN
169 # define PATH_MAX MAXPATHLEN
172 #ifndef PATH_MAX
173 # define PATH_MAX _POSIX_PATH_MAX
493 size_t path_max; variable
496 path_max = (unsigned int) PATH_MAX
    [all...]
  /src/external/gpl2/texinfo/dist/intl/
dcigettext.c 170 PATH_MAX but might cause redefinition warnings when sys/param.h is
180 #if !defined PATH_MAX && defined _PC_PATH_MAX
181 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
185 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
189 #if !defined PATH_MAX && defined MAXPATHLEN
190 # define PATH_MAX MAXPATHLEN
193 #ifndef PATH_MAX
194 # define PATH_MAX _POSIX_PATH_MAX
532 size_t path_max; local
535 path_max = (unsigned int) PATH_MAX
    [all...]
  /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
fs_ops.cc 43 #include <limits.h> // PATH_MAX
178 buf.reset( (char_type*)::malloc(PATH_MAX * sizeof(char_type)) );
749 long path_max = pathconf(".", _PC_PATH_MAX); local
751 if (path_max == -1)
753 else if (path_max > 10240)
756 size = path_max;
757 #elif defined(PATH_MAX)
758 size_t size = PATH_MAX;
  /src/external/gpl3/gcc.old/dist/intl/
dcigettext.c 166 PATH_MAX but might cause redefinition warnings when sys/param.h is
176 #if !defined PATH_MAX && defined _PC_PATH_MAX
177 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
181 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
185 #if !defined PATH_MAX && defined MAXPATHLEN
186 # define PATH_MAX MAXPATHLEN
189 #ifndef PATH_MAX
190 # define PATH_MAX _POSIX_PATH_MAX
537 size_t path_max; local
540 path_max = (unsigned int) PATH_MAX
    [all...]
  /src/external/bsd/blocklist/bin/
conf.c 1276 long path_max; local
1281 if ((path_max = pathconf(config_path, _PC_PATH_MAX)) == -1)
1282 path_max = 2048;
1284 if ((path = malloc((size_t)path_max)) == NULL) {
1295 (void) snprintf(path, (size_t)path_max, "%s/%s", config_path,
  /src/external/gpl2/gettext/dist/gettext-runtime/intl/
dcigettext.c 178 PATH_MAX but might cause redefinition warnings when sys/param.h is
188 #if !defined PATH_MAX && defined _PC_PATH_MAX
189 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
193 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
197 #if !defined PATH_MAX && defined MAXPATHLEN
198 # define PATH_MAX MAXPATHLEN
201 #ifndef PATH_MAX
202 # define PATH_MAX _POSIX_PATH_MAX
640 size_t path_max; local
644 path_max = (unsigned int) PATH_MAX
    [all...]

Completed in 39 milliseconds

1 2