Lines Matching defs:state
39 } state;
48 if (state.valid)
54 if (state.valid)
56 state.valid = 0;
57 regfree(&state.re);
59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL)))
61 state.valid = 1;
65 regerror(r, &state.re, state.error, sizeof(state.error));
66 return state.error;
72 if (state.valid && subject)
73 switch (regexec(&state.re, subject, 0, NiL, 0))