Lines Matching refs:limit
189 struct glob_limit limit = { 0, 0, 0, 0 }; in glob() local
225 return globexp1(patbuf, pglob, &limit); in glob()
227 return glob0(patbuf, pglob, &limit); in glob()
236 globexp1(const Char *pattern, glob_t *pglob, struct glob_limit *limit) in globexp1() argument
245 limit->l_brace++ >= GLOB_LIMIT_BRACE) { in globexp1()
252 return glob0(pattern, pglob, limit); in globexp1()
255 if (!globexp2(ptr, pattern, pglob, &rv, limit)) in globexp1()
258 return glob0(pattern, pglob, limit); in globexp1()
269 struct glob_limit *limit) in globexp2() argument
314 *rv = glob0(pattern, pglob, limit); in globexp2()
361 *rv = globexp1(patbuf, pglob, limit); in globexp2()
474 glob0(const Char *pattern, glob_t *pglob, struct glob_limit *limit) in glob0() argument
545 if ((error = glob1(patbuf, pglob, limit)) != 0) in glob0()
559 return globextend(pattern, pglob, limit); in glob0()
583 glob1(Char *pattern, glob_t *pglob, struct glob_limit *limit) in glob1() argument
599 pglob, limit); in glob1()
609 glob_t *pglob, struct glob_limit *limit) in glob2() argument
635 limit->l_stat++ >= GLOB_LIMIT_STAT) { in glob2()
652 return globextend(pathbuf, pglob, limit); in glob2()
676 pattern, pglob, limit); in glob2()
684 struct glob_limit *limit) in glob3() argument
727 limit) : in glob3()
729 limit) : in glob3()
731 termstar, pglob, limit); in glob3()
777 limit->l_readdir++ >= GLOB_LIMIT_READDIR) { in glob3()
842 pglob, limit); in glob3()
852 pglob, limit); in glob3()
887 globextend(const Char *path, glob_t *pglob, struct glob_limit *limit) in globextend() argument
917 limit->l_string += len; in globextend()
928 (newsize + limit->l_string) >= GLOB_LIMIT_STRING) in globextend()