| /src/tests/include/ |
| 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);
|
| /src/include/ |
| glob.h | 53 __gl_size_t gl_pathc; /* Count of total paths so far. */ member in struct:__anon122
|
| /src/tests/lib/libc/gen/ |
| t_glob.c | 238 for (i = 0; i < gl.gl_pathc; i++) 245 while ((name = va_arg(res, const char *)) != NULL && i < gl.gl_pathc) { 250 ATF_CHECK_EQ_MSG(i, gl.gl_pathc, 251 "expected %zu results, got %zu", i, gl.gl_pathc);
|
| /src/sbin/restore/ |
| interactive.c | 393 if (ap->glob.gl_pathc == 0) 396 ap->argcnt = ap->glob.gl_pathc; 399 strlcpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);
|
| /src/lib/libc/gen/ |
| glob.c | 196 pglob->gl_pathc = 0; 491 oldpathc = pglob->gl_pathc; 552 if (pglob->gl_pathc == oldpathc) { 569 (size_t)pglob->gl_pathc - oldpathc, sizeof(char *), 878 * add the new item, and update gl_pathc. 887 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and 888 * gl_pathv points to (gl_offs + gl_pathc + 1) items. 901 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs); 927 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy [all...] |
| /src/usr.bin/apropos/ |
| apropos.c | 140 if (pg.gl_pathc)
|
| /src/usr.bin/man/ |
| man.c | 612 cnt = pg->gl_pathc - pg->gl_matchc; 660 for (cnt = pg->gl_pathc - pg->gl_matchc; 661 cnt < pg->gl_pathc; ++cnt) { 705 while (++cnt< pg->gl_pathc)
|
| /src/usr.bin/whatis/ |
| whatis.c | 129 if (pg.gl_pathc)
|
| /src/usr.sbin/catman/ |
| catman.c | 279 for (i = 0; i < manpaths.gl_pathc; i++) { 282 for (j = 0; j < manpaths.gl_pathc; j++) {
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_platform_limits_openbsd.h | 313 int gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t
|
| sanitizer_platform_limits_solaris.h | 336 uptr gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t
|
| sanitizer_platform_limits_freebsd.h | 355 uptr gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t
|
| sanitizer_platform_limits_openbsd.cc | 145 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
|
| sanitizer_platform_limits_solaris.cc | 206 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
|
| sanitizer_platform_limits_freebsd.cc | 370 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
|
| sanitizer_platform_limits_posix.h | 755 uptr gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t
|
| sanitizer_platform_limits_netbsd.h | 383 uptr gl_pathc; member in struct:__sanitizer::__sanitizer_glob_t
|
| sanitizer_platform_limits_posix.cc | 965 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
|
| sanitizer_platform_limits_netbsd.cc | 2365 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
|
| /src/bin/csh/ |
| glob.c | 386 globv.gl_pathc = 0; 411 vl = (globv.gl_pathc == 0 || (magic && !match && !nonomatch)) ?
|
| /src/usr.bin/ftp/ |
| util.c | 637 if (glob(pattern, flags, NULL, &gl) || gl.gl_pathc == 0) {
|
| cmds.c | 525 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
|
| /src/usr.bin/mail/ |
| complete.c | 217 if (glob(pattern, flags, NULL, &gl) || gl.gl_pathc == 0) {
|
| /src/usr.sbin/inetd/ |
| parse.c | 1292 for (size_t i = 0; i < results.gl_pathc; i++) {
|
| /src/libexec/ftpd/ |
| ftpd.c | 3446 } else if (gl.gl_pathc == 0) {
|