Lines Matching defs:rest
300 const RCHAR_T *rest; /* start of rest of string */
301 const RCHAR_T *tail; /* string unmatched by rest of RE */
352 rest = slow(m, sp, stp, ss, es);
353 assert(rest != NULL); /* it did match */
354 /* could the rest match the rest? */
355 tail = slow(m, rest, stop, es, stopst);
359 stp = rest - 1;
365 if (slow(m, sp, rest, ssub, esub) != NULL) {
366 dp = dissect(m, sp, rest, ssub, esub);
367 assert(dp == rest);
369 assert(sp == rest);
370 sp = rest;
376 rest = slow(m, sp, stp, ss, es);
377 assert(rest != NULL); /* it did match */
378 /* could the rest match the rest? */
379 tail = slow(m, rest, stop, es, stopst);
383 stp = rest - 1;
391 sep = slow(m, ssp, rest, ssub, esub);
402 assert(sep == rest); /* must exhaust substring */
403 assert(slow(m, ssp, sep, ssub, esub) == rest);
406 sp = rest;
412 rest = slow(m, sp, stp, ss, es);
413 assert(rest != NULL); /* it did match */
414 /* could the rest match the rest? */
415 tail = slow(m, rest, stop, es, stopst);
419 stp = rest - 1;
426 if (slow(m, sp, rest, ssub, esub) == rest)
439 dp = dissect(m, sp, rest, ssub, esub);
440 assert(dp == rest);
441 sp = rest;
643 case OLPAREN: /* must undo assignment if rest fails */
654 case ORPAREN: /* must undo assignment if rest fails */