Lines Matching refs:allocator_data

64 #define SLJIT_MALLOC(size, allocator_data) pcre2_jit_malloc(size, allocator_data)  argument
65 #define SLJIT_FREE(ptr, allocator_data) pcre2_jit_free(ptr, allocator_data) argument
67 static void * pcre2_jit_malloc(size_t size, void *allocator_data) in pcre2_jit_malloc() argument
69 pcre2_memctl *allocator = ((pcre2_memctl*)allocator_data); in pcre2_jit_malloc()
73 static void pcre2_jit_free(void *ptr, void *allocator_data) in pcre2_jit_free() argument
75 pcre2_memctl *allocator = ((pcre2_memctl*)allocator_data); in pcre2_jit_free()
3104 result = (sljit_uw *)SLJIT_MALLOC(size + sizeof(sljit_uw), compiler->allocator_data); in allocate_read_only_data()
13393 void *allocator_data = &re->memctl; in jit_compile() local
13507 common->optimized_cbracket = (sljit_u8 *)SLJIT_MALLOC(re->top_bracket + 1, allocator_data); in jit_compile()
13523 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
13578 …32 *)SLJIT_MALLOC(total_length * (sizeof(sljit_s32) + (common->has_then ? 1 : 0)), allocator_data); in jit_compile()
13581 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
13595 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
13596 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
13607 compiler = sljit_create_compiler(allocator_data); in jit_compile()
13610 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
13611 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
13701 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
13702 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
13703 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()
13757 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
13758 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
13759 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()
13846 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
13847 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
13848 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()
13986 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
13987 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
13995 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()
14004 functions = SLJIT_MALLOC(sizeof(executable_functions), allocator_data); in jit_compile()
14010 PRIV(jit_free_rodata)(common->read_only_data_head, allocator_data); in jit_compile()