Lines Matching refs:pathbuf
532 Char pathbuf[MAXPATHLEN]; local
537 return(glob2(pathbuf, pathbuf+MAXPATHLEN-1,
538 pathbuf, pathbuf+MAXPATHLEN-1,
548 glob2(pathbuf, pathbuf_last, pathend, pathend_last, pattern, in glob2() argument
550 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob2()
566 if (g_lstat(pathbuf, &sb, pglob))
572 (g_stat(pathbuf, &sb, pglob) == 0) &&
580 return(globextend(pathbuf, pglob, limitp));
604 return(glob3(pathbuf, pathbuf_last, pathend,
612 glob3(pathbuf, pathbuf_last, pathend, pathend_last, pattern, pattern_last, in glob3() argument
614 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob3()
637 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {
640 if (g_Ctoc(pathbuf, buf, sizeof(buf)))
677 err = glob2(pathbuf, pathbuf_last, --dc, pathend_last,