Lines Matching refs:bufp
24 static void re_compile_fastmap_iter (regex_t *bufp,
217 re_compile_pattern (pattern, length, bufp)
220 struct re_pattern_buffer *bufp;
227 bufp->no_sub = !!(re_syntax_options & RE_NO_SUB);
230 bufp->newline_anchor = 1;
232 ret = re_compile_internal (bufp, pattern, length, re_syntax_options);
271 re_compile_fastmap (bufp)
272 struct re_pattern_buffer *bufp;
274 re_dfa_t *dfa = (re_dfa_t *) bufp->buffer;
275 char *fastmap = bufp->fastmap;
278 re_compile_fastmap_iter (bufp, dfa->init_state, fastmap);
280 re_compile_fastmap_iter (bufp, dfa->init_state_word, fastmap);
282 re_compile_fastmap_iter (bufp, dfa->init_state_nl, fastmap);
284 re_compile_fastmap_iter (bufp, dfa->init_state_begbuf, fastmap);
285 bufp->fastmap_accurate = 1;
305 re_compile_fastmap_iter (regex_t *bufp, const re_dfastate_t *init_state,
308 re_dfa_t *dfa = (re_dfa_t *) bufp->buffer;
310 int icase = (dfa->mb_cur_max == 1 && (bufp->syntax & RE_ICASE));
320 if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1)
409 if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1)
427 bufp->can_be_null = 1;