preg 24 maint/gnulib/lib/regcomp.c static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern, preg 33 maint/gnulib/lib/regcomp.c static void free_workarea_compile (regex_t *preg); preg 38 maint/gnulib/lib/regcomp.c static reg_errcode_t analyze (regex_t *preg); preg 47 maint/gnulib/lib/regcomp.c static bin_tree_t *lower_subexp (reg_errcode_t *err, regex_t *preg, preg 63 maint/gnulib/lib/regcomp.c static bin_tree_t *parse (re_string_t *regexp, regex_t *preg, preg 65 maint/gnulib/lib/regcomp.c static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg, preg 68 maint/gnulib/lib/regcomp.c static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg, preg 71 maint/gnulib/lib/regcomp.c static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg, preg 74 maint/gnulib/lib/regcomp.c static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg, preg 461 maint/gnulib/lib/regcomp.c regcomp (regex_t *__restrict preg, const char *__restrict pattern, int cflags) preg 467 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 468 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 469 maint/gnulib/lib/regcomp.c preg->used = 0; preg 472 maint/gnulib/lib/regcomp.c preg->fastmap = re_malloc (char, SBC_MAX); preg 473 maint/gnulib/lib/regcomp.c if (__glibc_unlikely (preg->fastmap == NULL)) preg 484 maint/gnulib/lib/regcomp.c preg->newline_anchor = 1; preg 487 maint/gnulib/lib/regcomp.c preg->newline_anchor = 0; preg 488 maint/gnulib/lib/regcomp.c preg->no_sub = !!(cflags & REG_NOSUB); preg 489 maint/gnulib/lib/regcomp.c preg->translate = NULL; preg 491 maint/gnulib/lib/regcomp.c ret = re_compile_internal (preg, pattern, strlen (pattern), syntax); preg 502 maint/gnulib/lib/regcomp.c (void) re_compile_fastmap (preg); preg 506 maint/gnulib/lib/regcomp.c re_free (preg->fastmap); preg 507 maint/gnulib/lib/regcomp.c preg->fastmap = NULL; preg 519 maint/gnulib/lib/regcomp.c regerror (int errcode, const regex_t *__restrict preg, char *__restrict errbuf, preg 633 maint/gnulib/lib/regcomp.c regfree (regex_t *preg) preg 635 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 641 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 642 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 644 maint/gnulib/lib/regcomp.c re_free (preg->fastmap); preg 645 maint/gnulib/lib/regcomp.c preg->fastmap = NULL; preg 647 maint/gnulib/lib/regcomp.c re_free (preg->translate); preg 648 maint/gnulib/lib/regcomp.c preg->translate = NULL; preg 726 maint/gnulib/lib/regcomp.c re_compile_internal (regex_t *preg, const char * pattern, size_t length, preg 734 maint/gnulib/lib/regcomp.c preg->fastmap_accurate = 0; preg 735 maint/gnulib/lib/regcomp.c preg->syntax = syntax; preg 736 maint/gnulib/lib/regcomp.c preg->not_bol = preg->not_eol = 0; preg 737 maint/gnulib/lib/regcomp.c preg->used = 0; preg 738 maint/gnulib/lib/regcomp.c preg->re_nsub = 0; preg 739 maint/gnulib/lib/regcomp.c preg->can_be_null = 0; preg 740 maint/gnulib/lib/regcomp.c preg->regs_allocated = REGS_UNALLOCATED; preg 743 maint/gnulib/lib/regcomp.c dfa = preg->buffer; preg 744 maint/gnulib/lib/regcomp.c if (__glibc_unlikely (preg->allocated < sizeof (re_dfa_t))) preg 750 maint/gnulib/lib/regcomp.c dfa = re_realloc (preg->buffer, re_dfa_t, 1); preg 753 maint/gnulib/lib/regcomp.c preg->allocated = sizeof (re_dfa_t); preg 754 maint/gnulib/lib/regcomp.c preg->buffer = dfa; preg 756 maint/gnulib/lib/regcomp.c preg->used = sizeof (re_dfa_t); preg 764 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 765 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 774 maint/gnulib/lib/regcomp.c err = re_string_construct (®exp, pattern, length, preg->translate, preg 779 maint/gnulib/lib/regcomp.c free_workarea_compile (preg); preg 783 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 784 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 789 maint/gnulib/lib/regcomp.c preg->re_nsub = 0; preg 790 maint/gnulib/lib/regcomp.c dfa->str_tree = parse (®exp, preg, syntax, &err); preg 795 maint/gnulib/lib/regcomp.c err = analyze (preg); preg 801 maint/gnulib/lib/regcomp.c if (dfa->is_utf8 && !(syntax & RE_ICASE) && preg->translate == NULL) preg 809 maint/gnulib/lib/regcomp.c free_workarea_compile (preg); preg 816 maint/gnulib/lib/regcomp.c preg->buffer = NULL; preg 817 maint/gnulib/lib/regcomp.c preg->allocated = 0; preg 978 maint/gnulib/lib/regcomp.c free_workarea_compile (regex_t *preg) preg 980 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 1163 maint/gnulib/lib/regcomp.c analyze (regex_t *preg) preg 1165 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 1177 maint/gnulib/lib/regcomp.c dfa->subexp_map = re_malloc (Idx, preg->re_nsub); preg 1181 maint/gnulib/lib/regcomp.c for (i = 0; i < preg->re_nsub; i++) preg 1184 maint/gnulib/lib/regcomp.c for (i = 0; i < preg->re_nsub; i++) preg 1187 maint/gnulib/lib/regcomp.c if (i == preg->re_nsub) preg 1194 maint/gnulib/lib/regcomp.c ret = postorder (dfa->str_tree, lower_subexps, preg); preg 1210 maint/gnulib/lib/regcomp.c if ((!preg->no_sub && preg->re_nsub > 0 && dfa->has_plural_match) preg 1324 maint/gnulib/lib/regcomp.c regex_t *preg = (regex_t *) extra; preg 1329 maint/gnulib/lib/regcomp.c node->left = lower_subexp (&err, preg, node->left); preg 1335 maint/gnulib/lib/regcomp.c node->right = lower_subexp (&err, preg, node->right); preg 1344 maint/gnulib/lib/regcomp.c lower_subexp (reg_errcode_t *err, regex_t *preg, bin_tree_t *node) preg 1346 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 1350 maint/gnulib/lib/regcomp.c if (preg->no_sub preg 2117 maint/gnulib/lib/regcomp.c parse (re_string_t *regexp, regex_t *preg, reg_syntax_t syntax, preg 2120 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2125 maint/gnulib/lib/regcomp.c tree = parse_reg_exp (regexp, preg, ¤t_token, syntax, 0, err); preg 2151 maint/gnulib/lib/regcomp.c parse_reg_exp (re_string_t *regexp, regex_t *preg, re_token_t *token, preg 2154 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2157 maint/gnulib/lib/regcomp.c tree = parse_branch (regexp, preg, token, syntax, nest, err); preg 2169 maint/gnulib/lib/regcomp.c branch = parse_branch (regexp, preg, token, syntax, nest, err); preg 2200 maint/gnulib/lib/regcomp.c parse_branch (re_string_t *regexp, regex_t *preg, re_token_t *token, preg 2204 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2205 maint/gnulib/lib/regcomp.c tree = parse_expression (regexp, preg, token, syntax, nest, err); preg 2212 maint/gnulib/lib/regcomp.c expr = parse_expression (regexp, preg, token, syntax, nest, err); preg 2245 maint/gnulib/lib/regcomp.c parse_expression (re_string_t *regexp, regex_t *preg, re_token_t *token, preg 2248 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2280 maint/gnulib/lib/regcomp.c tree = parse_sub_exp (regexp, preg, token, syntax, nest + 1, err); preg 2326 maint/gnulib/lib/regcomp.c return parse_expression (regexp, preg, token, syntax, nest, err); preg 2479 maint/gnulib/lib/regcomp.c parse_sub_exp (re_string_t *regexp, regex_t *preg, re_token_t *token, preg 2482 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; preg 2485 maint/gnulib/lib/regcomp.c cur_nsub = preg->re_nsub++; preg 2494 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 193 maint/gnulib/lib/regexec.c regexec (const regex_t *__restrict preg, const char *__restrict string, preg 198 maint/gnulib/lib/regexec.c re_dfa_t *dfa = preg->buffer; preg 215 maint/gnulib/lib/regexec.c if (preg->no_sub) preg 216 maint/gnulib/lib/regexec.c err = re_search_internal (preg, string, length, start, length, preg 219 maint/gnulib/lib/regexec.c err = re_search_internal (preg, string, length, start, length, preg 236 maint/gnulib/lib/regexec.c __compat_regexec (const regex_t *__restrict preg, preg 240 maint/gnulib/lib/regexec.c return regexec (preg, string, nmatch, pmatch, preg 586 maint/gnulib/lib/regexec.c re_search_internal (const regex_t *preg, const char *string, Idx length, preg 591 maint/gnulib/lib/regexec.c const re_dfa_t *dfa = preg->buffer; preg 602 maint/gnulib/lib/regexec.c char *fastmap = ((preg->fastmap != NULL && preg->fastmap_accurate preg 603 maint/gnulib/lib/regexec.c && start != last_start && !preg->can_be_null) preg 604 maint/gnulib/lib/regexec.c ? preg->fastmap : NULL); preg 605 maint/gnulib/lib/regexec.c RE_TRANSLATE_TYPE t = preg->translate; preg 607 maint/gnulib/lib/regexec.c extra_nmatch = (nmatch > preg->re_nsub) ? nmatch - (preg->re_nsub + 1) : 0; preg 611 maint/gnulib/lib/regexec.c if (__glibc_unlikely (preg->used == 0 || dfa->init_state == NULL preg 626 maint/gnulib/lib/regexec.c || !preg->newline_anchor)) preg 637 maint/gnulib/lib/regexec.c preg->translate, (preg->syntax & RE_ICASE) != 0, preg 643 maint/gnulib/lib/regexec.c mctx.input.newline_anchor = preg->newline_anchor; preg 682 maint/gnulib/lib/regexec.c ? ((sb || !(preg->syntax & RE_ICASE || t) ? 4 : 0) preg 805 maint/gnulib/lib/regexec.c if ((!preg->no_sub && nmatch > 1) || dfa->nbackref) preg 811 maint/gnulib/lib/regexec.c if ((!preg->no_sub && nmatch > 1 && dfa->has_plural_match) preg 848 maint/gnulib/lib/regexec.c if (!preg->no_sub && nmatch > 1) preg 850 maint/gnulib/lib/regexec.c err = set_regs (preg, &mctx, nmatch, pmatch, preg 1381 maint/gnulib/lib/regexec.c set_regs (const regex_t *preg, const re_match_context_t *mctx, size_t nmatch, preg 1384 maint/gnulib/lib/regexec.c const re_dfa_t *dfa = preg->buffer;