• Home
  • Raw
  • Download

Lines Matching refs:mcontext

184 pcre2_match_context *mcontext = PRIV(memctl_malloc)(  in pcre2_match_context_create()  local
186 if (mcontext == NULL) return NULL; in pcre2_match_context_create()
187 *mcontext = PRIV(default_match_context); in pcre2_match_context_create()
189 *((pcre2_memctl *)mcontext) = *((pcre2_memctl *)gcontext); in pcre2_match_context_create()
190 return mcontext; in pcre2_match_context_create()
253 pcre2_match_context_copy(pcre2_match_context *mcontext) in pcre2_match_context_copy() argument
256 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
257 mcontext->memctl.memory_data); in pcre2_match_context_copy()
259 memcpy(new, mcontext, sizeof(pcre2_real_match_context)); in pcre2_match_context_copy()
298 pcre2_match_context_free(pcre2_match_context *mcontext) in pcre2_match_context_free() argument
300 if (mcontext != NULL) in pcre2_match_context_free()
301 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free()
400 pcre2_set_callout(pcre2_match_context *mcontext, in pcre2_set_callout() argument
403 mcontext->callout = callout; in pcre2_set_callout()
404 mcontext->callout_data = callout_data; in pcre2_set_callout()
409 pcre2_set_substitute_callout(pcre2_match_context *mcontext, in pcre2_set_substitute_callout() argument
413 mcontext->substitute_callout = substitute_callout; in pcre2_set_substitute_callout()
414 mcontext->substitute_callout_data = substitute_callout_data; in pcre2_set_substitute_callout()
419 pcre2_set_heap_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_heap_limit() argument
421 mcontext->heap_limit = limit; in pcre2_set_heap_limit()
426 pcre2_set_match_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_match_limit() argument
428 mcontext->match_limit = limit; in pcre2_set_match_limit()
433 pcre2_set_depth_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_depth_limit() argument
435 mcontext->depth_limit = limit; in pcre2_set_depth_limit()
440 pcre2_set_offset_limit(pcre2_match_context *mcontext, PCRE2_SIZE limit) in pcre2_set_offset_limit() argument
442 mcontext->offset_limit = limit; in pcre2_set_offset_limit()
450 pcre2_set_recursion_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_recursion_limit() argument
452 return pcre2_set_depth_limit(mcontext, limit); in pcre2_set_recursion_limit()
456 pcre2_set_recursion_memory_management(pcre2_match_context *mcontext, in pcre2_set_recursion_memory_management() argument
460 (void)mcontext; in pcre2_set_recursion_memory_management()