Home
last modified time | relevance | path

Searched refs:gl_pathc (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-11-stable/crypto/openssh/openbsd-compat/
HDglob.c191 pglob->gl_pathc = 0; in glob()
201 if (pglob->gl_offs < 0 || pglob->gl_pathc < 0 || in glob()
202 pglob->gl_offs >= INT_MAX || pglob->gl_pathc >= INT_MAX || in glob()
203 pglob->gl_pathc >= INT_MAX - pglob->gl_offs - 1) in glob()
479 oldpathc = pglob->gl_pathc;
557 if (pglob->gl_pathc == oldpathc) {
570 int n = pglob->gl_pathc - oldpathc;
587 pglob->gl_pathc - oldpathc, sizeof(char *),
806 newn = 2 + pglob->gl_pathc + pglob->gl_offs;
808 pglob->gl_pathc >= INT_MAX ||
[all …]
HDglob.h56 int gl_pathc; /* Count of total paths so far. */ member
/freebsd-11-stable/contrib/netbsd-tests/include/
HDt_glob.c63 g.gl_pathc = g.gl_pathc - 1; in ATF_TC_BODY()
65 ATF_REQUIRE(g.gl_pathc > 0); in ATF_TC_BODY()
/freebsd-11-stable/contrib/tcsh/
HDglob.c306 pglob->gl_pathc = 0; in glob()
313 oldpathc = pglob->gl_pathc; in glob()
430 if (pglob->gl_pathc == oldpathc && in glob()
458 else if (!(flags & GLOB_NOSORT) && (pglob->gl_pathc != oldpathc)) in glob()
460 pglob->gl_pathc - oldpathc, sizeof(char *), compare); in glob()
681 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs); in globextend()
692 pathv[pglob->gl_offs + pglob->gl_pathc++] = strsave(path); in globextend()
693 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; in globextend()
796 for (i = pglob->gl_pathc; i--; ++pp) in globfree()
HDglob.h41 int gl_pathc; /* Count of total paths so far. */ member
HDsh.glob.c441 globv.gl_pathc = 0; in libglob()
468 vl = (globv.gl_pathc == 0 || (magic && !match && !nonomatch)) ? in libglob()
/freebsd-11-stable/crypto/heimdal/lib/roken/
HDglob.c179 pglob->gl_pathc = 0; in glob()
412 oldpathc = pglob->gl_pathc; in glob0()
476 if (pglob->gl_pathc == oldpathc && in glob0()
483 pglob->gl_pathc - oldpathc, sizeof(char *), compare); in glob0()
657 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs); in globextend()
678 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy; in globextend()
680 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; in globextend()
750 for (i = pglob->gl_pathc; i--; ++pp) in globfree()
HDglob.hin58 int gl_pathc; /* Count of total paths so far. */
/freebsd-11-stable/usr.sbin/sesutil/
HDsesutil.c215 for (i = 0; i < g.gl_pathc; i++) { in sesled()
226 if (errno == EACCES && g.gl_pathc > 1) { in sesled()
404 for (i = 0; i < g.gl_pathc; i++) { in objmap()
415 if (errno == EACCES && g.gl_pathc > 1) { in objmap()
540 for (i = 0; i < g.gl_pathc; i++) { in encstatus()
551 if (errno == EACCES && g.gl_pathc > 1) { in encstatus()
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
HDt_glob.c211 for (i = 0; i < gl.gl_pathc; i++) in run()
214 ATF_CHECK(len == gl.gl_pathc); in run()
215 for (i = 0; i < gl.gl_pathc; i++) in run()
/freebsd-11-stable/lib/libc/gen/
HDglob.c200 pglob->gl_pathc = 0; in glob()
279 oldpathc = pglob->gl_pathc; in globexp0()
544 oldpathc = pglob->gl_pathc; in glob0()
611 if (pglob->gl_pathc == oldpathc) in globfinal()
616 pglob->gl_pathc - oldpathc, sizeof(char *), compare); in globfinal()
863 newn = 2 + pglob->gl_pathc + pglob->gl_offs; in globextend()
899 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy; in globextend()
901 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; in globextend()
972 for (i = pglob->gl_pathc; i--; ++pp) in globfree()
/freebsd-11-stable/include/
HDglob.h49 size_t gl_pathc; /* Count of total paths so far. */ member
/freebsd-11-stable/sbin/restore/
HDinteractive.c375 if (ap->glob.gl_pathc == 0) in getcmd()
378 ap->argcnt = ap->glob.gl_pathc; in getcmd()
381 strncpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size); in getcmd()
/freebsd-11-stable/usr.bin/login/
HDlogin_fbtab.c131 for (i = 0; i < gl.gl_pathc; i++) { in login_protect()
/freebsd-11-stable/contrib/less/
HDlglob.h39 #define SCAN_GLOB_LIST(list,p) i = 0; i < list.gl_pathc; i++
/freebsd-11-stable/libexec/ftpd/
HDpopen.c108 else if (gl.gl_pathc > 0) { in ftpd_popen()
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
HDpopen.c151 gl.gl_pathc == 0) in ftpd_popen()
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_platform_limits_openbsd.h312 int gl_pathc; member
HDsanitizer_platform_limits_openbsd.cpp144 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
HDsanitizer_platform_limits_solaris.h334 uptr gl_pathc; member
HDsanitizer_platform_limits_solaris.cpp205 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
HDsanitizer_platform_limits_freebsd.h354 uptr gl_pathc; member
HDsanitizer_platform_limits_freebsd.cpp371 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
/freebsd-11-stable/crypto/openssh/
HDsftp.c898 (g.gl_pathc && !g.gl_matchc)) { in do_globbed_ls()
899 if (g.gl_pathc) in do_globbed_ls()
962 if (g.gl_pathc) in do_globbed_ls()
1660 if (g.gl_pathc) in parse_dispatch_command()
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
HDcmds.c539 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) { in mput()
1573 gl.gl_pathc == 0) { in globulize()

12