/external/pcre/dist2/src/ |
pcre2_jit_misc.c | 53 PRIV(jit_free_rodata)(void *current, void *allocator_data) 57 (void)allocator_data; 61 SLJIT_UNUSED_ARG(allocator_data); 66 SLJIT_FREE(current, allocator_data); 86 void *allocator_data = memctl; 93 PRIV(jit_free_rodata)(functions->read_only_data_heads[i], allocator_data); 96 SLJIT_FREE(functions, allocator_data);
|
pcre2_jit_compile.c | 63 #define SLJIT_MALLOC(size, allocator_data) pcre2_jit_malloc(size, allocator_data) 64 #define SLJIT_FREE(ptr, allocator_data) pcre2_jit_free(ptr, allocator_data) 66 static void * pcre2_jit_malloc(size_t size, void *allocator_data) 68 pcre2_memctl *allocator = ((pcre2_memctl*)allocator_data); 72 static void pcre2_jit_free(void *ptr, void *allocator_data) 74 pcre2_memctl *allocator = ((pcre2_memctl*)allocator_data); 10839 void *allocator_data = &re->memctl; local [all...] |
/external/pcre/dist2/src/sljit/ |
sljitUtils.c | 206 SLJIT_API_FUNC_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit, void *allocator_data) 217 SLJIT_UNUSED_ARG(allocator_data); 239 stack = (struct sljit_stack*)SLJIT_MALLOC(sizeof(struct sljit_stack), allocator_data); 246 SLJIT_FREE(stack, allocator_data); 253 sljit_free_stack(stack, allocator_data); 262 SLJIT_FREE(stack, allocator_data); 269 SLJIT_FREE(stack, allocator_data); 282 SLJIT_API_FUNC_ATTRIBUTE void SLJIT_CALL sljit_free_stack(struct sljit_stack* stack, void *allocator_data) 284 SLJIT_UNUSED_ARG(allocator_data); 290 SLJIT_FREE(stack, allocator_data); [all...] |
sljitLir.c | 328 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data) 330 struct sljit_compiler *compiler = (struct sljit_compiler*)SLJIT_MALLOC(sizeof(struct sljit_compiler), allocator_data); 352 compiler->allocator_data = allocator_data; 353 compiler->buf = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, allocator_data); 354 compiler->abuf = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, allocator_data); 358 SLJIT_FREE(compiler->buf, allocator_data); 360 SLJIT_FREE(compiler->abuf, allocator_data); 361 SLJIT_FREE(compiler, allocator_data); 382 + CPOOL_SIZE * sizeof(sljit_u8), allocator_data); 415 void *allocator_data = compiler->allocator_data; local [all...] |
sljitLir.h | 310 void *allocator_data; member in struct:sljit_compiler 413 /* Creates an sljit compiler. The allocator_data is required by some 417 as a dummy value for allocator_data. 420 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data); [all...] |
sljitConfigInternal.h | 206 #define SLJIT_MALLOC(size, allocator_data) malloc(size) 210 #define SLJIT_FREE(ptr, allocator_data) free(ptr)
|
sljitNativeARM_32.c | 342 SLJIT_FREE(curr_patch, compiler->allocator_data); 352 curr_patch = (struct future_patch*)SLJIT_MALLOC(sizeof(struct future_patch), compiler->allocator_data); 357 SLJIT_FREE(curr_patch, compiler->allocator_data); [all...] |