Home
last modified time | relevance | path

Searched refs:allocator_data (Results 1 – 7 of 7) sorted by relevance

/PHP-7.3/ext/pcre/pcre2lib/
H A Dpcre2_jit_misc.c53 PRIV(jit_free_rodata)(void *current, void *allocator_data) in PRIV()
57 (void)allocator_data; in PRIV()
61 SLJIT_UNUSED_ARG(allocator_data); in PRIV()
66 SLJIT_FREE(current, allocator_data); in PRIV()
86 void *allocator_data = memctl; in PRIV()
93 PRIV(jit_free_rodata)(functions->read_only_data_heads[i], allocator_data); in PRIV()
96 SLJIT_FREE(functions, allocator_data); in PRIV()
H A Dpcre2_jit_compile.c63 #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
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()
12027 void *allocator_data = &re->memctl; in jit_compile() local
12216 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
12228 compiler = sljit_create_compiler(allocator_data); in jit_compile()
12232 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
12578 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
[all …]
/PHP-7.3/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c206 …tack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data) in sljit_allocate_stack() argument
214 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
233 stack = (struct sljit_stack*)SLJIT_MALLOC(sizeof(struct sljit_stack), allocator_data); in sljit_allocate_stack()
243 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
252 sljit_free_stack(stack, allocator_data); in sljit_allocate_stack()
261 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
268 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
281 …PI_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data) in sljit_free_stack() argument
283 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
289 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
H A DsljitLir.c393 compiler->allocator_data = allocator_data; in sljit_create_compiler()
399 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
402 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
425 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
427 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
456 void *allocator_data = compiler->allocator_data; in sljit_free_compiler() local
457 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_compiler()
463 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler()
470 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler()
476 SLJIT_FREE(compiler, allocator_data); in sljit_free_compiler()
[all …]
H A DsljitLir.h374 void *allocator_data; member
478 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data);
1393 …ack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data);
1394 …I_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data);
H A DsljitConfigInternal.h206 #define SLJIT_MALLOC(size, allocator_data) malloc(size) argument
210 #define SLJIT_FREE(ptr, allocator_data) free(ptr) argument
H A DsljitNativeARM_32.c354 SLJIT_FREE(curr_patch, compiler->allocator_data); in resolve_const_pool_index()
364 …_patch = (struct future_patch*)SLJIT_MALLOC(sizeof(struct future_patch), compiler->allocator_data); in resolve_const_pool_index()
369 SLJIT_FREE(curr_patch, compiler->allocator_data); in resolve_const_pool_index()

Completed in 106 milliseconds