Lines Matching refs:start

83 	const char *beginp;	/* start of string -- virtual NUL precedes */
89 states fresh; /* states for a fresh start */
163 const char *start;
178 start = string + pmatch[0].rm_so;
181 start = string;
182 stop = start + strlen(start);
185 if (stop < start)
196 for (dp = start+g->mlen-1; dp < stop; ) {
224 for (dp = start; dp < stop; dp++)
240 m->beginp = start;
250 /* Adjust start according to moffset, to speed things up */
252 start = ((dp - g->moffset) < start) ? start : dp - g->moffset;
254 SP("mloop", m->st, *start);
258 endp = fast(m, start, stop, gf, gl);
273 NOTE("finding start");
340 start = m->coldp + XMBRTOWC(NULL, m->coldp,
342 assert(start <= stop);
373 dissect(struct match *m, const char *start, const char *stop, sopno startst,
377 sopno ss; /* start sop of current subRE */
379 const char *sp; /* start of string matched by it */
381 const char *rest; /* start of rest of string */
383 sopno ssub; /* start sop of subsubRE */
385 const char *ssp; /* start of string matched by subsubRE */
390 AT("diss", start, stop, startst, stopst);
391 sp = start;
413 sp += XMBRTOWC(NULL, sp, stop - start, &m->mbs, 0);
422 sp += XMBRTOWC(NULL, sp, stop - start, &m->mbs, 0);
558 backref(struct match *m, const char *start, const char *stop, sopno startst,
563 sopno ss; /* start sop of current subRE */
564 const char *sp; /* start of string matched by it */
565 sopno ssub; /* start sop of subsubRE */
567 const char *ssp; /* start of string matched by subsubRE */
576 AT("back", start, stop, startst, stopst);
577 sp = start;
756 fast(struct match *m, const char *start, const char *stop, sopno startst,
762 const char *p = start;
775 SP("start", st, *p);
777 if (start == m->beginp)
785 c = (uch)*(start - 1);
858 slow(struct match *m, const char *start, const char *stop, sopno startst,
864 const char *p = start;
872 AT("slow", start, stop, startst, stopst);
878 if (start == m->beginp)
886 c = (uch)*(start - 1);
956 sopno start, /* start state within strip */
969 for (pc = start, INIT(here, pc); pc != stop; pc++, INC(here)) {
1096 at(struct match *m, const char *title, const char *start, const char *stop,
1102 (void) printf("%s %s-", title, pchar(*start));