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

/freebsd-9.3-release/contrib/tcsh/
H A Dglob.h41 int gl_pathc; /* Count of total paths so far. */ member in struct:__anon4180
H A Dglob.c298 pglob->gl_pathc = 0;
305 oldpathc = pglob->gl_pathc;
422 if (pglob->gl_pathc == oldpathc &&
449 else if (!(flags & GLOB_NOSORT) && (pglob->gl_pathc != oldpathc))
451 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
653 * add the new item, and update gl_pathc.
662 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
663 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
672 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc
[all...]
H A Dsh.glob.c445 globv.gl_pathc = 0;
472 vl = (globv.gl_pathc == 0 || (magic && !match && !nonomatch)) ?
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dglob.h52 int gl_pathc; /* Count of total paths so far. */ member in struct:__anon4712
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...]
/freebsd-9.3-release/include/
H A Dglob.h49 size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon4949
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dglob.hin56 int gl_pathc; /* Count of total paths so far. */
H A Dglob.c181 pglob->gl_pathc = 0;
414 oldpathc = pglob->gl_pathc;
478 if (pglob->gl_pathc == oldpathc &&
485 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
638 * add the new item, and update gl_pathc.
647 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
648 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
659 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);
680 pathv[pglob->gl_offs + pglob->gl_pathc
[all...]
/freebsd-9.3-release/usr.bin/login/
H A Dlogin_fbtab.c132 for (i = 0; i < gl.gl_pathc; i++) {
/freebsd-9.3-release/sbin/restore/
H A Dinteractive.c376 if (ap->glob.gl_pathc == 0)
379 ap->argcnt = ap->glob.gl_pathc;
382 strncpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);
/freebsd-9.3-release/contrib/less/
H A Dlglob.h39 #define SCAN_GLOB_LIST(list,p) i = 0; i < list.gl_pathc; i++
/freebsd-9.3-release/lib/libc/gen/
H A Dglob.c205 pglob->gl_pathc = 0;
475 oldpathc = pglob->gl_pathc;
539 if (pglob->gl_pathc == oldpathc) {
549 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
742 * add the new item, and update gl_pathc.
751 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
752 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
768 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);
796 pathv[pglob->gl_offs + pglob->gl_pathc
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c153 gl.gl_pathc == 0)
H A Dftpcmd.y865 gl.gl_pathc == 0) {
H A Dftpcmd.c2707 gl.gl_pathc == 0) {
H A Dftpd.c2259 } else if (gl.gl_pathc == 0) {
/freebsd-9.3-release/libexec/ftpd/
H A Dpopen.c113 else if (gl.gl_pathc > 0) {
H A Dftpcmd.y1738 if (glob(s, flags, NULL, &gl) == 0 && gl.gl_pathc != 0) {
H A Dftpd.c3177 } else if (gl.gl_pathc == 0) {
/freebsd-9.3-release/crypto/openssh/
H A Dsftp.c869 (g.gl_pathc && !g.gl_matchc)) {
870 if (g.gl_pathc)
929 if (g.gl_pathc)
1614 if (g.gl_pathc)
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c539 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
1573 gl.gl_pathc == 0) {
/freebsd-9.3-release/contrib/tnftp/src/
H A Dutil.c643 if (glob(pattern, flags, NULL, &gl) || gl.gl_pathc == 0) {
H A Dcmds.c531 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
/freebsd-9.3-release/contrib/lukemftpd/src/
H A Dftpd.c3372 } else if (gl.gl_pathc == 0) {

Completed in 320 milliseconds