Lines Matching refs:stop

81 	unsigned char *stop;  local
88 stop = string + pmatch[0].rm_eo;
91 stop = start + strlen(start);
93 if (stop < start)
98 for (dp = start; dp < stop; dp++)
99 if (*dp == g->must[0] && stop - dp >= g->mlen &&
102 if (dp == stop) /* we didn't find g->must */
113 m->endp = stop;
123 endp = fast(m, start, stop, gf, gl);
135 endp = slow(m, m->coldp, stop, gf, gl);
199 assert(start <= stop);
232 dissect(m, start, stop, startst, stopst) in dissect() argument
235 unsigned char *stop;
253 AT("diss", start, stop, startst, stopst);
293 stp = stop;
299 tail = slow(m, rest, stop, es, stopst);
300 if (tail == stop)
317 stp = stop;
323 tail = slow(m, rest, stop, es, stopst);
324 if (tail == stop)
353 stp = stop;
359 tail = slow(m, rest, stop, es, stopst);
360 if (tail == stop)
410 assert(sp == stop);
420 backref(m, start, stop, startst, stopst, lev) in backref() argument
423 unsigned char *stop;
441 AT("back", start, stop, startst, stopst);
449 if (sp == stop || *sp++ != (unsigned char)OPND(s))
453 if (sp == stop)
459 if (sp == stop || !CHIN(cs, *sp++))
515 if (sp != stop)
522 AT("hard", sp, stop, ss, stopst);
532 assert(stop - m->beginp >= len);
533 if (sp > stop - len)
540 return(backref(m, sp+len, stop, ss+1, stopst, lev));
543 dp = backref(m, sp, stop, ss+1, stopst, lev);
546 return(backref(m, sp, stop, ss+OPND(s)+1, stopst, lev));
552 return(backref(m, sp, stop, ss+1, stopst, lev+1));
556 return(backref(m, sp, stop, ss+1, stopst, lev-1));
559 dp = backref(m, sp, stop, ss-OPND(s)+1, stopst, lev);
561 return(backref(m, sp, stop, ss+1, stopst, lev-1));
570 dp = backref(m, sp, stop, ssub, esub, lev);
591 dp = backref(m, sp, stop, ss+1, stopst, lev);
602 dp = backref(m, sp, stop, ss+1, stopst, lev);
625 fast(m, start, stop, startst, stopst) in fast() argument
628 unsigned char *stop;
689 if (ISSET(st, stopst) || p == stop)
716 slow(m, start, stop, startst, stopst) in slow() argument
719 unsigned char *stop;
733 AT("slow", start, stop, startst, stopst);
780 if (EQ(st, empty) || p == stop)
812 step(g, start, stop, bef, ch, aft) in step() argument
815 sopno stop; /* state after stop state within strip */
827 for (pc = start, INIT(here, pc); pc != stop; pc++, INC(here)) {
831 assert(pc == stop-1);
967 at(m, title, start, stop, startst, stopst) in at() argument
971 unsigned char *stop;
979 printf("%s ", pchar(*stop));