Lines Matching refs:memctl

86 PRIV(memctl_malloc)(size_t size, pcre2_memctl *memctl)  in PRIV()
89 void *yield = (memctl == NULL)? malloc(size) : in PRIV()
90 memctl->malloc(size, memctl->memory_data); in PRIV()
93 if (memctl == NULL) in PRIV()
99 else *newmemctl = *memctl; in PRIV()
123 gcontext->memctl.malloc = private_malloc; in pcre2_general_context_create()
124 gcontext->memctl.free = private_free; in pcre2_general_context_create()
125 gcontext->memctl.memory_data = memory_data; in pcre2_general_context_create()
232 gcontext->memctl.malloc(sizeof(pcre2_real_general_context), in pcre2_general_context_copy()
233 gcontext->memctl.memory_data); in pcre2_general_context_copy()
244 ccontext->memctl.malloc(sizeof(pcre2_real_compile_context), in pcre2_compile_context_copy()
245 ccontext->memctl.memory_data); in pcre2_compile_context_copy()
256 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
257 mcontext->memctl.memory_data); in pcre2_match_context_copy()
269 ccontext->memctl.malloc(sizeof(pcre2_real_convert_context), in pcre2_convert_context_copy()
270 ccontext->memctl.memory_data); in pcre2_convert_context_copy()
285 gcontext->memctl.free(gcontext, gcontext->memctl.memory_data); in pcre2_general_context_free()
293 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_compile_context_free()
301 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free()
309 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_convert_context_free()