Lines Matching refs:endp
77 const char *endp; /* end of string -- virtual NUL here */
135 const char *endp;
175 m->endp = stop;
185 endp = fast(m, start, stop, gf, gl);
186 if (endp == NULL) { /* a miss */
199 endp = slow(m, m->coldp, stop, gf, gl);
200 if (endp != NULL)
202 assert(m->coldp < m->endp);
220 dp = dissect(m, m->coldp, endp, gf, gl);
231 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
240 if (dp != NULL || endp <= m->coldp)
243 endp = slow(m, m->coldp, endp-1, gf, gl);
244 if (endp == NULL)
254 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
256 assert(dp == NULL || dp == endp);
270 pmatch[0].rm_eo = endp - m->offp;
522 (sp < m->endp && *(sp-1) == '\n' &&
529 if ( (sp == m->endp && !(m->eflags®_NOTEOL)) ||
530 (sp < m->endp && *sp == '\n' &&
538 (sp < m->endp && *(sp-1) == '\n' &&
542 (sp < m->endp && ISWORD(*sp)) )
548 if (( (sp == m->endp && !(m->eflags®_NOTEOL)) ||
549 (sp < m->endp && *sp == '\n' &&
551 (sp < m->endp && !ISWORD(*sp)) ) &&
705 c = (p == m->endp) ? OUT : *p;
790 c = (p == m->endp) ? OUT : *p;