Lines Matching refs:pathend
627 glob2(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, argument
640 *pathend = EOS;
647 *pathend++ = SEP;
648 *pathend = EOS;
653 pathend[-1] != SEP) && (S_ISDIR(sb.st_mode) ||
657 if (pathend+1 > pathend_last)
659 *pathend++ = SEP;
660 *pathend = EOS;
667 q = pathend;
678 pathend = q;
681 if (pathend+1 > pathend_last)
683 *pathend++ = *pattern++;
687 return(glob3(pathbuf, pathbuf_last, pathend,
695 glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, argument
712 if (pathend > pathend_last)
714 *pathend = EOS;
743 *pathend++ = SEP;
744 *pathend = EOS;
752 dc = pathend;
762 if (!match(pathend, pattern, restpattern, GLOB_LIMIT_RECUR)) {
763 *pathend = EOS;