/freebsd-current/contrib/netbsd-tests/include/ |
H A D | t_glob.c | 54 * 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 D | glob-compat11.h | 41 size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon96
|
H A D | glob-compat11.c | 164 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 D | glob.c | 196 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 D | glob.h | 41 int gl_pathc; /* Count of total paths so far. */ member in struct:__anon6210
|
H A D | glob.c | 306 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 D | common.h | 36 g.gl_pathc = 0;
|
H A D | destructive.c | 50 g.gl_pathc = 0;
|
/freebsd-current/include/ |
H A D | glob.h | 48 size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon49
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | glob.c | 192 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 D | glob.h | 57 size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon19
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | glob.c | 179 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 D | login_fbtab.c | 128 for (i = 0; i < gl.gl_pathc; i++) {
|
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_glob.c | 211 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 D | interactive.c | 368 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 D | lglob.h | 39 #define SCAN_GLOB_LIST(list,p) i = 0; i < list.gl_pathc; i++
|
/freebsd-current/crypto/openssh/ |
H A D | sftp-glob.c | 169 pglob->gl_pathc == 1 && (s = pglob->gl_pathv[0]) != NULL &&
|
H A D | sftp.c | 983 (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 D | sesutil.c | 229 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 D | popen.c | 151 gl.gl_pathc == 0)
|
/freebsd-current/libexec/ftpd/ |
H A D | popen.c | 101 else if (gl.gl_pathc > 0) {
|
/freebsd-current/contrib/unbound/util/ |
H A D | configlexer.lex | 153 for(i=(int)g.gl_pathc-1; i>=0; i--) {
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_solaris.h | 335 uptr gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t
|
H A D | sanitizer_platform_limits_solaris.cpp | 208 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
|
H A D | sanitizer_platform_limits_freebsd.h | 373 uptr gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t
|