Lines Matching refs:allocator_data

369 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data)  in sljit_create_compiler()  argument
371 …er *compiler = (struct sljit_compiler*)SLJIT_MALLOC(sizeof(struct sljit_compiler), allocator_data); in sljit_create_compiler()
395 compiler->allocator_data = allocator_data; in sljit_create_compiler()
396 compiler->buf = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, allocator_data); in sljit_create_compiler()
397 compiler->abuf = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, allocator_data); in sljit_create_compiler()
401 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
403 SLJIT_FREE(compiler->abuf, allocator_data); in sljit_create_compiler()
404 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
425 + CPOOL_SIZE * sizeof(sljit_u8), allocator_data); in sljit_create_compiler()
427 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
428 SLJIT_FREE(compiler->abuf, allocator_data); in sljit_create_compiler()
429 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
458 void *allocator_data = compiler->allocator_data; in sljit_free_compiler() local
459 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_compiler()
465 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler()
472 SLJIT_FREE(curr, allocator_data); in sljit_free_compiler()
476 SLJIT_FREE(compiler->cpool, allocator_data); in sljit_free_compiler()
478 SLJIT_FREE(compiler, allocator_data); in sljit_free_compiler()
558 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, compiler->allocator_data); in ensure_buf()
577 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, compiler->allocator_data); in ensure_abuf()
2295 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data) in sljit_create_compiler() argument
2297 SLJIT_UNUSED_ARG(allocator_data); in sljit_create_compiler()