Home
last modified time | relevance | path

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

/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c226 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
237 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
250 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
252 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
279 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
281 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
300 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
302 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
313 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
329 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
[all …]
H A DsljitLir.c395 compiler->allocator_data = allocator_data; in sljit_create_compiler()
401 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
404 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
427 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
429 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
458 void *allocator_data = compiler->allocator_data; in sljit_free_compiler() local
459 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_compiler()
465 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler()
472 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler()
478 SLJIT_FREE(compiler, allocator_data); in sljit_free_compiler()
[all …]
H A DsljitLir.h387 void *allocator_data; member
491 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data);
1453 …ack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data);
1454 …I_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data);
H A DsljitConfigInternal.h238 #define SLJIT_MALLOC(size, allocator_data) malloc(size) argument
242 #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-7.4/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()
13393 void *allocator_data = &re->memctl; in jit_compile() local
13595 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
13607 compiler = sljit_create_compiler(allocator_data); in jit_compile()
13611 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
13986 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
[all …]

Completed in 66 milliseconds