Lines Matching defs:fastmap

26 				     char *fastmap);
281 char *fastmap = bufp->fastmap;
283 memset (fastmap, '\0', sizeof (char) * SBC_MAX);
284 re_compile_fastmap_iter (bufp, dfa->init_state, fastmap);
286 re_compile_fastmap_iter (bufp, dfa->init_state_word, fastmap);
288 re_compile_fastmap_iter (bufp, dfa->init_state_nl, fastmap);
290 re_compile_fastmap_iter (bufp, dfa->init_state_begbuf, fastmap);
300 re_set_fastmap (char *fastmap, bool icase, int ch)
302 fastmap[ch] = 1;
304 fastmap[tolower (ch)] = 1;
308 Compile fastmap for the initial_state INIT_STATE. */
312 char *fastmap)
324 re_set_fastmap (fastmap, icase, dfa->nodes[node].opr.c);
344 re_set_fastmap (fastmap, false, buf[0]);
357 re_set_fastmap (fastmap, icase, ch);
380 re_set_fastmap (fastmap, icase, i);
401 re_set_fastmap (fastmap, false, (int) c);
415 re_set_fastmap (fastmap, icase, *(unsigned char *) buf);
420 re_set_fastmap (fastmap, false, *(unsigned char *) buf);
432 memset (fastmap, '\1', sizeof (char) * SBC_MAX);
453 `fastmap' to an allocated space for the fastmap;
491 /* Try to allocate space for the fastmap. */
492 preg->fastmap = re_malloc (char, SBC_MAX);
493 if (BE (preg->fastmap == NULL, 0))
518 /* We have already checked preg->fastmap != NULL. */
520 /* Compute the fastmap now, since regexec cannot modify the pattern
526 re_free (preg->fastmap);
527 preg->fastmap = NULL;
671 re_free (preg->fastmap);
672 preg->fastmap = NULL;
701 char *fastmap;
712 fastmap = re_comp_buf.fastmap;
713 re_comp_buf.fastmap = NULL;
716 re_comp_buf.fastmap = fastmap;
719 if (re_comp_buf.fastmap == NULL)
721 re_comp_buf.fastmap = (char *) malloc (SBC_MAX);
722 if (re_comp_buf.fastmap == NULL)