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

12

/freebsd-current/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-current/lib/libc/gen/
H A Dglob-compat11.h41 size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon96
H A Dglob-compat11.c164 pglob->gl_pathc = 0;
243 oldpathc = pglob->gl_pathc;
507 oldpathc = pglob->gl_pathc;
574 if (pglob->gl_pathc == oldpathc)
579 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
800 * add the new item, and update gl_pathc.
809 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
810 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
827 newn = 2 + pglob->gl_pathc
[all...]
H A Dglob.c196 pglob->gl_pathc = 0;
275 oldpathc = pglob->gl_pathc;
539 oldpathc = pglob->gl_pathc;
607 if (pglob->gl_pathc == oldpathc)
612 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
832 * add the new item, and update gl_pathc.
841 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
842 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
859 newn = 2 + pglob->gl_pathc
[all...]
/freebsd-current/contrib/tcsh/
H A Dglob.h41 int gl_pathc; /* Count of total paths so far. */ member in struct:__anon6210
H A Dglob.c306 pglob->gl_pathc = 0;
313 oldpathc = pglob->gl_pathc;
430 if (pglob->gl_pathc == oldpathc &&
458 else if (!(flags & GLOB_NOSORT) && (pglob->gl_pathc != oldpathc))
460 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
662 * add the new item, and update gl_pathc.
671 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
672 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
681 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc
[all...]
/freebsd-current/tests/sys/ses/
H A Dcommon.h36 g.gl_pathc = 0;
H A Ddestructive.c50 g.gl_pathc = 0;
/freebsd-current/include/
H A Dglob.h48 size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon49
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dglob.c192 pglob->gl_pathc = 0;
205 if (pglob->gl_offs >= SSIZE_MAX || pglob->gl_pathc >= SSIZE_MAX ||
206 pglob->gl_pathc >= SSIZE_MAX - pglob->gl_offs - 1)
483 oldpathc = pglob->gl_pathc;
561 if (pglob->gl_pathc == oldpathc) {
574 size_t n = pglob->gl_pathc - oldpathc;
591 pglob->gl_pathc - oldpathc, sizeof(char *),
787 * add the new item, and update gl_pathc.
796 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc >
[all...]
H A Dglob.h57 size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon19
/freebsd-current/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-current/usr.bin/login/
H A Dlogin_fbtab.c128 for (i = 0; i < gl.gl_pathc; i++) {
/freebsd-current/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-current/sbin/restore/
H A Dinteractive.c368 if (ap->glob.gl_pathc == 0)
371 ap->argcnt = ap->glob.gl_pathc;
374 strncpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);
/freebsd-current/contrib/less/
H A Dlglob.h39 #define SCAN_GLOB_LIST(list,p) i = 0; i < list.gl_pathc; i++
/freebsd-current/crypto/openssh/
H A Dsftp-glob.c169 pglob->gl_pathc == 1 && (s = pglob->gl_pathv[0]) != NULL &&
H A Dsftp.c983 (g.gl_pathc && !g.gl_matchc)) {
984 if (g.gl_pathc)
1070 if (g.gl_pathc)
1807 if (g.gl_pathc)
/freebsd-current/usr.sbin/sesutil/
H A Dsesutil.c229 for (i = 0; i < g.gl_pathc; i++) {
240 if (errno == EACCES && g.gl_pathc > 1) {
447 for (i = 0; i < g.gl_pathc; i++) {
458 if (errno == EACCES && g.gl_pathc > 1) {
749 for (i = 0; i < g.gl_pathc; i++) {
760 if (errno == EACCES && g.gl_pathc > 1) {
901 for (i = 0; i < g.gl_pathc; i++) {
912 if (errno == EACCES && g.gl_pathc > 1) {
/freebsd-current/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c151 gl.gl_pathc == 0)
/freebsd-current/libexec/ftpd/
H A Dpopen.c101 else if (gl.gl_pathc > 0) {
/freebsd-current/contrib/unbound/util/
H A Dconfiglexer.lex153 for(i=(int)g.gl_pathc-1; i>=0; i--) {
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.h335 uptr gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t
H A Dsanitizer_platform_limits_solaris.cpp208 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
H A Dsanitizer_platform_limits_freebsd.h373 uptr gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t

Completed in 309 milliseconds

12