Lines Matching refs:pathbuf
585 Char pathbuf[MAXPATHLEN+1]; in glob1() local
597 return glob2(pathbuf, pathbuf, in glob1()
598 pathbuf + (sizeof(pathbuf) / sizeof(*pathbuf)) - 1, pattern, in glob1()
608 glob2(Char *pathbuf, Char *pathend, Char *pathlim, const Char *pattern, in glob2() argument
616 _DIAGASSERT(pathbuf != NULL); in glob2()
622 qprintf("glob2", pathbuf); in glob2()
631 if (g_lstat(pathbuf, &sb, pglob)) in glob2()
644 (g_stat(pathbuf, &sb, pglob) == 0) && in glob2()
652 return globextend(pathbuf, pglob, limit); in glob2()
675 return glob3(pathbuf, pathend, pathlim, pattern, p, in glob2()
682 glob3(Char *pathbuf, Char *pathend, Char *pathlim, const Char *pattern, in glob3() argument
703 _DIAGASSERT(pathbuf != NULL); in glob3()
726 glob2(pathbuf, pathend, pathlim, restpattern - 1, pglob, in glob3()
728 glob2(pathbuf, pathend, pathlim, restpattern + 1, pglob, in glob3()
730 glob3(pathbuf, pathend, pathlim, pattern, restpattern, in glob3()
737 if (*pathbuf && (g_lstat(pathbuf, &sbuf, pglob) || in glob3()
745 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) { in glob3()
747 if (g_Ctoc(pathbuf, buf, sizeof(buf))) in glob3()
830 (g_lstat(pathbuf, &sbuf, pglob) || in glob3()
841 error = glob2(pathbuf, dc, pathlim, pglobstar, in glob3()
851 error = glob2(pathbuf, --dc, pathlim, restpattern, in glob3()