Lines Matching refs:stop
145 const char *stop; in matcher() local
152 stop = string + pmatch[0].rm_eo; in matcher()
155 stop = start + strlen(start); in matcher()
157 if (stop < start) in matcher()
162 for (dp = start; dp < stop; dp++) in matcher()
163 if (*dp == g->must[0] && stop - dp >= g->mlen && in matcher()
166 if (dp == stop) /* we didn't find g->must */ in matcher()
177 m->endp = stop; in matcher()
187 endp = fast(m, start, stop, gf, gl); in matcher()
201 endp = slow(m, m->coldp, stop, gf, gl); in matcher()
264 if (m->coldp == stop) in matcher()
295 dissect(struct match *m, const char *start, const char *stop, sopno startst, in dissect() argument
312 AT("diss", start, stop, startst, stopst); in dissect()
352 stp = stop; in dissect()
358 tail = slow(m, rest, stop, es, stopst); in dissect()
359 if (tail == stop) in dissect()
376 stp = stop; in dissect()
382 tail = slow(m, rest, stop, es, stopst); in dissect()
383 if (tail == stop) in dissect()
412 stp = stop; in dissect()
418 tail = slow(m, rest, stop, es, stopst); in dissect()
419 if (tail == stop) in dissect()
469 assert(sp == stop); in dissect()
477 backref(struct match *m, const char *start, const char *stop, sopno startst, in backref() argument
493 AT("back", start, stop, startst, stopst); in backref()
501 if (sp == stop || *sp++ != (char)OPND(s)) in backref()
505 if (sp == stop) in backref()
511 if (sp == stop || !CHIN(cs, *sp++)) in backref()
564 if (sp != stop) in backref()
571 AT("hard", sp, stop, ss, stopst); in backref()
583 assert(stop - m->beginp >= len); in backref()
584 if (sp > stop - len) in backref()
591 return(backref(m, sp+len, stop, ss+1, stopst, lev, rec)); in backref()
594 dp = backref(m, sp, stop, ss+1, stopst, lev, rec); in backref()
597 return(backref(m, sp, stop, ss+OPND(s)+1, stopst, lev, rec)); in backref()
603 return(backref(m, sp, stop, ss+1, stopst, lev+1, rec)); in backref()
607 return(backref(m, sp, stop, ss+1, stopst, lev-1, rec)); in backref()
610 dp = backref(m, sp, stop, ss-OPND(s)+1, stopst, lev, rec); in backref()
612 return(backref(m, sp, stop, ss+1, stopst, lev-1, rec)); in backref()
621 dp = backref(m, sp, stop, ssub, esub, lev, rec); in backref()
642 dp = backref(m, sp, stop, ss+1, stopst, lev, rec); in backref()
653 dp = backref(m, sp, stop, ss+1, stopst, lev, rec); in backref()
674 fast(struct match *m, const char *start, const char *stop, sopno startst, in fast() argument
738 if (ISSET(st, stopst) || p == stop) in fast()
763 slow(struct match *m, const char *start, const char *stop, sopno startst, in slow() argument
781 AT("slow", start, stop, startst, stopst); in slow()
827 if (EQ(st, empty) || p == stop) in slow()
850 sopno stop, /* state after stop state within strip */ in step() argument
862 for (pc = start, INIT(here, pc); pc != stop; pc++, INC(here)) { in step()
866 assert(pc == stop-1); in step()
989 at(struct match *m, const char *title, const char *start, const char *stop, in at() argument
996 (void)printf("%s ", pchar(*stop)); in at()