Home
last modified time | relevance | path

Searched refs:pglob (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/lib/libc/port/regex/
H A Dglob.c198 glob_t *pglob) in _glob_ext() argument
212 pglob->gl_pathc = 0; in _glob_ext()
213 pglob->gl_pathn = 0; in _glob_ext()
214 pglob->gl_pathv = NULL; in _glob_ext()
216 pglob->gl_statv = NULL; in _glob_ext()
218 pglob->gl_offs = 0; in _glob_ext()
220 pglob->gl_flags = flags & ~GLOB_MAGCHAR; in _glob_ext()
221 pglob->gl_matchc = 0; in _glob_ext()
223 if (pglob->gl_offs >= INT_MAX || pglob->gl_pathc >= INT_MAX || in _glob_ext()
224 pglob->gl_pathc >= INT_MAX - pglob->gl_offs - 1) in _glob_ext()
[all …]
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dglob.c160 glob(pattern, flags, errfunc, pglob) in glob() argument
163 glob_t *pglob;
173 pglob->gl_pathc = 0;
174 pglob->gl_pathv = NULL;
176 pglob->gl_offs = 0;
178 pglob->gl_flags = flags & ~GLOB_MAGCHAR;
179 pglob->gl_errfunc = errfunc;
180 pglob->gl_matchc = 0;
202 return globexp1(patbuf, pglob, limit);
204 return glob0(patbuf, pglob, limit);
[all …]
/titanic_44/usr/src/cmd/ssh/sftp/
H A Dsftp-glob.c141 int (*errfunc)(const char *, int), glob_t *pglob) in remote_glob() argument
143 pglob->gl_opendir = fudge_opendir; in remote_glob()
144 pglob->gl_readdir = (struct dirent *(*)(void *))fudge_readdir; in remote_glob()
145 pglob->gl_closedir = (void (*)(void *))fudge_closedir; in remote_glob()
146 pglob->gl_lstat = fudge_lstat; in remote_glob()
147 pglob->gl_stat = fudge_stat; in remote_glob()
152 return(glob(pattern, flags|GLOB_LIMIT|GLOB_ALTDIRFUNC, errfunc, pglob)); in remote_glob()
/titanic_44/usr/src/lib/libc/port/
H A Dllib-lc1167 int(*errfunc)(const char *epath, int eerrno), glob_t *restrict pglob);
1168 extern void globfree(glob_t *pglob);