• Home
  • Raw
  • Download

Lines Matching refs:mcontext

182 pcre2_match_context *mcontext = PRIV(memctl_malloc)(  in pcre2_match_context_create()  local
184 if (mcontext == NULL) return NULL; in pcre2_match_context_create()
185 *mcontext = PRIV(default_match_context); in pcre2_match_context_create()
187 *((pcre2_memctl *)mcontext) = *((pcre2_memctl *)gcontext); in pcre2_match_context_create()
188 return mcontext; in pcre2_match_context_create()
251 pcre2_match_context_copy(pcre2_match_context *mcontext) in pcre2_match_context_copy() argument
254 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
255 mcontext->memctl.memory_data); in pcre2_match_context_copy()
257 memcpy(new, mcontext, sizeof(pcre2_real_match_context)); in pcre2_match_context_copy()
296 pcre2_match_context_free(pcre2_match_context *mcontext) in pcre2_match_context_free() argument
298 if (mcontext != NULL) in pcre2_match_context_free()
299 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free()
398 pcre2_set_callout(pcre2_match_context *mcontext, in pcre2_set_callout() argument
401 mcontext->callout = callout; in pcre2_set_callout()
402 mcontext->callout_data = callout_data; in pcre2_set_callout()
407 pcre2_set_heap_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_heap_limit() argument
409 mcontext->heap_limit = limit; in pcre2_set_heap_limit()
414 pcre2_set_match_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_match_limit() argument
416 mcontext->match_limit = limit; in pcre2_set_match_limit()
421 pcre2_set_depth_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_depth_limit() argument
423 mcontext->depth_limit = limit; in pcre2_set_depth_limit()
428 pcre2_set_offset_limit(pcre2_match_context *mcontext, PCRE2_SIZE limit) in pcre2_set_offset_limit() argument
430 mcontext->offset_limit = limit; in pcre2_set_offset_limit()
438 pcre2_set_recursion_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_recursion_limit() argument
440 return pcre2_set_depth_limit(mcontext, limit); in pcre2_set_recursion_limit()
444 pcre2_set_recursion_memory_management(pcre2_match_context *mcontext, in pcre2_set_recursion_memory_management() argument
448 (void)mcontext; in pcre2_set_recursion_memory_management()