Home
last modified time | relevance | path

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

/PHP-8.1/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c177 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
188 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
201 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
203 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
220 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
222 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
229 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
231 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
242 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
258 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
[all …]
H A DsljitLir.c392 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.h393 void *allocator_data; member
504 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data, void *e…
1443 …ack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data);
1444 …I_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data);
H A DsljitConfigInternal.h240 #define SLJIT_MALLOC(size, allocator_data) malloc(size) argument
244 #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()
/PHP-8.1/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.c64 #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
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()
13470 void *allocator_data = &re->memctl; in jit_compile() local
13674 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
13686 compiler = sljit_create_compiler(allocator_data, NULL); in jit_compile()
13690 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
14065 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
[all …]

Completed in 63 milliseconds