Lines Matching refs:allocator_data

457 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data)  in sljit_create_compiler()  argument
459 …er *compiler = (struct sljit_compiler*)SLJIT_MALLOC(sizeof(struct sljit_compiler), allocator_data); in sljit_create_compiler()
482 compiler->allocator_data = allocator_data; in sljit_create_compiler()
483 compiler->buf = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, allocator_data); in sljit_create_compiler()
484 compiler->abuf = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, allocator_data); in sljit_create_compiler()
488 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
490 SLJIT_FREE(compiler->abuf, allocator_data); in sljit_create_compiler()
491 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
512 + CPOOL_SIZE * sizeof(sljit_u8), 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()
566 SLJIT_FREE(compiler->cpool, allocator_data); in sljit_free_compiler()
568 SLJIT_FREE(compiler, allocator_data); in sljit_free_compiler()
635 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, compiler->allocator_data); in ensure_buf()
654 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, compiler->allocator_data); in ensure_abuf()