Lines Matching refs:allocator_data

63 #define SLJIT_MALLOC(size, allocator_data) pcre2_jit_malloc(size, allocator_data)  argument
64 #define SLJIT_FREE(ptr, allocator_data) pcre2_jit_free(ptr, allocator_data) argument
66 static void * pcre2_jit_malloc(size_t size, void *allocator_data) in pcre2_jit_malloc() argument
68 pcre2_memctl *allocator = ((pcre2_memctl*)allocator_data); in pcre2_jit_malloc()
72 static void pcre2_jit_free(void *ptr, void *allocator_data) in pcre2_jit_free() argument
74 pcre2_memctl *allocator = ((pcre2_memctl*)allocator_data); in pcre2_jit_free()
2689 result = (sljit_uw *)SLJIT_MALLOC(size + sizeof(sljit_uw), compiler->allocator_data); in allocate_read_only_data()
12027 void *allocator_data = &re->memctl; in jit_compile() local
12125 common->optimized_cbracket = (sljit_u8 *)SLJIT_MALLOC(re->top_bracket + 1, allocator_data); in jit_compile()
12141 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
12196 …32 *)SLJIT_MALLOC(total_length * (sizeof(sljit_s32) + (common->has_then ? 1 : 0)), allocator_data); in jit_compile()
12199 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
12216 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
12217 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
12228 compiler = sljit_create_compiler(allocator_data); in jit_compile()
12231 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
12232 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
12322 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
12323 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
12324 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()
12376 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
12377 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
12378 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()
12465 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
12466 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
12467 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()
12578 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
12579 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
12592 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()
12601 functions = SLJIT_MALLOC(sizeof(executable_functions), allocator_data); in jit_compile()
12607 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()