Lines Matching refs:patbuf
170 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; local
190 bufnext = patbuf;
210 return globexp1(patbuf, pglob);
212 return glob0(patbuf, pglob);
254 Char patbuf[MAXPATHLEN]; local
257 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++)
285 *rv = glob0(patbuf, pglob);
333 qprintf("globexp2:", patbuf);
335 *rv = globexp1(patbuf, pglob);
356 globtilde(pattern, patbuf, patbuf_len, pglob) in globtilde() argument
358 Char *patbuf;
373 eb = &patbuf[patbuf_len - 1];
374 for (p = pattern + 1, h = (char *) patbuf;
385 if (((char *) patbuf)[0] == EOS) {
405 if ((pwd = getpwnam((char*) patbuf)) == NULL)
415 for (b = patbuf; b < eb && *h; *b++ = *h++)
423 return patbuf;
441 Char *bufnext, patbuf[MAXPATHLEN]; local
444 qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob);
446 bufnext = patbuf;
487 if (bufnext == patbuf || bufnext[-1] != M_ALL)
497 qprintf("glob0:", patbuf);
500 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0)