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()
235 gcontext->memctl.malloc(sizeof(pcre2_real_general_context), in pcre2_general_context_copy()
236 gcontext->memctl.memory_data); in pcre2_general_context_copy()
247 ccontext->memctl.malloc(sizeof(pcre2_real_compile_context), in pcre2_compile_context_copy()
248 ccontext->memctl.memory_data); in pcre2_compile_context_copy()
259 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
260 mcontext->memctl.memory_data); in pcre2_match_context_copy()
271 ccontext->memctl.malloc(sizeof(pcre2_real_convert_context), in pcre2_convert_context_copy()
272 ccontext->memctl.memory_data); in pcre2_convert_context_copy()
287 gcontext->memctl.free(gcontext, gcontext->memctl.memory_data); in pcre2_general_context_free()
295 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_compile_context_free()
303 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free()
311 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_convert_context_free()