Home
last modified time | relevance | path

Searched refs:preg (Results 1 – 6 of 6) sorted by relevance

/glibc-2.36/posix/
Dregcomp.c24 static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
33 static void free_workarea_compile (regex_t *preg);
38 static reg_errcode_t analyze (regex_t *preg);
47 static bin_tree_t *lower_subexp (reg_errcode_t *err, regex_t *preg,
63 static bin_tree_t *parse (re_string_t *regexp, regex_t *preg,
65 static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg,
68 static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg,
71 static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg,
74 static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg,
461 regcomp (regex_t *__restrict preg, const char *__restrict pattern, int cflags) in regcomp() argument
[all …]
Dbug-regex32.c10 regex_t preg; in do_test() local
17 int e = regcomp (&preg, ".*ab", REG_ICASE); in do_test()
20 regerror (e, &preg, buf, sizeof (buf)); in do_test()
26 e = regexec (&preg, "aaaaaaaaaaaa\xc4", 0, NULL, 0); in do_test()
28 regfree (&preg); in do_test()
29 regerror (e, &preg, buf, sizeof (buf)); in do_test()
Dregex.c42 # define regfree(preg) __regfree (preg) argument
44 # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) argument
45 # define regerror(errcode, preg, errbuf, errbuf_size) \ argument
46 __regerror(errcode, preg, errbuf, errbuf_size)
Dregexec.c34 static reg_errcode_t re_search_internal (const regex_t *preg,
64 static reg_errcode_t set_regs (const regex_t *preg,
193 regexec (const regex_t *__restrict preg, const char *__restrict string, in regexec() argument
198 re_dfa_t *dfa = preg->buffer; in regexec()
215 if (preg->no_sub) in regexec()
216 err = re_search_internal (preg, string, length, start, length, in regexec()
219 err = re_search_internal (preg, string, length, start, length, in regexec()
236 __compat_regexec (const regex_t *__restrict preg, in __compat_regexec() argument
240 return regexec (preg, string, nmatch, pmatch, in __compat_regexec()
586 re_search_internal (const regex_t *preg, const char *string, Idx length, in re_search_internal() argument
[all …]
/glibc-2.36/ChangeLog.old/
DChangeLog.142908 (regfree): Free preg->translate, clear buffer, allocated, fastmap
2965 build_trtable): Remove preg argument, add dfa argument instead
2966 and remove dfa = preg->buffer initialization in the body.
2970 preg->syntax.
2971 (check_arrival_add_next_nodes): Remove preg argument.
3385 !preg->newline_anchor, that do not include any one of
4108 (re_compile_internal): Don't call optimize_utf8 if preg->translate
15107 * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.
DChangeLog.15718 (re_compile_pattern): Set preg->no_sub to 1 if RE_NO_SUB.