Lines Matching refs:pathend
548 glob2(pathbuf, pathbuf_last, pathend, pathend_last, pattern, in glob2() argument
550 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob2()
565 *pathend = EOS;
570 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||
574 if (pathend+1 > pathend_last)
576 *pathend++ = SEP;
577 *pathend = EOS;
584 q = pathend;
595 pathend = q;
598 if (pathend+1 > pathend_last)
600 *pathend++ = *pattern++;
604 return(glob3(pathbuf, pathbuf_last, pathend,
612 glob3(pathbuf, pathbuf_last, pathend, pathend_last, pattern, pattern_last, in glob3() argument
614 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob3()
632 if (pathend > pathend_last)
634 *pathend = EOS;
663 dc = pathend;
673 if (!match(pathend, pattern, restpattern)) {
674 *pathend = EOS;