Lines Matching defs:patbuf
217 wcat_t *bufnext, *bufend, patbuf[MAXPATHLEN];
240 bufnext = patbuf;
289 return (globexp1(patbuf, pglob, &limit, errfunc));
291 return (glob0(patbuf, pglob, &limit, errfunc));
329 wcat_t patbuf[MAXPATHLEN];
332 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++)
362 return (glob0(patbuf, pglob, limitp, errfunc));
407 rv = globexp1(patbuf, pglob, limitp, errfunc);
429 globtilde(const wcat_t *pattern, wcat_t *patbuf, size_t patbuf_len,
444 eb = &patbuf[patbuf_len - 1];
445 for (p = pattern + 1, q = patbuf;
452 /* What to do if patbuf is full? */
454 if (patbuf[0].w_wc == EOS) {
471 if ((pwd = getpwnam((char *)patbuf)) == NULL)
479 for (b = patbuf; b < eb && *h != EOS; b++) {
498 return (patbuf);
564 wcat_t *bufnext, patbuf[MAXPATHLEN];
566 qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob);
568 bufnext = patbuf;
663 if (bufnext == patbuf ||
679 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, limitp, errfunc))