Lines Matching refs:reg_comp
94 } reg_comp; variable
99 size_t regexc_size = sizeof (reg_comp);
164 memset(®_comp, 0, regexc_size);
172 memcpy(®_comp, expbuf, regexc_size);
184 regex_comp_free(®_comp);
190 if ((rv = regcomp(®_comp.r_stp, instr, regcomp_flags)) != 0) {
207 if ((rv = regcomp(®_comp.r_adv, instrp, regcomp_flags)) != 0) {
215 nbra = (int) reg_comp.r_adv.re_nsub > 0 ?
216 (int) reg_comp.r_adv.re_nsub : 0;
223 reg_comp.r_head[0] = 1; /* set special flag */
225 reg_comp.r_head[0] = 0; /* clear special flag */
230 reg_comp.r_head[1] = 1; /* set special flag */
234 (void) memcpy(expbuf, (char *) ®_comp, regexc_size);