Lines Matching refs:stop

93 static char *dissect(struct match *m, char *start, char *stop, sopno startst, sopno stopst);
94 static char *backref(struct match *m, char *start, char *stop, sopno startst, sopno stopst, sopno l…
95 static char *fast(struct match *m, char *start, char *stop, sopno startst, sopno stopst);
96 static char *slow(struct match *m, char *start, char *stop, sopno startst, sopno stopst);
97 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int ch, states aft);
111 static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst);
152 char *stop; in matcher() local
166 stop = string + pmatch[0].rm_eo; in matcher()
169 stop = start + strlen(start); in matcher()
171 if (stop < start) in matcher()
182 for (dp = start+g->mlen-1; dp < stop;) { in matcher()
184 while (dp < stop && charjump[(unsigned char) *dp]) in matcher()
187 if (dp >= stop) in matcher()
208 for (dp = start; dp < stop; dp++) in matcher()
210 stop - dp >= g->mlen && in matcher()
213 if (dp == stop) /* we didn't find g->must */ in matcher()
225 m->endp = stop; in matcher()
239 endp = fast(m, start, stop, gf, gl); in matcher()
251 endp = slow(m, m->coldp, stop, gf, gl); in matcher()
315 assert(start <= stop); in matcher()
350 char *stop, in dissect() argument
368 AT("diss", start, stop, startst, stopst); in dissect()
408 stp = stop; in dissect()
414 tail = slow(m, rest, stop, es, stopst); in dissect()
415 if (tail == stop) in dissect()
433 stp = stop; in dissect()
439 tail = slow(m, rest, stop, es, stopst); in dissect()
440 if (tail == stop) in dissect()
470 stp = stop; in dissect()
476 tail = slow(m, rest, stop, es, stopst); in dissect()
477 if (tail == stop) in dissect()
528 assert(sp == stop); in dissect()
540 char *stop, in backref() argument
558 AT("back", start, stop, startst, stopst); in backref()
566 if (sp == stop || *sp++ != (char)OPND(s)) in backref()
570 if (sp == stop) in backref()
576 if (sp == stop || !CHIN(cs, *sp++)) in backref()
632 if (sp != stop) in backref()
639 AT("hard", sp, stop, ss, stopst); in backref()
649 assert(stop - m->beginp >= len); in backref()
650 if (sp > stop - len) in backref()
657 return(backref(m, sp+len, stop, ss+1, stopst, lev)); in backref()
660 dp = backref(m, sp, stop, ss+1, stopst, lev); in backref()
663 return(backref(m, sp, stop, ss+OPND(s)+1, stopst, lev)); in backref()
669 return(backref(m, sp, stop, ss+1, stopst, lev+1)); in backref()
673 return(backref(m, sp, stop, ss+1, stopst, lev-1)); in backref()
676 dp = backref(m, sp, stop, ss-OPND(s)+1, stopst, lev); in backref()
678 return(backref(m, sp, stop, ss+1, stopst, lev-1)); in backref()
687 dp = backref(m, sp, stop, ssub, esub, lev); in backref()
708 dp = backref(m, sp, stop, ss+1, stopst, lev); in backref()
719 dp = backref(m, sp, stop, ss+1, stopst, lev); in backref()
744 char *stop, in fast() argument
805 if (ISSET(st, stopst) || p == stop) in fast()
834 char *stop, in slow() argument
848 AT("slow", start, stop, startst, stopst); in slow()
895 if (EQ(st, empty) || p == stop) in slow()
929 sopno stop, /* state after stop state within strip */ in step() argument
941 for (pc = start, INIT(here, pc); pc != stop; pc++, INC(here)) { in step()
945 assert(pc == stop-1); in step()
1083 char *stop, in at() argument
1091 printf("%s ", pchar(*stop)); in at()