Lines Matching refs:subexp
20 Resub subexp[NSUBEXP]; member
169 memset(rp->subexp, 0, sizeof(rp->subexp)); in findrule()
172 if(regexec(rp->program, s_to_c(addrp), rp->subexp, NSUBEXP)) in findrule()
173 if(s_to_c(addrp) == rp->subexp[0].s.sp) in findrule()
174 if((s_to_c(addrp) + strlen(s_to_c(addrp))) == rp->subexp[0].e.ep) in findrule()
202 dp->repl1 = substitute(rp->repl1, rp->subexp, mp); in rewrite()
203 dp->repl2 = substitute(rp->repl2, rp->subexp, mp); in rewrite()
246 substitute(String *source, Resub *subexp, message *mp) in substitute() argument
267 if(subexp[i].s.sp != 0) in substitute()
268 for (s = subexp[i].s.sp; in substitute()
269 s < subexp[i].e.ep; in substitute()
296 if(subexp[0].s.sp != 0) in substitute()
297 for (s = subexp[0].s.sp; in substitute()
298 s < subexp[0].e.ep; s++) in substitute()