Lines Matching refs:pathend
549 glob2(pathbuf, pathbuf_last, pathend, pathend_last, pattern, in glob2() argument
551 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob2()
566 *pathend = EOS;
571 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||
575 if (pathend+1 > pathend_last)
577 *pathend++ = SEP;
578 *pathend = EOS;
585 q = pathend;
596 pathend = q;
599 if (pathend+1 > pathend_last)
601 *pathend++ = *pattern++;
605 return(glob3(pathbuf, pathbuf_last, pathend,
613 glob3(pathbuf, pathbuf_last, pathend, pathend_last, pattern, pattern_last, in glob3() argument
615 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob3()
632 if (pathend > pathend_last)
634 *pathend = EOS;
664 dc = pathend;
674 if (!match(pathend, pattern, restpattern)) {
675 *pathend = EOS;