Lines Matching refs:pathbuf
533 Char pathbuf[MAXPATHLEN]; local
538 return(glob2(pathbuf, pathbuf+MAXPATHLEN-1,
539 pathbuf, pathbuf+MAXPATHLEN-1,
549 glob2(pathbuf, pathbuf_last, pathend, pathend_last, pattern, in glob2() argument
551 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob2()
567 if (g_lstat(pathbuf, &sb, pglob))
573 (g_stat(pathbuf, &sb, pglob) == 0) &&
581 return(globextend(pathbuf, pglob, limitp));
605 return(glob3(pathbuf, pathbuf_last, pathend,
613 glob3(pathbuf, pathbuf_last, pathend, pathend_last, pattern, pattern_last, in glob3() argument
615 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob3()
637 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {
641 if (g_Ctoc(pathbuf, buf, sizeof(buf)))
678 err = glob2(pathbuf, pathbuf_last, --dc, pathend_last,