Searched refs:allocator_data (Results 1 – 8 of 8) sorted by relevance
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitUtils.c | 180 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 D | sljitSerialize.c | 172 result = (sljit_u8*)SLJIT_MALLOC(serialized_size, compiler->allocator_data); in sljit_serialize_compiler() 289 sljit_s32 options, void *allocator_data) in sljit_deserialize_compiler() argument 322 compiler = sljit_create_compiler(allocator_data); in sljit_deserialize_compiler() 387 buf = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, allocator_data); in sljit_deserialize_compiler() 409 …t = (struct sljit_label **)SLJIT_MALLOC(label_count * sizeof(struct sljit_label*), allocator_data); in sljit_deserialize_compiler() 470 SLJIT_FREE(label_list, allocator_data); in sljit_deserialize_compiler() 514 SLJIT_FREE(label_list, allocator_data); in sljit_deserialize_compiler()
|
H A D | sljitLir.c | 482 compiler->allocator_data = allocator_data; in sljit_create_compiler() 488 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler() 491 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler() 514 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler() 515 SLJIT_FREE(compiler->abuf, allocator_data); in sljit_create_compiler() 516 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler() 548 void *allocator_data = compiler->allocator_data; in sljit_free_compiler() local 549 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_compiler() 555 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler() 562 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler() [all …]
|
H A D | sljitLir.h | 471 void *allocator_data; member 597 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data); 629 …t_compiler_get_allocator_data(struct sljit_compiler *compiler) { return compiler->allocator_data; } in sljit_compiler_get_allocator_data() 2359 sljit_s32 options, void *allocator_data); 2413 …ack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data); 2414 …I_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data);
|
H A D | sljitConfigInternal.h | 139 #define SLJIT_MALLOC(size, allocator_data) (malloc(size)) argument 143 #define SLJIT_FREE(ptr, allocator_data) (free(ptr)) argument
|
H A D | sljitNativeARM_32.c | 426 SLJIT_FREE(curr_patch, compiler->allocator_data); in resolve_const_pool_index() 436 …_patch = (struct future_patch*)SLJIT_MALLOC(sizeof(struct future_patch), compiler->allocator_data); in resolve_const_pool_index() 441 SLJIT_FREE(curr_patch, compiler->allocator_data); in resolve_const_pool_index()
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_misc.c | 53 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 D | pcre2_jit_compile.c | 70 #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() 14152 void *allocator_data = &re->memctl; in jit_compile() local 14356 SLJIT_FREE(common->private_data_ptrs, allocator_data); in jit_compile() 14368 compiler = sljit_create_compiler(allocator_data); in jit_compile() 14621 SLJIT_FREE(common->recurse_bitset, allocator_data); in jit_compile() 14780 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile() [all …]
|
Completed in 72 milliseconds