preg 24 maint/gnulib/lib/regcomp.c static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern, preg 31 maint/gnulib/lib/regcomp.c static void free_workarea_compile (regex_t *preg); preg 34 maint/gnulib/lib/regcomp.c static reg_errcode_t analyze (regex_t *preg); preg 43 maint/gnulib/lib/regcomp.c static bin_tree_t *lower_subexp (reg_errcode_t *err, regex_t *preg, preg 59 maint/gnulib/lib/regcomp.c static bin_tree_t *parse (re_string_t *regexp, regex_t *preg, preg 61 maint/gnulib/lib/regcomp.c static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg, preg 64 maint/gnulib/lib/regcomp.c static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg, preg 67 maint/gnulib/lib/regcomp.c static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg, preg 70 maint/gnulib/lib/regcomp.c static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg, preg 439 maint/gnulib/lib/regcomp.c regcomp (regex_t *__restrict preg, const char *__restrict pattern, int cflags) preg 445 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 446 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 447 maint/gnulib/lib/regcomp.c preg->used = 0; preg 450 maint/gnulib/lib/regcomp.c preg->fastmap = re_malloc (char, SBC_MAX); preg 451 maint/gnulib/lib/regcomp.c if (__glibc_unlikely (preg->fastmap == NULL)) preg 462 maint/gnulib/lib/regcomp.c preg->newline_anchor = 1; preg 465 maint/gnulib/lib/regcomp.c preg->newline_anchor = 0; preg 466 maint/gnulib/lib/regcomp.c preg->no_sub = !!(cflags & REG_NOSUB); preg 467 maint/gnulib/lib/regcomp.c preg->translate = NULL; preg 469 maint/gnulib/lib/regcomp.c ret = re_compile_internal (preg, pattern, strlen (pattern), syntax); preg 480 maint/gnulib/lib/regcomp.c (void) re_compile_fastmap (preg); preg 484 maint/gnulib/lib/regcomp.c re_free (preg->fastmap); preg 485 maint/gnulib/lib/regcomp.c preg->fastmap = NULL; preg 497 maint/gnulib/lib/regcomp.c regerror (int errcode, const regex_t *__restrict preg, char *__restrict errbuf, preg 607 maint/gnulib/lib/regcomp.c regfree (regex_t *preg) preg 609 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 615 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 616 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 618 maint/gnulib/lib/regcomp.c re_free (preg->fastmap); preg 619 maint/gnulib/lib/regcomp.c preg->fastmap = NULL; preg 621 maint/gnulib/lib/regcomp.c re_free (preg->translate); preg 622 maint/gnulib/lib/regcomp.c preg->translate = NULL; preg 700 maint/gnulib/lib/regcomp.c re_compile_internal (regex_t *preg, const char * pattern, size_t length, preg 708 maint/gnulib/lib/regcomp.c preg->fastmap_accurate = 0; preg 709 maint/gnulib/lib/regcomp.c preg->syntax = syntax; preg 710 maint/gnulib/lib/regcomp.c preg->not_bol = preg->not_eol = 0; preg 711 maint/gnulib/lib/regcomp.c preg->used = 0; preg 712 maint/gnulib/lib/regcomp.c preg->re_nsub = 0; preg 713 maint/gnulib/lib/regcomp.c preg->can_be_null = 0; preg 714 maint/gnulib/lib/regcomp.c preg->regs_allocated = REGS_UNALLOCATED; preg 717 maint/gnulib/lib/regcomp.c dfa = preg->buffer; preg 718 maint/gnulib/lib/regcomp.c if (__glibc_unlikely (preg->allocated < sizeof (re_dfa_t))) preg 724 maint/gnulib/lib/regcomp.c dfa = re_realloc (preg->buffer, re_dfa_t, 1); preg 727 maint/gnulib/lib/regcomp.c preg->allocated = sizeof (re_dfa_t); preg 728 maint/gnulib/lib/regcomp.c preg->buffer = dfa; preg 730 maint/gnulib/lib/regcomp.c preg->used = sizeof (re_dfa_t); preg 738 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 739 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 748 maint/gnulib/lib/regcomp.c err = re_string_construct (®exp, pattern, length, preg->translate, preg 753 maint/gnulib/lib/regcomp.c free_workarea_compile (preg); preg 757 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 758 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 763 maint/gnulib/lib/regcomp.c preg->re_nsub = 0; preg 764 maint/gnulib/lib/regcomp.c dfa->str_tree = parse (®exp, preg, syntax, &err); preg 769 maint/gnulib/lib/regcomp.c err = analyze (preg); preg 774 maint/gnulib/lib/regcomp.c if (dfa->is_utf8 && !(syntax & RE_ICASE) && preg->translate == NULL) preg 781 maint/gnulib/lib/regcomp.c free_workarea_compile (preg); preg 788 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 789 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 942 maint/gnulib/lib/regcomp.c free_workarea_compile (regex_t *preg) preg 944 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 1125 maint/gnulib/lib/regcomp.c analyze (regex_t *preg) preg 1127 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 1139 maint/gnulib/lib/regcomp.c dfa->subexp_map = re_malloc (Idx, preg->re_nsub); preg 1143 maint/gnulib/lib/regcomp.c for (i = 0; i < preg->re_nsub; i++) preg 1146 maint/gnulib/lib/regcomp.c for (i = 0; i < preg->re_nsub; i++) preg 1149 maint/gnulib/lib/regcomp.c if (i == preg->re_nsub) preg 1156 maint/gnulib/lib/regcomp.c ret = postorder (dfa->str_tree, lower_subexps, preg); preg 1172 maint/gnulib/lib/regcomp.c if ((!preg->no_sub && preg->re_nsub > 0 && dfa->has_plural_match) preg 1286 maint/gnulib/lib/regcomp.c regex_t *preg = (regex_t *) extra; preg 1291 maint/gnulib/lib/regcomp.c node->left = lower_subexp (&err, preg, node->left); preg 1297 maint/gnulib/lib/regcomp.c node->right = lower_subexp (&err, preg, node->right); preg 1306 maint/gnulib/lib/regcomp.c lower_subexp (reg_errcode_t *err, regex_t *preg, bin_tree_t *node) preg 1308 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 1312 maint/gnulib/lib/regcomp.c if (preg->no_sub preg 2071 maint/gnulib/lib/regcomp.c parse (re_string_t *regexp, regex_t *preg, reg_syntax_t syntax, preg 2074 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2079 maint/gnulib/lib/regcomp.c tree = parse_reg_exp (regexp, preg, ¤t_token, syntax, 0, err); preg 2105 maint/gnulib/lib/regcomp.c parse_reg_exp (re_string_t *regexp, regex_t *preg, re_token_t *token, preg 2108 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2111 maint/gnulib/lib/regcomp.c tree = parse_branch (regexp, preg, token, syntax, nest, err); preg 2123 maint/gnulib/lib/regcomp.c branch = parse_branch (regexp, preg, token, syntax, nest, err); preg 2154 maint/gnulib/lib/regcomp.c parse_branch (re_string_t *regexp, regex_t *preg, re_token_t *token, preg 2158 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2159 maint/gnulib/lib/regcomp.c tree = parse_expression (regexp, preg, token, syntax, nest, err); preg 2166 maint/gnulib/lib/regcomp.c expr = parse_expression (regexp, preg, token, syntax, nest, err); preg 2199 maint/gnulib/lib/regcomp.c parse_expression (re_string_t *regexp, regex_t *preg, re_token_t *token, preg 2202 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2232 maint/gnulib/lib/regcomp.c tree = parse_sub_exp (regexp, preg, token, syntax, nest + 1, err); preg 2278 maint/gnulib/lib/regcomp.c return parse_expression (regexp, preg, token, syntax, nest, err); preg 2431 maint/gnulib/lib/regcomp.c parse_sub_exp (re_string_t *regexp, regex_t *preg, re_token_t *token, preg 2434 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2437 maint/gnulib/lib/regcomp.c cur_nsub = preg->re_nsub++; preg 2446 maint/gnulib/lib/regcomp.c tree = parse_reg_exp (regexp, preg, token, syntax, nest, err); preg 42 maint/gnulib/lib/regex.c # define regfree(preg) __regfree (preg) preg 44 maint/gnulib/lib/regex.c # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) preg 45 maint/gnulib/lib/regex.c # define regerror(errcode, preg, errbuf, errbuf_size) \ preg 46 maint/gnulib/lib/regex.c __regerror(errcode, preg, errbuf, errbuf_size) preg 34 maint/gnulib/lib/regexec.c static reg_errcode_t re_search_internal (const regex_t *preg, preg 64 maint/gnulib/lib/regexec.c static reg_errcode_t set_regs (const regex_t *preg, preg 187 maint/gnulib/lib/regexec.c regexec (const regex_t *__restrict preg, const char *__restrict string, preg 192 maint/gnulib/lib/regexec.c re_dfa_t *dfa = preg->buffer; preg 209 maint/gnulib/lib/regexec.c if (preg->no_sub) preg 210 maint/gnulib/lib/regexec.c err = re_search_internal (preg, string, length, start, length, preg 213 maint/gnulib/lib/regexec.c err = re_search_internal (preg, string, length, start, length, preg 230 maint/gnulib/lib/regexec.c __compat_regexec (const regex_t *__restrict preg, preg 234 maint/gnulib/lib/regexec.c return regexec (preg, string, nmatch, pmatch, preg 580 maint/gnulib/lib/regexec.c re_search_internal (const regex_t *preg, const char *string, Idx length, preg 585 maint/gnulib/lib/regexec.c const re_dfa_t *dfa = preg->buffer; preg 596 maint/gnulib/lib/regexec.c char *fastmap = ((preg->fastmap != NULL && preg->fastmap_accurate preg 597 maint/gnulib/lib/regexec.c && start != last_start && !preg->can_be_null) preg 598 maint/gnulib/lib/regexec.c ? preg->fastmap : NULL); preg 599 maint/gnulib/lib/regexec.c RE_TRANSLATE_TYPE t = preg->translate; preg 601 maint/gnulib/lib/regexec.c extra_nmatch = (nmatch > preg->re_nsub) ? nmatch - (preg->re_nsub + 1) : 0; preg 605 maint/gnulib/lib/regexec.c if (__glibc_unlikely (preg->used == 0 || dfa->init_state == NULL preg 620 maint/gnulib/lib/regexec.c || !preg->newline_anchor)) preg 631 maint/gnulib/lib/regexec.c preg->translate, (preg->syntax & RE_ICASE) != 0, preg 637 maint/gnulib/lib/regexec.c mctx.input.newline_anchor = preg->newline_anchor; preg 676 maint/gnulib/lib/regexec.c ? ((sb || !(preg->syntax & RE_ICASE || t) ? 4 : 0) preg 796 maint/gnulib/lib/regexec.c if ((!preg->no_sub && nmatch > 1) || dfa->nbackref) preg 802 maint/gnulib/lib/regexec.c if ((!preg->no_sub && nmatch > 1 && dfa->has_plural_match) preg 839 maint/gnulib/lib/regexec.c if (!preg->no_sub && nmatch > 1) preg 841 maint/gnulib/lib/regexec.c err = set_regs (preg, &mctx, nmatch, pmatch, preg 1364 maint/gnulib/lib/regexec.c set_regs (const regex_t *preg, const re_match_context_t *mctx, size_t nmatch, preg 1367 maint/gnulib/lib/regexec.c const re_dfa_t *dfa = preg->buffer;