Lines Matching full:regex
25 regex->orig_compile_opts = compile_options;
26 regex->match_opts = pcre_match_options;
27 regex->orig_match_opts = match_options;
28 - regex->jit_status = enable_jit_with_match_options (regex, regex->match_opts);
30 return regex;
51 glib/tests/regex.c | 9 +++++++++
70 -enable_jit_with_match_options (GRegex *regex,
77 - if (!(regex->orig_compile_opts & G_REGEX_OPTIMIZE))
78 + if (!(match_info->regex->orig_compile_opts & G_REGEX_OPTIMIZE))
81 - if (regex->jit_status == JIT_STATUS_DISABLED)
82 + if (match_info->regex->jit_status == JIT_STATUS_DISABLED)
88 - old_jit_options = regex->jit_options;
89 + old_jit_options = match_info->regex->jit_options;
93 @@ -920,13 +921,16 @@ enable_jit_with_match_options (GRegex *regex,
97 - return regex->jit_status;
98 + return match_info->regex->jit_status;
100 - retval = pcre2_jit_compile (regex->pcre_re, new_jit_options);
101 + retval = pcre2_jit_compile (match_info->regex->pcre_re, new_jit_options);
105 - regex->jit_options = new_jit_options;
106 + match_info->regex->jit_options = new_jit_options;
114 g_regex_unref (match_info->regex);
124 opts = match_info->regex->match_opts | match_info->match_opts;
126 - jit_status = enable_jit_with_match_options (match_info->regex, opts);
130 match_info->matches = pcre2_jit_match (match_info->regex->pcre_re,
131 diff --git a/glib/tests/regex.c b/glib/tests/regex.c
133 --- a/glib/tests/regex.c
134 +++ b/glib/tests/regex.c