Lines Matching defs:pos
151 regmatch_t* pos; /* match position pointer */
337 if (state->pos)
338 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo);
391 if (!(result = regnexec(&x->re, s, len, state->posnum, state->pos, 0)))
405 if (state->pos)
406 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo);
425 if (state->pos)
426 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo);
497 if ((result = regrexec(&x->re, span, t - span, state->posnum, state->pos, state->options, '\n', (void*)&r_x, record)) < 0)
525 if ((result = regrexec(&x->re, s, t - s, state->posnum, state->pos, state->options, '\n', (void*)&r_x, record)) < 0)
801 state.pos = state.posvec;