/external/pcre/dist2/src/sljit/ |
D | sljitUtils.c | 168 …tack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data) in sljit_allocate_stack() argument 173 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack() 178 stack = (struct sljit_stack*)SLJIT_MALLOC(sizeof(struct sljit_stack), allocator_data); in sljit_allocate_stack() 182 ptr = SLJIT_MALLOC(max_size, allocator_data); in sljit_allocate_stack() 184 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack() 195 …PI_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data) in sljit_free_stack() argument 197 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack() 198 SLJIT_FREE((void*)stack->min_start, allocator_data); in sljit_free_stack() 199 SLJIT_FREE(stack, allocator_data); in sljit_free_stack() 214 …PI_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data) in sljit_free_stack() argument [all …]
|
D | sljitLir.c | 366 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data, void *e… in sljit_create_compiler() argument 368 …er *compiler = (struct sljit_compiler*)SLJIT_MALLOC(sizeof(struct sljit_compiler), allocator_data); in sljit_create_compiler() 392 compiler->allocator_data = allocator_data; in sljit_create_compiler() 394 compiler->buf = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, allocator_data); in sljit_create_compiler() 395 compiler->abuf = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, allocator_data); in sljit_create_compiler() 399 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler() 401 SLJIT_FREE(compiler->abuf, allocator_data); in sljit_create_compiler() 402 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler() 423 + CPOOL_SIZE * sizeof(sljit_u8), allocator_data); in sljit_create_compiler() 425 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler() [all …]
|
D | sljitLir.h | 393 void *allocator_data; member 500 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data, void *e… 1459 …ack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data); 1460 …I_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data);
|
D | sljitConfigInternal.h | 238 #define SLJIT_MALLOC(size, allocator_data) malloc(size) argument 242 #define SLJIT_FREE(ptr, allocator_data) free(ptr) argument
|
D | sljitNativeARM_32.c | 354 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()
|
/external/pcre/dist2/src/ |
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()
|
D | pcre2_jit_compile.c | 64 #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 67 static void * pcre2_jit_malloc(size_t size, void *allocator_data) in pcre2_jit_malloc() 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() 3101 result = (sljit_uw *)SLJIT_MALLOC(size + sizeof(sljit_uw), compiler->allocator_data); in allocate_read_only_data() 13470 void *allocator_data = &re->memctl; in jit_compile() local 13584 common->optimized_cbracket = (sljit_u8 *)SLJIT_MALLOC(re->top_bracket + 1, allocator_data); in jit_compile() 13600 SLJIT_FREE(common->optimized_cbracket, allocator_data); in jit_compile() [all …]
|
/external/google-fruit/include/fruit/impl/data_structures/ |
D | fixed_size_allocator.defn.h | 101 inline FixedSizeAllocator::FixedSizeAllocator(const FixedSizeAllocatorData& allocator_data) in FixedSizeAllocator() argument 102 : on_destruction(allocator_data.num_types_to_destroy) { in FixedSizeAllocator() 104 storage_begin = new char[allocator_data.total_size + 1]; in FixedSizeAllocator() 107 remaining_types = allocator_data.types; in FixedSizeAllocator()
|
D | fixed_size_allocator.h | 92 explicit FixedSizeAllocator(const FixedSizeAllocatorData& allocator_data);
|