/src/usr.bin/man/ |
man.c | 416 for (ap = pg.gl_pathv; *ap != NULL; ++ap) { 424 for (ap = pg.gl_pathv; *ap != NULL; ++ap) { 432 for (ap = pg.gl_pathv; *ap != NULL; ++ap) { 445 for (ap = pg.gl_pathv, len = m.pagerlen + 1; *ap != NULL; ++ap) { 462 for (ap = pg.gl_pathv; *ap != NULL; ++ap) { 614 if (manual_find_literalfile(mp, &pg->gl_pathv[cnt])) { 618 *pg->gl_pathv[cnt] = '\0'; 665 p = strstr(pg->gl_pathv[cnt], mp->pathsearch); 667 *pg->gl_pathv[cnt] = '\0'; /* zap! */ 682 if (!fnmatch(buf, pg->gl_pathv[cnt], 0) [all...] |
/src/include/ |
glob.h | 55 __gl_size_t gl_offs; /* Reserved at beginning of gl_pathv. */ 57 char **gl_pathv; /* List of paths matching pattern. */ member in struct:__anona3eef6fa0108
|
/src/usr.sbin/catman/ |
catman.c | 281 lstat(manpaths.gl_pathv[i], &st1); 284 lstat(manpaths.gl_pathv[j], &st2); 286 strlcpy(path, manpaths.gl_pathv[i], 297 len = readlink(manpaths.gl_pathv[i], 302 if (!strcmp(path, manpaths.gl_pathv[j])) 311 if (addentry(defnewp, manpaths.gl_pathv[i], 0) < 0)
|
/src/libexec/ftpd/ |
popen.c | 143 || gl.gl_pathv == NULL) { 149 for (pop = gl.gl_pathv; *pop; pop++) {
|
conf.c | 570 for (rlist = gl.gl_pathv; *rlist != NULL; rlist++) {
|
/src/lib/libc/gen/ |
glob.c | 197 pglob->gl_pathv = NULL; 568 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc, 877 * Extend the gl_pathv member of a glob_t structure to accommodate a new item, 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. 905 pathv = pglob->gl_pathv ? realloc(pglob->gl_pathv, newsize) : 910 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) { 916 pglob->gl_pathv = pathv; 1021 if (pglob->gl_pathv != NULL) [all...] |
/src/tests/lib/libc/gen/ |
t_glob.c | 239 DPRINTF(("glob result %zu: %s\n", i, gl.gl_pathv[i])); 246 ATF_CHECK_STREQ(gl.gl_pathv[i], name);
|
/src/usr.bin/apropos/ |
apropos.c | 141 for (p = pg.gl_pathv; *p; p++)
|
/src/usr.bin/whatis/ |
whatis.c | 130 for (p = pg.gl_pathv; *p; p++)
|
/src/sbin/restore/ |
interactive.c | 399 strlcpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_platform_limits_openbsd.h | 317 char **gl_pathv; member in struct:__sanitizer::__sanitizer_glob_t
|
sanitizer_platform_limits_solaris.h | 337 char **gl_pathv; member in struct:__sanitizer::__sanitizer_glob_t
|
sanitizer_platform_limits_freebsd.h | 359 char **gl_pathv; member in struct:__sanitizer::__sanitizer_glob_t
|
sanitizer_platform_limits_openbsd.cc | 146 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathv);
|
sanitizer_platform_limits_solaris.cc | 207 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathv);
|
sanitizer_platform_limits_freebsd.cc | 371 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathv);
|
sanitizer_platform_limits_posix.h | 756 char **gl_pathv; member in struct:__sanitizer::__sanitizer_glob_t
|
sanitizer_platform_limits_posix.cc | 966 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathv);
|
sanitizer_platform_limits_netbsd.h | 387 char **gl_pathv; member in struct:__sanitizer::__sanitizer_glob_t
|
/src/bin/csh/ |
glob.c | 385 globv.gl_pathv = 0; 412 NULL : blk2short(globv.gl_pathv);
|
/src/libexec/makewhatis/ |
makewhatis.c | 191 for (p = pg.gl_pathv; *p; p++) {
|
/src/usr.bin/mail/ |
complete.c | 222 p = estrdup(gl.gl_pathv[0]);
|
/src/usr.sbin/inetd/ |
parse.c | 1262 include_matched_path(results.gl_pathv[i]);
|
/src/usr.bin/ftp/ |
util.c | 642 p = ftp_strdup(gl.gl_pathv[0]);
|
cmds.c | 530 for (cpp = gl.gl_pathv; cpp && *cpp != NULL && connected;
|