/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | glob.c | 183 glob_t *pglob) 192 pglob->gl_pathc = 0; 193 pglob->gl_pathv = NULL; 194 pglob->gl_statv = NULL; 196 pglob->gl_offs = 0; 198 pglob->gl_flags = flags & ~GLOB_MAGCHAR; 199 pglob->gl_errfunc = errfunc; 200 pglob->gl_matchc = 0; 205 if (pglob->gl_offs >= SSIZE_MAX || pglob 182 glob(const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) argument 240 globexp1(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument 261 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument 366 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) argument 475 glob0(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument 614 glob1(Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) argument 632 glob2(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) argument 700 glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, Char *pattern, Char *restpattern, Char *restpattern_last, glob_t *pglob, struct glob_lim *limitp) argument 800 globextend(const Char *path, glob_t *pglob, struct glob_lim *limitp, struct stat *sb) argument 975 globfree(glob_t *pglob) argument 997 g_opendir(Char *str, glob_t *pglob) argument 1015 g_lstat(Char *fn, struct stat *sb, glob_t *pglob) argument 1027 g_stat(Char *fn, struct stat *sb, glob_t *pglob) argument [all...] |
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | glob.c | 171 glob_t *pglob) 179 pglob->gl_pathc = 0; 180 pglob->gl_pathv = NULL; 182 pglob->gl_offs = 0; 184 pglob->gl_flags = flags & ~GLOB_MAGCHAR; 185 pglob->gl_errfunc = errfunc; 186 pglob->gl_matchc = 0; 209 return globexp1(patbuf, pglob); 211 return glob0(patbuf, pglob); 219 static int globexp1(const Char *pattern, glob_t *pglob) argument 168 glob(const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) argument 241 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, int *rv) argument 345 globtilde(const Char *pattern, Char *patbuf, glob_t *pglob) argument 404 glob0(const Char *pattern, glob_t *pglob) argument 494 glob1(Char *pattern, glob_t *pglob, size_t *limit) argument 519 glob2(Char *pathbuf, Char *pathend, Char *pattern, glob_t *pglob, size_t *limit) argument 570 glob3(Char *pathbuf, Char *pathend, Char *pattern, Char *restpattern, glob_t *pglob, size_t *limit) argument 649 globextend(const Char *path, glob_t *pglob, size_t *limit) argument 743 globfree(glob_t *pglob) argument 759 g_opendir(Char *str, glob_t *pglob) argument 775 g_lstat(Char *fn, struct stat *sb, glob_t *pglob) argument 786 g_stat(Char *fn, struct stat *sb, glob_t *pglob) argument [all...] |
/freebsd-current/crypto/openssh/ |
H A D | sftp-glob.c | 138 int (*errfunc)(const char *, int), glob_t *pglob) 145 pglob->gl_opendir = fudge_opendir; 146 pglob->gl_readdir = (struct dirent *(*)(void *))fudge_readdir; 147 pglob->gl_closedir = (void (*)(void *))fudge_closedir; 148 pglob->gl_lstat = fudge_lstat; 149 pglob->gl_stat = fudge_stat; 154 if ((r = glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob)) != 0) 168 pglob->gl_matchc == 0 && pglob->gl_offs == 0 && 169 pglob 137 sftp_glob(struct sftp_conn *conn, const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) argument [all...] |
/freebsd-current/lib/libc/gen/ |
H A D | glob-compat11.c | 152 int (*errfunc)(const char *, int), glob11_t * __restrict pglob) 164 pglob->gl_pathc = 0; 165 pglob->gl_pathv = NULL; 167 pglob->gl_offs = 0; 170 limit.l_path_lim = pglob->gl_matchc; 174 pglob->gl_flags = flags & ~GLOB_MAGCHAR; 175 pglob->gl_errfunc = errfunc; 176 pglob->gl_matchc = 0; 186 return (err_nomatch(pglob, &limit, pattern)); 208 return (err_nomatch(pglob, 151 freebsd11_glob(const char * __restrict pattern, int flags, int (*errfunc)(const char *, int), glob11_t * __restrict pglob) argument 228 globexp0(const Char *pattern, glob11_t *pglob, struct glob_limit *limit, const char *origpat) argument 257 globexp1(const Char *pattern, glob11_t *pglob, struct glob_limit *limit) argument 280 globexp2(const Char *ptr, const Char *pattern, glob11_t *pglob, struct glob_limit *limit) argument 384 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob11_t *pglob) argument 495 glob0(const Char *pattern, glob11_t *pglob, struct glob_limit *limit, const char *origpat) argument 572 globfinal(glob11_t *pglob, struct glob_limit *limit, size_t oldpathc, const char *origpat) argument 591 glob1(Char *pattern, glob11_t *pglob, struct glob_limit *limit) argument 608 glob2(Char *pathbuf, Char *pathend, Char *pathend_last, Char *pattern, glob11_t *pglob, struct glob_limit *limit) argument 678 glob3(Char *pathbuf, Char *pathend, Char *pathend_last, Char *pattern, Char *restpattern, glob11_t *pglob, struct glob_limit *limit) argument 813 globextend(const Char *path, glob11_t *pglob, struct glob_limit *limit, const char *origpat) argument 942 freebsd11_globfree(glob11_t *pglob) argument 958 g_opendir(Char *str, glob11_t *pglob) argument 978 g_lstat(Char *fn, struct freebsd11_stat *sb, glob11_t *pglob) argument 992 g_stat(Char *fn, struct freebsd11_stat *sb, glob11_t *pglob) argument 1041 err_nomatch(glob11_t *pglob, struct glob_limit *limit, const char *origpat) argument 1056 err_aborted(glob11_t *pglob, int err, char *buf) argument [all...] |
H A D | glob.c | 184 int (*errfunc)(const char *, int), glob_t * __restrict pglob) 196 pglob->gl_pathc = 0; 197 pglob->gl_pathv = NULL; 199 pglob->gl_offs = 0; 202 limit.l_path_lim = pglob->gl_matchc; 206 pglob->gl_flags = flags & ~GLOB_MAGCHAR; 207 pglob->gl_errfunc = errfunc; 208 pglob->gl_matchc = 0; 218 return (err_nomatch(pglob, &limit, pattern)); 240 return (err_nomatch(pglob, 183 glob(const char * __restrict pattern, int flags, int (*errfunc)(const char *, int), glob_t * __restrict pglob) argument 260 globexp0(const Char *pattern, glob_t *pglob, struct glob_limit *limit, const char *origpat) argument 289 globexp1(const Char *pattern, glob_t *pglob, struct glob_limit *limit) argument 312 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, struct glob_limit *limit) argument 416 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) argument 527 glob0(const Char *pattern, glob_t *pglob, struct glob_limit *limit, const char *origpat) argument 605 globfinal(glob_t *pglob, struct glob_limit *limit, size_t oldpathc, const char *origpat) argument 624 glob1(Char *pattern, glob_t *pglob, struct glob_limit *limit) argument 641 glob2(Char *pathbuf, Char *pathend, Char *pathend_last, Char *pattern, glob_t *pglob, struct glob_limit *limit) argument 711 glob3(Char *pathbuf, Char *pathend, Char *pathend_last, Char *pattern, Char *restpattern, glob_t *pglob, struct glob_limit *limit) argument 845 globextend(const Char *path, glob_t *pglob, struct glob_limit *limit, const char *origpat) argument 974 globfree(glob_t *pglob) argument 990 g_opendir(Char *str, glob_t *pglob) argument 1010 g_lstat(Char *fn, struct stat *sb, glob_t *pglob) argument 1024 g_stat(Char *fn, struct stat *sb, glob_t *pglob) argument 1073 err_nomatch(glob_t *pglob, struct glob_limit *limit, const char *origpat) argument 1088 err_aborted(glob_t *pglob, int err, char *buf) argument [all...] |
/freebsd-current/contrib/tcsh/ |
H A D | glob.c | 295 glob_t *pglob) 306 pglob->gl_pathc = 0; 307 pglob->gl_pathv = NULL; 309 pglob->gl_offs = 0; 311 pglob->gl_flags = flags & ~GLOB_MAGCHAR; 312 pglob->gl_errfunc = errfunc; 313 oldpathc = pglob->gl_pathc; 314 pglob->gl_matchc = 0; 316 if (pglob->gl_flags & GLOB_ALTNOT) { 378 pglob 294 glob(const char *pattern, int flags, int (*errfunc) (const char *, int), glob_t *pglob) argument 466 glob1(Char *pattern, glob_t *pglob, int no_match) argument 487 glob2(struct strbuf *pathbuf, const Char *pattern, glob_t *pglob, int no_match) argument 564 glob3(struct strbuf *pathbuf, const Char *pattern, const Char *restpattern, const Char *pglobstar, glob_t *pglob, int no_match) argument 675 globextend(const char *path, glob_t *pglob) argument 789 globfree(glob_t *pglob) argument [all...] |
/freebsd-current/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 1063 glob_t pglob; local 1075 gres = glob(globent->log, GLOB_NOCHECK, NULL, &pglob); 1084 for (i = 0; i < pglob.gl_matchc; i++) { 1085 mfname = pglob.gl_pathv[i]; 1122 globfree(&pglob); 1141 glob_t pglob; local 1204 res = glob(q, GLOB_NOCHECK, NULL, &pglob); 1214 for (i = 0; i < pglob.gl_matchc; i++) 1215 add_to_queue(pglob.gl_pathv[i], 1217 globfree(&pglob); [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 2283 static void unpoison_glob_t(void *ctx, __sanitizer_glob_t *pglob) { 2284 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pglob, sizeof(*pglob)); 2286 if (pglob->gl_pathv) 2288 ctx, pglob->gl_pathv, (pglob->gl_pathc + 1) * sizeof(*pglob->gl_pathv)); 2289 for (SIZE_T i = 0; i < pglob->gl_pathc; ++i) { 2290 char *p = pglob->gl_pathv[i]; 2298 __sanitizer_glob_t *pglob) { [all...] |