Lines Matching refs:mcontext

186 pcre2_match_context *mcontext = PRIV(memctl_malloc)(  in pcre2_match_context_create()  local
188 if (mcontext == NULL) return NULL; in pcre2_match_context_create()
189 *mcontext = PRIV(default_match_context); in pcre2_match_context_create()
191 *((pcre2_memctl *)mcontext) = *((pcre2_memctl *)gcontext); in pcre2_match_context_create()
192 return mcontext; in pcre2_match_context_create()
255 pcre2_match_context_copy(pcre2_match_context *mcontext) in pcre2_match_context_copy() argument
258 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
259 mcontext->memctl.memory_data); in pcre2_match_context_copy()
261 memcpy(newcontext, mcontext, sizeof(pcre2_real_match_context)); in pcre2_match_context_copy()
299 pcre2_match_context_free(pcre2_match_context *mcontext) in pcre2_match_context_free() argument
301 if (mcontext != NULL) in pcre2_match_context_free()
302 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free()
408 pcre2_set_callout(pcre2_match_context *mcontext, in pcre2_set_callout() argument
411 mcontext->callout = callout; in pcre2_set_callout()
412 mcontext->callout_data = callout_data; in pcre2_set_callout()
417 pcre2_set_substitute_callout(pcre2_match_context *mcontext, in pcre2_set_substitute_callout() argument
421 mcontext->substitute_callout = substitute_callout; in pcre2_set_substitute_callout()
422 mcontext->substitute_callout_data = substitute_callout_data; in pcre2_set_substitute_callout()
427 pcre2_set_heap_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_heap_limit() argument
429 mcontext->heap_limit = limit; in pcre2_set_heap_limit()
434 pcre2_set_match_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_match_limit() argument
436 mcontext->match_limit = limit; in pcre2_set_match_limit()
441 pcre2_set_depth_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_depth_limit() argument
443 mcontext->depth_limit = limit; in pcre2_set_depth_limit()
448 pcre2_set_offset_limit(pcre2_match_context *mcontext, PCRE2_SIZE limit) in pcre2_set_offset_limit() argument
450 mcontext->offset_limit = limit; in pcre2_set_offset_limit()
461 pcre2_set_recursion_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_recursion_limit() argument
463 return pcre2_set_depth_limit(mcontext, limit); in pcre2_set_recursion_limit()
467 pcre2_set_recursion_memory_management(pcre2_match_context *mcontext, in pcre2_set_recursion_memory_management() argument
471 (void)mcontext; in pcre2_set_recursion_memory_management()