Lines Matching refs:allocator_data
356 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data)
358 struct sljit_compiler *compiler = (struct sljit_compiler*)SLJIT_MALLOC(sizeof(struct sljit_compiler), allocator_data);
382 compiler->allocator_data = allocator_data;
383 compiler->buf = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, allocator_data);
384 compiler->abuf = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, allocator_data);
388 SLJIT_FREE(compiler->buf, allocator_data);
390 SLJIT_FREE(compiler->abuf, allocator_data);
391 SLJIT_FREE(compiler, allocator_data);
412 + CPOOL_SIZE * sizeof(sljit_u8), allocator_data);
414 SLJIT_FREE(compiler->buf, allocator_data);
415 SLJIT_FREE(compiler->abuf, allocator_data);
416 SLJIT_FREE(compiler, allocator_data);
445 void *allocator_data = compiler->allocator_data;
446 SLJIT_UNUSED_ARG(allocator_data);
452 SLJIT_FREE(curr, allocator_data);
459 SLJIT_FREE(curr, allocator_data);
463 SLJIT_FREE(compiler->cpool, allocator_data);
465 SLJIT_FREE(compiler, allocator_data);
539 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, compiler->allocator_data);
558 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, compiler->allocator_data);
1822 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data)
1824 SLJIT_UNUSED_ARG(allocator_data);