Searched refs:pglob (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dglob.c179 glob_t *pglob)
191 pglob->gl_pathc = 0;
192 pglob->gl_pathv = NULL;
193 pglob->gl_statv = NULL;
195 pglob->gl_offs = 0;
197 pglob->gl_flags = flags & ~GLOB_MAGCHAR;
198 pglob->gl_errfunc = errfunc;
199 pglob->gl_matchc = 0;
201 if (pglob->gl_offs < 0 || pglob
178 glob(const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) argument
237 globexp1(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument
258 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument
363 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) argument
472 glob0(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument
610 glob1(Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) argument
628 glob2(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) argument
696 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
796 globextend(const Char *path, glob_t *pglob, struct glob_lim *limitp, struct stat *sb) argument
960 globfree(glob_t *pglob) argument
984 g_opendir(Char *str, glob_t *pglob) argument
1002 g_lstat(Char *fn, struct stat *sb, glob_t *pglob) argument
1014 g_stat(Char *fn, struct stat *sb, glob_t *pglob) argument
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dglob.c171 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-11-stable/lib/libc/gen/
H A Dglob.c188 int (*errfunc)(const char *, int), glob_t * __restrict pglob)
200 pglob->gl_pathc = 0;
201 pglob->gl_pathv = NULL;
203 pglob->gl_offs = 0;
206 limit.l_path_lim = pglob->gl_matchc;
210 pglob->gl_flags = flags & ~GLOB_MAGCHAR;
211 pglob->gl_errfunc = errfunc;
212 pglob->gl_matchc = 0;
222 return (err_nomatch(pglob, &limit, pattern));
244 return (err_nomatch(pglob,
187 glob(const char * __restrict pattern, int flags, int (*errfunc)(const char *, int), glob_t * __restrict pglob) argument
264 globexp0(const Char *pattern, glob_t *pglob, struct glob_limit *limit, const char *origpat) argument
293 globexp1(const Char *pattern, glob_t *pglob, struct glob_limit *limit) argument
316 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, struct glob_limit *limit) argument
420 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) argument
532 glob0(const Char *pattern, glob_t *pglob, struct glob_limit *limit, const char *origpat) argument
609 globfinal(glob_t *pglob, struct glob_limit *limit, size_t oldpathc, const char *origpat) argument
628 glob1(Char *pattern, glob_t *pglob, struct glob_limit *limit) argument
645 glob2(Char *pathbuf, Char *pathend, Char *pathend_last, Char *pattern, glob_t *pglob, struct glob_limit *limit) argument
715 glob3(Char *pathbuf, Char *pathend, Char *pathend_last, Char *pattern, Char *restpattern, glob_t *pglob, struct glob_limit *limit) argument
849 globextend(const Char *path, glob_t *pglob, struct glob_limit *limit, const char *origpat) argument
965 globfree(glob_t *pglob) argument
981 g_opendir(Char *str, glob_t *pglob) argument
1001 g_lstat(Char *fn, struct stat *sb, glob_t *pglob) argument
1015 g_stat(Char *fn, struct stat *sb, glob_t *pglob) argument
1064 err_nomatch(glob_t *pglob, struct glob_limit *limit, const char *origpat) argument
1079 err_aborted(glob_t *pglob, int err, char *buf) argument
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dglob.c295 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-11-stable/crypto/openssh/
H A Dsftp-glob.c138 int (*errfunc)(const char *, int), glob_t *pglob)
140 pglob->gl_opendir = fudge_opendir;
141 pglob->gl_readdir = (struct dirent *(*)(void *))fudge_readdir;
142 pglob->gl_closedir = (void (*)(void *))fudge_closedir;
143 pglob->gl_lstat = fudge_lstat;
144 pglob->gl_stat = fudge_stat;
149 return(glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob));
137 remote_glob(struct sftp_conn *conn, const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) argument
/freebsd-11-stable/usr.sbin/newsyslog/
H A Dnewsyslog.c990 glob_t pglob; local
1002 gres = glob(globent->log, GLOB_NOCHECK, NULL, &pglob);
1011 for (i = 0; i < pglob.gl_matchc; i++) {
1012 mfname = pglob.gl_pathv[i];
1049 globfree(&pglob);
1068 glob_t pglob; local
1131 res = glob(q, GLOB_NOCHECK, NULL, &pglob);
1141 for (i = 0; i < pglob.gl_matchc; i++)
1142 add_to_queue(pglob.gl_pathv[i],
1144 globfree(&pglob);
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2251 static void unpoison_glob_t(void *ctx, __sanitizer_glob_t *pglob) {
2252 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pglob, sizeof(*pglob));
2254 if (pglob->gl_pathv)
2256 ctx, pglob->gl_pathv, (pglob->gl_pathc + 1) * sizeof(*pglob->gl_pathv));
2257 for (SIZE_T i = 0; i < pglob->gl_pathc; ++i) {
2258 char *p = pglob->gl_pathv[i];
2266 __sanitizer_glob_t *pglob) {
[all...]

Completed in 169 milliseconds