Home
last modified time | relevance | path

Searched refs:reg_comp (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/expr/
H A Dcompile.c94 } reg_comp; variable
99 size_t regexc_size = sizeof (reg_comp);
164 memset(&reg_comp, 0, regexc_size);
172 memcpy(&reg_comp, expbuf, regexc_size);
184 regex_comp_free(&reg_comp);
190 if ((rv = regcomp(&reg_comp.r_stp, instr, regcomp_flags)) != 0) {
207 if ((rv = regcomp(&reg_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 */
[all …]