Lines Matching refs:pmatch

74 	regmatch_t *pmatch;	/* [nsub+1] (0 element unused) */  member
135 regmatch_t pmatch[], int eflags) in matcher() argument
151 start = string + pmatch[0].rm_so; in matcher()
152 stop = string + pmatch[0].rm_eo; in matcher()
173 m->pmatch = NULL; in matcher()
189 free(m->pmatch); in matcher()
211 if (m->pmatch == NULL) in matcher()
212 m->pmatch = reallocarray(NULL, m->g->nsub + 1, in matcher()
214 if (m->pmatch == NULL) { in matcher()
219 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; in matcher()
228 free(m->pmatch); in matcher()
251 assert(m->pmatch[i].rm_so == -1); in matcher()
252 assert(m->pmatch[i].rm_eo == -1); in matcher()
271 pmatch[0].rm_so = m->coldp - m->offp; in matcher()
272 pmatch[0].rm_eo = endp - m->offp; in matcher()
275 assert(m->pmatch != NULL); in matcher()
278 pmatch[i] = m->pmatch[i]; in matcher()
280 pmatch[i].rm_so = -1; in matcher()
281 pmatch[i].rm_eo = -1; in matcher()
285 free(m->pmatch); in matcher()
456 m->pmatch[i].rm_so = sp - m->offp; in dissect()
461 m->pmatch[i].rm_eo = sp - m->offp; in dissect()
577 if (m->pmatch[i].rm_eo == -1) in backref()
579 assert(m->pmatch[i].rm_so != -1); in backref()
580 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; in backref()
586 ssp = m->offp + m->pmatch[i].rm_so; in backref()
640 offsave = m->pmatch[i].rm_so; in backref()
641 m->pmatch[i].rm_so = sp - m->offp; in backref()
645 m->pmatch[i].rm_so = offsave; in backref()
651 offsave = m->pmatch[i].rm_eo; in backref()
652 m->pmatch[i].rm_eo = sp - m->offp; in backref()
656 m->pmatch[i].rm_eo = offsave; in backref()