Home
last modified time | relevance | path

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

/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_context.c186 if (mcontext == NULL) return NULL; in pcre2_match_context_create()
190 return mcontext; in pcre2_match_context_create()
257 mcontext->memctl.memory_data); in pcre2_match_context_copy()
300 if (mcontext != NULL) in pcre2_match_context_free()
301 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free()
403 mcontext->callout = callout; in pcre2_set_callout()
421 mcontext->heap_limit = limit; in pcre2_set_heap_limit()
428 mcontext->match_limit = limit; in pcre2_set_match_limit()
435 mcontext->depth_limit = limit; in pcre2_set_depth_limit()
442 mcontext->offset_limit = limit; in pcre2_set_offset_limit()
[all …]
H A Dpcre2_jit_match.c87 pcre2_match_context *mcontext) in pcre2_jit_match() argument
97 (void)mcontext; in pcre2_jit_match()
132 if (mcontext != NULL) in pcre2_jit_match()
134 arguments.callout = mcontext->callout; in pcre2_jit_match()
135 arguments.callout_data = mcontext->callout_data; in pcre2_jit_match()
136 arguments.offset_limit = mcontext->offset_limit; in pcre2_jit_match()
137 arguments.limit_match = (mcontext->match_limit < re->limit_match)? in pcre2_jit_match()
138 mcontext->match_limit : re->limit_match; in pcre2_jit_match()
139 if (mcontext->jit_callback != NULL) in pcre2_jit_match()
140 jit_stack = mcontext->jit_callback(mcontext->jit_callback_data); in pcre2_jit_match()
[all …]
H A Dpcre2_jit_misc.c164 pcre2_jit_stack_assign(pcre2_match_context *mcontext, pcre2_jit_callback callback, in pcre2_jit_stack_assign() argument
168 (void)mcontext; in pcre2_jit_stack_assign()
173 if (mcontext == NULL) return; in pcre2_jit_stack_assign()
174 mcontext->jit_callback = callback; in pcre2_jit_stack_assign()
175 mcontext->jit_callback_data = callback_data; in pcre2_jit_stack_assign()
H A Dpcre2_substitute.c222 pcre2_match_context *mcontext, PCRE2_SPTR replacement, PCRE2_SIZE rlength, in pcre2_substitute() argument
292 gcontext = (mcontext == NULL)? in pcre2_substitute()
294 (pcre2_general_context *)mcontext; in pcre2_substitute()
302 pcre2_general_context *gcontext = (mcontext == NULL)? in pcre2_substitute()
304 (pcre2_general_context *)mcontext; in pcre2_substitute()
387 match_data, mcontext); in pcre2_substitute()
916 if (!overflowed && mcontext != NULL && mcontext->substitute_callout != NULL) in pcre2_substitute()
920 rc = mcontext->substitute_callout(&scb, mcontext->substitute_callout_data); in pcre2_substitute()
H A Dpcre2_dfa_match.c3299 pcre2_match_context *mcontext, int *workspace, PCRE2_SIZE wscount) in pcre2_dfa_match() argument
3446 if (mcontext == NULL) in pcre2_dfa_match()
3456 if (mcontext->offset_limit != PCRE2_UNSET) in pcre2_dfa_match()
3460 bumpalong_limit = subject + mcontext->offset_limit; in pcre2_dfa_match()
3462 mb->callout = mcontext->callout; in pcre2_dfa_match()
3463 mb->callout_data = mcontext->callout_data; in pcre2_dfa_match()
3464 mb->memctl = mcontext->memctl; in pcre2_dfa_match()
3465 mb->match_limit = mcontext->match_limit; in pcre2_dfa_match()
3466 mb->match_limit_depth = mcontext->depth_limit; in pcre2_dfa_match()
3467 mb->heap_limit = mcontext->heap_limit; in pcre2_dfa_match()
H A Dpcre2_match.c6299 pcre2_match_context *mcontext) in pcre2_match() argument
6446 if (mcontext != NULL && mcontext->offset_limit != PCRE2_UNSET && in pcre2_match()
6545 match_data, mcontext); in pcre2_match()
6708 if (mcontext == NULL) in pcre2_match()
6713 else mb->memctl = mcontext->memctl; in pcre2_match()
6719 true_end_subject : subject + mcontext->offset_limit; in pcre2_match()
6733 mb->callout = mcontext->callout; in pcre2_match()
6734 mb->callout_data = mcontext->callout_data; in pcre2_match()
6817 mcontext->heap_limit : re->limit_heap; in pcre2_match()
6820 mcontext->match_limit : re->limit_match; in pcre2_match()
[all …]

Completed in 40 milliseconds