Lines Matching refs:patbuf
167 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; local
182 bufnext = patbuf;
202 return globexp1(patbuf, pglob, limit);
204 return glob0(patbuf, pglob, limit);
248 Char patbuf[MAXPATHLEN]; local
251 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++)
279 *rv = glob0(patbuf, pglob, limit);
325 qprintf("globexp2:", patbuf);
327 *rv = globexp1(patbuf, pglob, limit);
348 globtilde(pattern, patbuf, patbuf_len, pglob) in globtilde() argument
350 Char *patbuf;
363 eb = &patbuf[patbuf_len - 1];
364 for (p = pattern + 1, h = (char *) patbuf;
375 if (((char *) patbuf)[0] == EOS) {
393 if ((pwd = getpwnam((char*) patbuf)) == NULL)
400 for (b = patbuf; b < eb && *h; *b++ = *h++)
408 return patbuf;
427 Char *bufnext, patbuf[MAXPATHLEN]; local
429 qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob);
431 bufnext = patbuf;
472 if (bufnext == patbuf || bufnext[-1] != M_ALL)
482 qprintf("glob0:", patbuf);
485 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, limit)) != 0)