Home | History | Annotate | Download | only in gen

Lines Matching refs:pathend

612 glob2(Char *pathbuf, Char *pathend, Char *pathlim, const Char *pattern,
621 _DIAGASSERT(pathend != NULL);
634 *pathend = EOS;
641 *pathend++ = SEP;
642 *pathend = EOS;
646 pathend[-1] != SEP) && (S_ISDIR(sb.st_mode) ||
650 if (pathend >= pathlim)
652 *pathend++ = SEP;
653 *pathend = EOS;
659 /* Find end of next segment, copy tentatively to pathend. */
660 q = pathend;
671 pathend = q;
674 if (pathend >= pathlim)
676 *pathend++ = *pattern++;
679 return glob3(pathbuf, pathend, pathlim, pattern, p,
686 glob3(Char *pathbuf, Char *pathend, Char *pathlim, const Char *pattern,
708 _DIAGASSERT(pathend != NULL);
713 *pathend = EOS;
730 glob2(pathbuf, pathend, pathlim, restpattern - 1, pglob,
732 glob2(pathbuf, pathend, pathlim, restpattern + 1, pglob,
734 glob3(pathbuf, pathend, pathlim, pattern, restpattern,
738 *pathend = EOS;
783 *pathend++ = SEP;
784 *pathend = EOS;
808 for (sc = (unsigned char *) dp->d_name, dc = pathend;
818 * reset pathend back to last SEP and continue
826 *pathend = EOS;
839 if (!match(pathend, pattern, termstar))
849 *pathend = EOS;
851 if (!match(pathend, pattern, restpattern)) {
852 *pathend = EOS;