Lines Matching refs:pathend
557 glob2(pathbuf, pathbuf_last, pathend, pathend_last, pattern, in glob2() argument
559 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob2()
574 *pathend = EOS;
579 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||
583 if (pathend+1 > pathend_last)
585 *pathend++ = SEP;
586 *pathend = EOS;
593 q = pathend;
604 pathend = q;
607 if (pathend+1 > pathend_last)
609 *pathend++ = *pattern++;
613 return(glob3(pathbuf, pathbuf_last, pathend,
621 glob3(pathbuf, pathbuf_last, pathend, pathend_last, pattern, pattern_last, in glob3() argument
623 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob3()
641 if (pathend > pathend_last)
643 *pathend = EOS;
672 dc = pathend;
682 if (!match(pathend, pattern, restpattern)) {
683 *pathend = EOS;