Lines Matching refs:stop

92 static const RCHAR_T *dissect(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno sta…
93 static const RCHAR_T *backref(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno sta…
94 static const RCHAR_T *fast(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno starts…
95 static const RCHAR_T *slow(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno starts…
96 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int flag, RCHAR_T ch, st…
107 static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst);
143 const RCHAR_T *stop; in matcher() local
150 stop = string + pmatch[0].rm_eo; in matcher()
153 stop = start + STRLEN(start); in matcher()
155 if (stop < start) in matcher()
160 for (dp = start; dp < stop; dp++) in matcher()
161 if (*dp == g->must[0] && (size_t)(stop - dp) >= g->mlen && in matcher()
164 if (dp == stop) /* we didn't find g->must */ in matcher()
175 m->endp = stop; in matcher()
185 endp = fast(m, start, stop, gf, gl); in matcher()
197 endp = slow(m, m->coldp, stop, gf, gl); in matcher()
261 assert(start <= stop); in matcher()
292 dissect(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, in dissect() argument
309 AT("diss", start, stop, startst, stopst); in dissect()
349 stp = stop; in dissect()
355 tail = slow(m, rest, stop, es, stopst); in dissect()
356 if (tail == stop) in dissect()
373 stp = stop; in dissect()
379 tail = slow(m, rest, stop, es, stopst); in dissect()
380 if (tail == stop) in dissect()
409 stp = stop; in dissect()
415 tail = slow(m, rest, stop, es, stopst); in dissect()
416 if (tail == stop) in dissect()
466 assert(sp == stop); in dissect()
474 backref(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, in backref() argument
491 AT("back", start, stop, startst, stopst); in backref()
501 if (sp == stop || *sp++ != d) in backref()
505 if (sp == stop) in backref()
511 if (sp == stop || !CHIN(cs, *sp++)) in backref()
571 if (sp != stop) in backref()
578 AT("hard", sp, stop, ss, stopst); in backref()
589 assert(stop - m->beginp >= len); in backref()
590 if (sp > stop - len) in backref()
597 return(backref(m, sp+len, stop, ss+1, stopst, lev)); in backref()
600 dp = backref(m, sp, stop, ss+1, stopst, lev); in backref()
603 return(backref(m, sp, stop, ss+d+1, stopst, lev)); in backref()
609 return(backref(m, sp, stop, ss+1, stopst, lev+1)); in backref()
613 return(backref(m, sp, stop, ss+1, stopst, lev-1)); in backref()
616 dp = backref(m, sp, stop, ss-d+1, stopst, lev); in backref()
618 return(backref(m, sp, stop, ss+1, stopst, lev-1)); in backref()
627 dp = backref(m, sp, stop, ssub, esub, lev); in backref()
648 dp = backref(m, sp, stop, ss+1, stopst, lev); in backref()
659 dp = backref(m, sp, stop, ss+1, stopst, lev); in backref()
680 fast(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno startst, in fast() argument
740 if (ISSET(st, stopst) || p == stop) in fast()
765 slow(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno startst, in slow() argument
778 AT("slow", start, stop, startst, stopst); in slow()
825 if (EQ(st, empty) || p == stop) in slow()
848 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()
867 assert(pc == stop-1); in step()
993 at(struct match *m, char *title, char *start, char *stop, sopno startst, in at() argument
1000 printf("%s ", pchar(*stop)); in at()