Lines Matching refs:limitp
236 globexp1(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) in globexp1() argument
242 return glob0(pattern, pglob, limitp); in globexp1()
245 return globexp2(ptr, pattern, pglob, limitp); in globexp1()
247 return glob0(pattern, pglob, limitp); in globexp1()
258 struct glob_lim *limitp) in globexp2() argument
294 return glob0(patbuf, pglob, limitp); in globexp2()
340 rv = globexp1(patbuf, pglob, limitp); in globexp2()
471 glob0(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) argument
547 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, limitp)) != 0)
560 return(globextend(pattern, pglob, limitp, NULL));
609 glob1(Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) argument
618 pattern, pattern_last, pglob, limitp));
628 Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) argument
645 limitp->glim_stat++ >= GLOB_LIMIT_STAT) {
663 return(globextend(pathbuf, pglob, limitp, &sb));
689 pglob, limitp));
697 struct glob_lim *limitp) argument
741 limitp->glim_readdir++ >= GLOB_LIMIT_READDIR) {
767 restpattern, restpattern_last, pglob, limitp);
795 globextend(const Char *path, glob_t *pglob, struct glob_lim *limitp, argument
855 limitp->glim_malloc += sizeof(**statv);
857 limitp->glim_malloc >= GLOB_LIMIT_MALLOC) {
873 limitp->glim_malloc += len;
884 (newn * sizeof(*pathv)) + limitp->glim_malloc >