Lines Matching refs:pathend
551 glob2(Char *pathbuf, Char *pathend, Char *pathend_last, Char *pattern, in glob2() argument
564 *pathend = EOS; in glob2()
569 pathend[-1] != SEP) && (S_ISDIR(sb.st_mode) in glob2()
573 if (pathend + 1 > pathend_last) in glob2()
575 *pathend++ = SEP; in glob2()
576 *pathend = EOS; in glob2()
583 q = pathend; in glob2()
594 pathend = q; in glob2()
597 if (pathend + 1 > pathend_last) in glob2()
599 *pathend++ = *pattern++; in glob2()
602 return(glob3(pathbuf, pathend, pathend_last, pattern, p, in glob2()
609 glob3(Char *pathbuf, Char *pathend, Char *pathend_last, in glob3() argument
626 if (pathend > pathend_last) in glob3()
628 *pathend = EOS; in glob3()
661 dc = pathend; in glob3()
674 if (!match(pathend, pattern, restpattern)) { in glob3()
675 *pathend = EOS; in glob3()