Lines Matching refs:patbuf
168 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; local
188 bufnext = patbuf;
208 return globexp1(patbuf, pglob);
210 return glob0(patbuf, pglob);
252 Char patbuf[MAXPATHLEN]; local
255 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++)
283 *rv = glob0(patbuf, pglob);
331 qprintf("globexp2:", patbuf);
333 *rv = globexp1(patbuf, pglob);
354 globtilde(pattern, patbuf, patbuf_len, pglob) in globtilde() argument
356 Char *patbuf;
371 eb = &patbuf[patbuf_len - 1];
372 for (p = pattern + 1, h = (char *) patbuf;
383 if (((char *) patbuf)[0] == EOS) {
403 if ((pwd = getpwnam((char*) patbuf)) == NULL)
413 for (b = patbuf; b < eb && *h; *b++ = *h++)
421 return patbuf;
439 Char *bufnext, patbuf[MAXPATHLEN]; local
442 qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob);
444 bufnext = patbuf;
485 if (bufnext == patbuf || bufnext[-1] != M_ALL)
495 qprintf("glob0:", patbuf);
498 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0)