Searched refs:gl_pathc (Results 1 - 25 of 40) sorted by relevance

12

/macosx-10.9.5/sudo-72/src/emul/
H A Dglob.h42 int gl_pathc; /* Count of total paths so far. */ member in struct:__anon12608
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dglob.h52 int gl_pathc; /* Count of total paths so far. */ member in struct:__anon3325
H A Dglob.c190 pglob->gl_pathc = 0;
200 if (pglob->gl_offs < 0 || pglob->gl_pathc < 0 ||
201 pglob->gl_offs >= INT_MAX || pglob->gl_pathc >= INT_MAX ||
202 pglob->gl_pathc >= INT_MAX - pglob->gl_offs - 1)
478 oldpathc = pglob->gl_pathc;
556 if (pglob->gl_pathc == oldpathc) {
569 int n = pglob->gl_pathc - oldpathc;
586 pglob->gl_pathc - oldpathc, sizeof(char *),
782 * add the new item, and update gl_pathc.
791 * Either gl_pathc i
[all...]
/macosx-10.9.5/lukemftp-13.92.1/tnftp/libnetbsd/
H A Dftpglob.h49 __gl_size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon10871
H A Dglob.c142 pglob->gl_pathc = 0;
399 oldpathc = pglob->gl_pathc;
457 if (pglob->gl_pathc == oldpathc) {
474 (size_t)pglob->gl_pathc - oldpathc, sizeof(char *),
676 * add the new item, and update gl_pathc.
685 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
686 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
696 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);
719 pathv[pglob->gl_offs + pglob->gl_pathc
[all...]
/macosx-10.9.5/tcsh-65/tcsh/
H A Dglob.h41 int gl_pathc; /* Count of total paths so far. */ member in struct:__anon14051
H A Dglob.c298 pglob->gl_pathc = 0;
305 oldpathc = pglob->gl_pathc;
419 if (pglob->gl_pathc == oldpathc &&
446 else if (!(flags & GLOB_NOSORT) && (pglob->gl_pathc != oldpathc))
448 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
582 * add the new item, and update gl_pathc.
591 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
592 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
601 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dglob.hin58 int gl_pathc; /* Count of total paths so far. */
H A Dglob.c179 pglob->gl_pathc = 0;
412 oldpathc = pglob->gl_pathc;
476 if (pglob->gl_pathc == oldpathc &&
483 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
636 * add the new item, and update gl_pathc.
645 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
646 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
657 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);
678 pathv[pglob->gl_offs + pglob->gl_pathc
[all...]
/macosx-10.9.5/uucp-11/uucp/unix/
H A Dwldcrd.c70 sSglob.gl_pathc = 0;
166 if (iSglob >= sSglob.gl_pathc)
/macosx-10.9.5/libxml2-26/libxml2/
H A Dtestrecurse.c66 size_t gl_pathc; /* Count of paths matched so far */ member in struct:__anon9837
109 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
110 if (ret->gl_pathv[ret->gl_pathc] == NULL)
112 ret->gl_pathc++;
116 if (ret->gl_pathc + 2 > nb_paths) {
124 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
125 if (ret->gl_pathv[ret->gl_pathc] == NULL)
127 ret->gl_pathc++;
129 ret->gl_pathv[ret->gl_pathc] = NULL;
143 for (i = 0;i < pglob->gl_pathc;
[all...]
H A Druntest.c112 size_t gl_pathc; /* Count of paths matched so far */ member in struct:__anon9835
155 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
156 if (ret->gl_pathv[ret->gl_pathc] == NULL)
158 ret->gl_pathc++;
162 if (ret->gl_pathc + 2 > nb_paths) {
170 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
171 if (ret->gl_pathv[ret->gl_pathc] == NULL)
173 ret->gl_pathc++;
175 ret->gl_pathv[ret->gl_pathc] = NULL;
189 for (i = 0;i < pglob->gl_pathc;
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/libxml2-src/
H A Dtestrecurse.c69 size_t gl_pathc; /* Count of paths matched so far */ member in struct:__anon12134
112 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
113 if (ret->gl_pathv[ret->gl_pathc] == NULL)
115 ret->gl_pathc++;
119 if (ret->gl_pathc + 2 > nb_paths) {
127 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
128 if (ret->gl_pathv[ret->gl_pathc] == NULL)
130 ret->gl_pathc++;
132 ret->gl_pathv[ret->gl_pathc] = NULL;
146 for (i = 0;i < pglob->gl_pathc;
[all...]
H A Druntest.c115 size_t gl_pathc; /* Count of paths matched so far */ member in struct:__anon12132
158 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
159 if (ret->gl_pathv[ret->gl_pathc] == NULL)
161 ret->gl_pathc++;
165 if (ret->gl_pathc + 2 > nb_paths) {
173 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
174 if (ret->gl_pathv[ret->gl_pathc] == NULL)
176 ret->gl_pathc++;
178 ret->gl_pathv[ret->gl_pathc] = NULL;
192 for (i = 0;i < pglob->gl_pathc;
[all...]
/macosx-10.9.5/Libc-997.90.3/include/
H A Dglob.h53 size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon2867
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/include/
H A Dglob.h53 size_t gl_pathc; member in struct:_glob_
/macosx-10.9.5/sudo-72/src/
H A Dglob.c192 pglob->gl_pathc = 0;
487 oldpathc = pglob->gl_pathc;
563 if (pglob->gl_pathc == oldpathc) {
571 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
730 * add the new item, and update gl_pathc.
739 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
740 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
753 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);
781 pathv[pglob->gl_offs + pglob->gl_pathc
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/
H A Dglob.c276 gp->gl_pathc++;
611 gp->gl_pathc = 0;
675 skip = gp->gl_pathc;
763 if (gp->gl_pathc == skip)
767 gp->gl_pathc++;
779 argv = (char**)stakalloc((gp->gl_pathc + extra) * sizeof(char*));
805 av[gp->gl_pathc = struniq(av, argv - av)] = 0;
/macosx-10.9.5/less-23/less/
H A Dlglob.h40 #define SCAN_GLOB_LIST(list,p) i = 0; i < list.gl_pathc; i++
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/
H A Dglob.c202 pglob->gl_pathc = 0;
489 oldpathc = pglob->gl_pathc;
557 if (pglob->gl_pathc == oldpathc) {
567 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
763 * add the new item, and update gl_pathc.
772 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
773 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
783 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);
815 pathv[pglob->gl_offs + pglob->gl_pathc
[all...]
/macosx-10.9.5/man-16/man/src/
H A Dglob.c14 result = malloc((g.gl_pathc + 1) * sizeof(char *));
15 for (i = 0; i < g.gl_pathc; i++) {
18 result[g.gl_pathc] = NULL;
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftpd/
H A Dpopen.c151 gl.gl_pathc == 0)
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Daaplbfct.cpp232 if (dirGlob.gl_pathc == 0) {
273 if (fileGlob.gl_pathc == 0) {
/macosx-10.9.5/rsync-42/rsync/
H A Dutil.c554 if (MAX((int)globbuf.gl_pathc, 1) > maxargs - argc) {
555 maxargs += globbuf.gl_pathc + MAX_ARGS;
561 if (globbuf.gl_pathc == 0)
566 for (i = 0; i < (int)globbuf.gl_pathc; i++) {
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/
H A Dcftoken.l735 if (incstack[incstackp].matches.gl_pathc != 0 &&
738 incstack[incstackp].matches.gl_pathc) {
819 incstack[incstackp].matches.gl_pathc == 0) {
828 if (incstack[incstackp].matchon >= incstack[incstackp].matches.gl_pathc)

Completed in 237 milliseconds

12