Lines Matching refs:patbuf
188 Char *bufnext, *bufend, patbuf[MAXPATHLEN+1]; in glob() local
204 bufnext = patbuf; in glob()
225 return globexp1(patbuf, pglob, &limit); in glob()
227 return glob0(patbuf, pglob, &limit); in glob()
274 Char patbuf[MAXPATHLEN + 1]; in globexp2() local
282 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++) in globexp2()
359 qprintf("globexp2", patbuf); in globexp2()
361 *rv = globexp1(patbuf, pglob, limit); in globexp2()
382 globtilde(const Char *pattern, Char *patbuf, size_t patsize, glob_t *pglob) in globtilde() argument
389 Char *pend = &patbuf[patsize / sizeof(Char)]; in globtilde()
398 _DIAGASSERT(patbuf != NULL); in globtilde()
405 for (p = pattern + 1, d = (char *)(void *)patbuf; in globtilde()
414 d = (char *)(void *)patbuf; in globtilde()
449 for (b = patbuf; b < pend && *h; *b++ = *h++) in globtilde()
462 return patbuf; in globtilde()
479 Char *bufnext, patbuf[MAXPATHLEN+1]; in glob0() local
484 if ((qpatnext = globtilde(pattern, patbuf, sizeof(patbuf), in glob0()
488 bufnext = patbuf; in glob0()
529 if (bufnext == patbuf || bufnext[-1] != M_ALL || in glob0()
531 (bufnext - 1 == patbuf || bufnext[-2] != M_ALL || in glob0()
532 bufnext - 2 == patbuf || bufnext[-3] != M_ALL))) in glob0()
542 qprintf("glob0", patbuf); in glob0()
545 if ((error = glob1(patbuf, pglob, limit)) != 0) in glob0()