Lines Matching refs:pathbuf
558 Char pathbuf[MAXPATHLEN+1]; in glob1() local
570 return glob2(pathbuf, pathbuf, in glob1()
571 pathbuf + (sizeof(pathbuf) / sizeof(*pathbuf)) - 1, pattern, in glob1()
581 glob2(Char *pathbuf, Char *pathend, Char *pathlim, Char *pattern, glob_t *pglob, in glob2() argument
590 _DIAGASSERT(pathbuf != NULL); in glob2()
602 if (g_lstat(pathbuf, &sb, pglob)) in glob2()
616 (g_stat(pathbuf, &sb, pglob) == 0) && in glob2()
624 return globextend(pathbuf, pglob, limit); in glob2()
643 for (pend = pathend; pend > pathbuf && pend[-1] == '/'; in glob2()
646 diff = pend - pathbuf; in glob2()
666 return glob3(pathbuf, pathend, pathlim, pattern, p, in glob2()
673 glob3(Char *pathbuf, Char *pathend, Char *pathlim, Char *pattern, in glob3() argument
689 _DIAGASSERT(pathbuf != NULL); in glob3()
698 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) { in glob3()
700 if (g_Ctoc(pathbuf, buf, sizeof(buf))) in glob3()
783 error = glob2(pathbuf, --dc, pathlim, restpattern, pglob, in glob3()