Lines Matching refs:patbuf
176 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; local
196 bufnext = patbuf;
216 return globexp1(patbuf, pglob);
218 return glob0(patbuf, pglob);
260 Char patbuf[MAXPATHLEN]; local
263 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++)
291 *rv = glob0(patbuf, pglob);
339 qprintf("globexp2:", patbuf);
341 *rv = globexp1(patbuf, pglob);
362 globtilde(pattern, patbuf, patbuf_len, pglob) in globtilde() argument
364 Char *patbuf;
379 eb = &patbuf[patbuf_len - 1];
380 for (p = pattern + 1, h = (char *) patbuf;
391 if (((char *) patbuf)[0] == EOS) {
411 if ((pwd = getpwnam((char*) patbuf)) == NULL)
421 for (b = patbuf; b < eb && *h; *b++ = *h++)
429 return patbuf;
447 Char *bufnext, patbuf[MAXPATHLEN]; local
450 qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob);
452 bufnext = patbuf;
493 if (bufnext == patbuf || bufnext[-1] != M_ALL)
503 qprintf("glob0:", patbuf);
506 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0)