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

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/libbb/
H A Dxgetcwd.c24 unsigned path_max; local
26 path_max = (unsigned) PATH_MAX;
27 path_max += 2; /* The getcwd docs say to do this. */
30 cwd = xmalloc(path_max);
32 while ((ret = getcwd(cwd, path_max)) == NULL && errno == ERANGE) {
33 path_max += PATH_INCR;
34 cwd = xrealloc(cwd, path_max);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/
H A Dxgetcwd.c50 unsigned path_max; local
60 path_max = (unsigned) PATH_MAX;
61 path_max += 2; /* The getcwd docs say to do this. */
65 char *cwd = XNMALLOC (path_max, char);
68 ret = getcwd (cwd, path_max);
81 path_max += path_max / 16;
82 path_max += 32;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dcanonicalize-lgpl.c102 long int path_max; local
126 path_max = PATH_MAX;
128 path_max = pathconf (name, _PC_PATH_MAX);
129 if (path_max <= 0)
130 path_max = 1024;
135 rpath = malloc (path_max);
146 rpath_limit = rpath + path_max;
150 if (!__getcwd (rpath, path_max))
210 if (end - start + 1 > path_max)
213 new_size += path_max;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dcanonicalize-lgpl.c102 long int path_max; local
126 path_max = PATH_MAX;
128 path_max = pathconf (name, _PC_PATH_MAX);
129 if (path_max <= 0)
130 path_max = 1024;
135 rpath = malloc (path_max);
146 rpath_limit = rpath + path_max;
150 if (!__getcwd (rpath, path_max))
210 if (end - start + 1 > path_max)
213 new_size += path_max;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libiconv-1.11/srclib/
H A Dcanonicalize.c106 long int path_max; local
130 path_max = PATH_MAX;
132 path_max = pathconf (name, _PC_PATH_MAX);
133 if (path_max <= 0)
134 path_max = 1024;
139 rpath = malloc (path_max);
145 rpath_limit = rpath + path_max;
149 if (!__getcwd (rpath, path_max))
209 if (end - start + 1 > path_max)
212 new_size += path_max;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/
H A Dftw.c212 unsigned path_max; local
215 path_max = (unsigned) PATH_MAX;
216 path_max += 2; /* The getcwd docs say to do this. */
218 cwd = malloc (path_max);
220 while ((ret = getcwd (cwd, path_max)) == NULL && errno == ERANGE) {
221 path_max += 512;
222 cwd = realloc (cwd, path_max);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-runtime/intl/
H A Ddcigettext.c637 size_t path_max; local
641 path_max = (unsigned int) PATH_MAX;
642 path_max += 2; /* The getcwd docs say to do this. */
646 resolved_dirname = (char *) alloca (path_max + dirname_len);
650 ret = getcwd (resolved_dirname, path_max);
654 path_max += path_max / 2;
655 path_max += PATH_INCR;

Completed in 68 milliseconds