Lines Matching refs:mcontext

187 pcre2_match_context *mcontext = PRIV(memctl_malloc)(  in pcre2_match_context_create()  local
189 if (mcontext == NULL) return NULL; in pcre2_match_context_create()
190 *mcontext = PRIV(default_match_context); in pcre2_match_context_create()
192 *((pcre2_memctl *)mcontext) = *((pcre2_memctl *)gcontext); in pcre2_match_context_create()
193 return mcontext; in pcre2_match_context_create()
256 pcre2_match_context_copy(pcre2_match_context *mcontext) in pcre2_match_context_copy() argument
259 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
260 mcontext->memctl.memory_data); in pcre2_match_context_copy()
262 memcpy(newcontext, mcontext, sizeof(pcre2_real_match_context)); in pcre2_match_context_copy()
300 pcre2_match_context_free(pcre2_match_context *mcontext) in pcre2_match_context_free() argument
302 if (mcontext != NULL) in pcre2_match_context_free()
303 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free()
416 pcre2_set_callout(pcre2_match_context *mcontext, in pcre2_set_callout() argument
419 mcontext->callout = callout; in pcre2_set_callout()
420 mcontext->callout_data = callout_data; in pcre2_set_callout()
425 pcre2_set_substitute_callout(pcre2_match_context *mcontext, in pcre2_set_substitute_callout() argument
429 mcontext->substitute_callout = substitute_callout; in pcre2_set_substitute_callout()
430 mcontext->substitute_callout_data = substitute_callout_data; in pcre2_set_substitute_callout()
435 pcre2_set_heap_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_heap_limit() argument
437 mcontext->heap_limit = limit; in pcre2_set_heap_limit()
442 pcre2_set_match_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_match_limit() argument
444 mcontext->match_limit = limit; in pcre2_set_match_limit()
449 pcre2_set_depth_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_depth_limit() argument
451 mcontext->depth_limit = limit; in pcre2_set_depth_limit()
456 pcre2_set_offset_limit(pcre2_match_context *mcontext, PCRE2_SIZE limit) in pcre2_set_offset_limit() argument
458 mcontext->offset_limit = limit; in pcre2_set_offset_limit()
469 pcre2_set_recursion_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_recursion_limit() argument
471 return pcre2_set_depth_limit(mcontext, limit); in pcre2_set_recursion_limit()
475 pcre2_set_recursion_memory_management(pcre2_match_context *mcontext, in pcre2_set_recursion_memory_management() argument
479 (void)mcontext; in pcre2_set_recursion_memory_management()