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

/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dglob.c178 glob_t *pglob)
190 pglob->gl_pathc = 0;
191 pglob->gl_pathv = NULL;
192 pglob->gl_statv = NULL;
194 pglob->gl_offs = 0;
196 pglob->gl_flags = flags & ~GLOB_MAGCHAR;
197 pglob->gl_errfunc = errfunc;
198 pglob->gl_matchc = 0;
200 if (pglob->gl_offs < 0 || pglob
177 glob(const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) argument
236 globexp1(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument
257 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument
362 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) argument
471 glob0(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument
609 glob1(Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) argument
627 glob2(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) argument
695 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
795 globextend(const Char *path, glob_t *pglob, struct glob_lim *limitp, struct stat *sb) argument
959 globfree(glob_t *pglob) argument
983 g_opendir(Char *str, glob_t *pglob) argument
1001 g_lstat(Char *fn, struct stat *sb, glob_t *pglob) argument
1013 g_stat(Char *fn, struct stat *sb, glob_t *pglob) argument
[all...]
/macosx-10.9.5/sudo-72/src/
H A Dglob.c181 glob(pattern, flags, errfunc, pglob)
184 glob_t *pglob;
192 pglob->gl_pathc = 0;
193 pglob->gl_pathv = NULL;
195 pglob->gl_offs = 0;
197 pglob->gl_flags = flags & ~GLOB_MAGCHAR;
198 pglob->gl_errfunc = errfunc;
199 pglob->gl_matchc = 0;
221 return globexp1(patbuf, pglob);
223 return glob0(patbuf, pglob);
[all...]
/macosx-10.9.5/lukemftp-13.92.1/tnftp/libnetbsd/
H A Dglob.c134 glob_t *pglob)
142 pglob->gl_pathc = 0;
143 pglob->gl_pathv = NULL;
145 pglob->gl_offs = 0;
147 pglob->gl_flags = flags & ~GLOB_MAGCHAR;
148 pglob->gl_errfunc = errfunc;
149 pglob->gl_matchc = 0;
172 return globexp1(patbuf, pglob);
174 return glob0(patbuf, pglob);
183 globexp1(const Char *pattern, glob_t *pglob) argument
133 glob(const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) argument
206 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, int *rv) argument
314 globtilde(const Char *pattern, Char *patbuf, size_t patsize, glob_t *pglob) argument
388 glob0(const Char *pattern, glob_t *pglob) argument
489 glob1(Char *pattern, glob_t *pglob, size_t *limit) argument
512 glob2(Char *pathbuf, Char *pathend, Char *pathlim, Char *pattern, glob_t *pglob, size_t *limit) argument
570 glob3(Char *pathbuf, Char *pathend, Char *pathlim, Char *pattern, Char *restpattern, glob_t *pglob, size_t *limit) argument
689 globextend(const Char *path, glob_t *pglob, size_t *limit) argument
784 globfree(glob_t *pglob) argument
801 g_opendir(Char *str, glob_t *pglob) argument
819 g_lstat(Char *fn, __gl_stat_t *sb, glob_t *pglob) argument
831 g_stat(Char *fn, __gl_stat_t *sb, glob_t *pglob) argument
[all...]
/macosx-10.9.5/Heimdal-323.92.1/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...]
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/
H A Dglob.c189 __glob(const char *pattern, glob_t *pglob) argument
201 if (!(pglob->gl_flags & GLOB_APPEND)) {
202 pglob->gl_pathc = 0;
203 pglob->gl_pathv = NULL;
204 if (!(pglob->gl_flags & GLOB_DOOFFS))
205 pglob->gl_offs = 0;
207 pglob->gl_matchc = 0;
211 if (pglob->gl_flags & GLOB_NOESCAPE) {
245 if (pglob->gl_flags & GLOB_BRACE)
246 return globexp1(patbuf, pglob,
252 glob(const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) argument
265 glob_b(const char *pattern, int flags, int (^errblk)(const char *, int), glob_t *pglob) argument
280 globexp1(const Char *pattern, glob_t *pglob, struct glob_limit *limit, locale_t loc) argument
309 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, int *rv, struct glob_limit *limit, locale_t loc) argument
414 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) argument
481 glob0(const Char *pattern, glob_t *pglob, struct glob_limit *limit, locale_t loc) argument
580 glob1(Char *pattern, glob_t *pglob, struct glob_limit *limit, locale_t loc) argument
597 glob2(Char *pathbuf, Char *pathend, Char *pathend_last, Char *pattern, glob_t *pglob, struct glob_limit *limit, locale_t loc) argument
662 glob3(Char *pathbuf, Char *pathend, Char *pathend_last, Char *pattern, Char *restpattern, glob_t *pglob, struct glob_limit *limit, locale_t loc) argument
776 globextend(const Char *path, glob_t *pglob, struct glob_limit *limit, locale_t loc) argument
885 globfree(glob_t *pglob) argument
902 g_opendir(Char *str, glob_t *pglob, locale_t loc) argument
920 g_lstat(Char *fn, struct stat *sb, glob_t *pglob, locale_t loc) argument
934 g_stat(Char *fn, struct stat *sb, glob_t *pglob, locale_t loc) argument
[all...]
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dsftp-glob.c137 int (*errfunc)(const char *, int), glob_t *pglob)
139 pglob->gl_opendir = fudge_opendir;
140 pglob->gl_readdir = (struct dirent *(*)(void *))fudge_readdir;
141 pglob->gl_closedir = (void (*)(void *))fudge_closedir;
142 pglob->gl_lstat = fudge_lstat;
143 pglob->gl_stat = fudge_stat;
148 return(glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob));
136 remote_glob(struct sftp_conn *conn, const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) argument
/macosx-10.9.5/tcsh-65/tcsh/
H A Dglob.c287 glob_t *pglob)
298 pglob->gl_pathc = 0;
299 pglob->gl_pathv = NULL;
301 pglob->gl_offs = 0;
303 pglob->gl_flags = flags & ~GLOB_MAGCHAR;
304 pglob->gl_errfunc = errfunc;
305 oldpathc = pglob->gl_pathc;
306 pglob->gl_matchc = 0;
308 if (pglob->gl_flags & GLOB_ALTNOT) {
370 pglob
286 glob(const char *pattern, int flags, int (*errfunc) (const char *, int), glob_t *pglob) argument
454 glob1(Char *pattern, glob_t *pglob, int no_match) argument
475 glob2(struct strbuf *pathbuf, const Char *pattern, glob_t *pglob, int no_match) argument
535 glob3(struct strbuf *pathbuf, const Char *pattern, const Char *restpattern, glob_t *pglob, int no_match) argument
595 globextend(const char *path, glob_t *pglob) argument
705 globfree(glob_t *pglob) argument
[all...]
/macosx-10.9.5/libxml2-26/libxml2/
H A Dtestrecurse.c74 glob_t *pglob) {
82 if ((pattern == NULL) || (pglob == NULL)) return(-1);
96 ret = pglob;
138 static void globfree(glob_t *pglob) { argument
140 if (pglob == NULL)
143 for (i = 0;i < pglob->gl_pathc;i++) {
144 if (pglob->gl_pathv[i] != NULL)
145 free(pglob->gl_pathv[i]);
72 glob(const char *pattern, int flags, int errfunc(const char *epath, int eerrno), glob_t *pglob) argument
H A Druntest.c120 glob_t *pglob) {
128 if ((pattern == NULL) || (pglob == NULL)) return(-1);
142 ret = pglob;
184 static void globfree(glob_t *pglob) { argument
186 if (pglob == NULL)
189 for (i = 0;i < pglob->gl_pathc;i++) {
190 if (pglob->gl_pathv[i] != NULL)
191 free(pglob->gl_pathv[i]);
118 glob(const char *pattern, int flags, int errfunc(const char *epath, int eerrno), glob_t *pglob) argument
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/libxml2-src/
H A Dtestrecurse.c77 glob_t *pglob) {
85 if ((pattern == NULL) || (pglob == NULL)) return(-1);
99 ret = pglob;
141 static void globfree(glob_t *pglob) { argument
143 if (pglob == NULL)
146 for (i = 0;i < pglob->gl_pathc;i++) {
147 if (pglob->gl_pathv[i] != NULL)
148 free(pglob->gl_pathv[i]);
75 glob(const char *pattern, int flags, int errfunc(const char *epath, int eerrno), glob_t *pglob) argument
H A Druntest.c123 glob_t *pglob) {
131 if ((pattern == NULL) || (pglob == NULL)) return(-1);
145 ret = pglob;
187 static void globfree(glob_t *pglob) { argument
189 if (pglob == NULL)
192 for (i = 0;i < pglob->gl_pathc;i++) {
193 if (pglob->gl_pathv[i] != NULL)
194 free(pglob->gl_pathv[i]);
121 glob(const char *pattern, int flags, int errfunc(const char *epath, int eerrno), glob_t *pglob) argument
/macosx-10.9.5/system_cmds-597.90.1/arch.tproj/
H A Darch.c353 glob_t pglob; local
356 bzero(&pglob, sizeof(pglob));
358 gret = glob(fpath, GLOB_TILDE, NULL, &pglob);
361 for (i=0; i < pglob.gl_pathc; i++) {
363 strlcpy(fpath, pglob.gl_pathv[i], sizeof(fpath));
367 globfree(&pglob);
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/arch.tproj/
H A Darch.c353 glob_t pglob; local
356 bzero(&pglob, sizeof(pglob));
358 gret = glob(fpath, GLOB_TILDE, NULL, &pglob);
361 for (i=0; i < pglob.gl_pathc; i++) {
363 strlcpy(fpath, pglob.gl_pathv[i], sizeof(fpath));
367 globfree(&pglob);
/macosx-10.9.5/crontabs-51/newsyslog/
H A Dnewsyslog.c930 glob_t pglob; local
947 gres = glob(globent->log, GLOB_NOCHECK, NULL, &pglob);
956 for (i = 0; i < (size_t)pglob.gl_matchc; i++) {
957 mfname = pglob.gl_pathv[i];
996 globfree(&pglob);

Completed in 247 milliseconds