Lines Matching refs:bufp
26 static void re_compile_fastmap_iter (regex_t *bufp,
218 struct re_pattern_buffer *bufp) in re_compile_pattern() argument
225 bufp->no_sub = !!(re_syntax_options & RE_NO_SUB); in re_compile_pattern()
228 bufp->newline_anchor = 1; in re_compile_pattern()
230 ret = re_compile_internal (bufp, pattern, length, re_syntax_options); in re_compile_pattern()
264 re_compile_fastmap (struct re_pattern_buffer *bufp) in weak_alias()
266 re_dfa_t *dfa = bufp->buffer; in weak_alias()
267 char *fastmap = bufp->fastmap; in weak_alias()
270 re_compile_fastmap_iter (bufp, dfa->init_state, fastmap); in weak_alias()
272 re_compile_fastmap_iter (bufp, dfa->init_state_word, fastmap); in weak_alias()
274 re_compile_fastmap_iter (bufp, dfa->init_state_nl, fastmap); in weak_alias()
276 re_compile_fastmap_iter (bufp, dfa->init_state_begbuf, fastmap); in weak_alias()
277 bufp->fastmap_accurate = 1; in weak_alias()
295 re_compile_fastmap_iter (regex_t *bufp, const re_dfastate_t *init_state, in re_compile_fastmap_iter() argument
298 re_dfa_t *dfa = bufp->buffer; in re_compile_fastmap_iter()
300 bool icase = (dfa->mb_cur_max == 1 && (bufp->syntax & RE_ICASE)); in re_compile_fastmap_iter()
310 if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) in re_compile_fastmap_iter()
400 if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) in re_compile_fastmap_iter()
418 bufp->can_be_null = 1; in re_compile_fastmap_iter()