Searched refs:gl_pathc (Results 1 - 25 of 41) sorted by path

12

/freebsd-11-stable/contrib/libucl/src/
H A Ducl_util.c1276 for (i = 0; i < globbuf.gl_pathc; i ++) {
/freebsd-11-stable/contrib/netbsd-tests/include/
H A Dt_glob.c54 * size_t gl_pathc Count of paths matched by pattern.
58 * Verify that gl_pathc and gl_offs are unsigned; PR standards/21401.
63 g.gl_pathc = g.gl_pathc - 1;
65 ATF_REQUIRE(g.gl_pathc > 0);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_glob.c211 for (i = 0; i < gl.gl_pathc; i++)
214 ATF_CHECK(len == gl.gl_pathc);
215 for (i = 0; i < gl.gl_pathc; i++)
/freebsd-11-stable/contrib/tnftp/src/
H A Dcmds.c531 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
H A Dutil.c643 if (glob(pattern, flags, NULL, &gl) || gl.gl_pathc == 0) {
/freebsd-11-stable/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-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.c2688 gl.gl_pathc == 0) {
H A Dftpcmd.y847 gl.gl_pathc == 0) {
H A Dftpd.c2235 } else if (gl.gl_pathc == 0) {
H A Dpopen.c151 gl.gl_pathc == 0)
/freebsd-11-stable/crypto/heimdal/lib/roken/
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...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dglob.c191 pglob->gl_pathc = 0;
201 if (pglob->gl_offs < 0 || pglob->gl_pathc < 0 ||
202 pglob->gl_offs >= INT_MAX || pglob->gl_pathc >= INT_MAX ||
203 pglob->gl_pathc >= INT_MAX - pglob->gl_offs - 1)
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 *),
783 * add the new item, and update gl_pathc.
792 * Either gl_pathc i
[all...]
H A Dglob.h56 int gl_pathc; /* Count of total paths so far. */ member in struct:__anon6130
/freebsd-11-stable/crypto/openssh/
H A Dreadconf.c1516 } else if (r != 0 || gl.gl_pathc < 0)
1521 for (i = 0; i < (u_int)gl.gl_pathc; i++) {
H A Dsftp.c898 (g.gl_pathc && !g.gl_matchc)) {
899 if (g.gl_pathc)
962 if (g.gl_pathc)
1660 if (g.gl_pathc)
/freebsd-11-stable/include/
H A Dglob.h49 size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon6512
/freebsd-11-stable/lib/libc/gen/
H A Dglob.c200 pglob->gl_pathc = 0;
279 oldpathc = pglob->gl_pathc;
544 oldpathc = pglob->gl_pathc;
611 if (pglob->gl_pathc == oldpathc)
616 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
836 * add the new item, and update gl_pathc.
845 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
846 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
863 newn = 2 + pglob->gl_pathc
[all...]
/freebsd-11-stable/libexec/ftpd/
H A Dpopen.c108 else if (gl.gl_pathc > 0) {
/freebsd-11-stable/sbin/restore/
H A Dinteractive.c375 if (ap->glob.gl_pathc == 0)
378 ap->argcnt = ap->glob.gl_pathc;
381 strncpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);
/freebsd-11-stable/usr.bin/login/
H A Dlogin_fbtab.c131 for (i = 0; i < gl.gl_pathc; i++) {
/freebsd-11-stable/contrib/less/
H A Dlglob.h39 #define SCAN_GLOB_LIST(list,p) i = 0; i < list.gl_pathc; i++
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2256 ctx, pglob->gl_pathv, (pglob->gl_pathc + 1) * sizeof(*pglob->gl_pathv));
2257 for (SIZE_T i = 0; i < pglob->gl_pathc; ++i) {
H A Dsanitizer_platform_limits_freebsd.cpp371 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
H A Dsanitizer_platform_limits_freebsd.h354 uptr gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t
H A Dsanitizer_platform_limits_netbsd.cpp2245 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);

Completed in 441 milliseconds

12