Lines Matching refs:pathend
528 static int glob2(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, Char *patter… in glob2() argument
541 *pathend = EOS; in glob2()
546 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) || in glob2()
550 if (pathend+1 > pathend_last) in glob2()
552 *pathend++ = SEP; in glob2()
553 *pathend = EOS; in glob2()
560 q = pathend; in glob2()
571 pathend = q; in glob2()
574 if (pathend+1 > pathend_last) in glob2()
576 *pathend++ = *pattern++; in glob2()
580 return(glob3(pathbuf, pathbuf_last, pathend, in glob2()
587 static int glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, Char *patter… in glob3() argument
602 if (pathend > pathend_last) in glob3()
604 *pathend = EOS; in glob3()
634 dc = pathend; in glob3()
644 if (!match(pathend, pattern, restpattern)) { in glob3()
645 *pathend = EOS; in glob3()