Lines Matching refs:stop

91 static char *dissect(struct match *m, char *start, char *stop, sopno startst, sopno stopst);
92 static char *backref(struct match *m, char *start, char *stop, sopno startst, sopno stopst, sopno l…
93 static char *fast(struct match *m, char *start, char *stop, sopno startst, sopno stopst);
94 static char *slow(struct match *m, char *start, char *stop, sopno startst, sopno stopst);
95 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int ch, states aft);
109 static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst);
150 char *stop; in matcher() local
164 stop = string + pmatch[0].rm_eo; in matcher()
167 stop = start + strlen(start); in matcher()
169 if (stop < start) in matcher()
180 for (dp = start+g->mlen-1; dp < stop;) { in matcher()
182 while (dp < stop && charjump[(unsigned char) *dp]) in matcher()
185 if (dp >= stop) in matcher()
206 for (dp = start; dp < stop; dp++) in matcher()
208 stop - dp >= g->mlen && in matcher()
211 if (dp == stop) /* we didn't find g->must */ in matcher()
223 m->endp = stop; in matcher()
237 endp = fast(m, start, stop, gf, gl); in matcher()
249 endp = slow(m, m->coldp, stop, gf, gl); in matcher()
313 assert(start <= stop); in matcher()
348 char *stop, in dissect() argument
366 AT("diss", start, stop, startst, stopst); in dissect()
406 stp = stop; in dissect()
412 tail = slow(m, rest, stop, es, stopst); in dissect()
413 if (tail == stop) in dissect()
431 stp = stop; in dissect()
437 tail = slow(m, rest, stop, es, stopst); in dissect()
438 if (tail == stop) in dissect()
468 stp = stop; in dissect()
474 tail = slow(m, rest, stop, es, stopst); in dissect()
475 if (tail == stop) in dissect()
526 assert(sp == stop); in dissect()
538 char *stop, in backref() argument
556 AT("back", start, stop, startst, stopst); in backref()
564 if (sp == stop || *sp++ != (char)OPND(s)) in backref()
568 if (sp == stop) in backref()
574 if (sp == stop || !CHIN(cs, *sp++)) in backref()
630 if (sp != stop) in backref()
637 AT("hard", sp, stop, ss, stopst); in backref()
647 assert(stop - m->beginp >= len); in backref()
648 if (sp > stop - len) in backref()
655 return(backref(m, sp+len, stop, ss+1, stopst, lev)); in backref()
658 dp = backref(m, sp, stop, ss+1, stopst, lev); in backref()
661 return(backref(m, sp, stop, ss+OPND(s)+1, stopst, lev)); in backref()
667 return(backref(m, sp, stop, ss+1, stopst, lev+1)); in backref()
671 return(backref(m, sp, stop, ss+1, stopst, lev-1)); in backref()
674 dp = backref(m, sp, stop, ss-OPND(s)+1, stopst, lev); in backref()
676 return(backref(m, sp, stop, ss+1, stopst, lev-1)); in backref()
685 dp = backref(m, sp, stop, ssub, esub, lev); in backref()
706 dp = backref(m, sp, stop, ss+1, stopst, lev); in backref()
717 dp = backref(m, sp, stop, ss+1, stopst, lev); in backref()
742 char *stop, in fast() argument
803 if (ISSET(st, stopst) || p == stop) in fast()
832 char *stop, in slow() argument
846 AT("slow", start, stop, startst, stopst); in slow()
893 if (EQ(st, empty) || p == stop) in slow()
927 sopno stop, /* state after stop state within strip */ in step() argument
939 for (pc = start, INIT(here, pc); pc != stop; pc++, INC(here)) { in step()
943 assert(pc == stop-1); in step()
1081 char *stop, in at() argument
1089 printf("%s ", pchar(*stop)); in at()