Home
last modified time | relevance | path

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

/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c180 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
191 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
204 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
206 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
223 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
225 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
232 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
234 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
245 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
261 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
[all …]
H A DsljitLir.c444 compiler->allocator_data = allocator_data; in sljit_create_compiler()
451 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
454 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
477 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
478 SLJIT_FREE(compiler->abuf, allocator_data); in sljit_create_compiler()
479 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
511 void *allocator_data = compiler->allocator_data; in sljit_free_compiler() local
512 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_compiler()
518 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler()
525 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler()
[all …]
H A DsljitLir.h471 void *allocator_data; member
591 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data, void *e…
624 …oid* sljit_get_allocator_data(struct sljit_compiler *compiler) { return compiler->allocator_data; } in sljit_get_allocator_data()
2276 …ack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data);
2277 …I_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data);
H A DsljitConfigInternal.h135 #define SLJIT_MALLOC(size, allocator_data) malloc(size) argument
139 #define SLJIT_FREE(ptr, allocator_data) free(ptr) argument
H A DsljitNativeARM_32.c425 SLJIT_FREE(curr_patch, compiler->allocator_data); in resolve_const_pool_index()
435 …_patch = (struct future_patch*)SLJIT_MALLOC(sizeof(struct future_patch), compiler->allocator_data); in resolve_const_pool_index()
440 SLJIT_FREE(curr_patch, compiler->allocator_data); in resolve_const_pool_index()
/php-src/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.c70 #define SLJIT_MALLOC(size, allocator_data) pcre2_jit_malloc(size, allocator_data) argument
71 #define SLJIT_FREE(ptr, allocator_data) pcre2_jit_free(ptr, allocator_data) argument
75 pcre2_memctl *allocator = ((pcre2_memctl*)allocator_data); in pcre2_jit_malloc()
79 static void pcre2_jit_free(void *ptr, void *allocator_data) in pcre2_jit_free() argument
81 pcre2_memctl *allocator = ((pcre2_memctl*)allocator_data); in pcre2_jit_free()
14090 void *allocator_data = &re->memctl; in jit_compile() local
14294 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile()
14306 compiler = sljit_create_compiler(allocator_data, NULL); in jit_compile()
14559 SLJIT_FREE(common->recurse_bitset, allocator_data); in jit_compile()
14718 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile()
[all …]

Completed in 77 milliseconds