Lines Matching refs:allocator_data
175 …tack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data) in sljit_allocate_stack() argument
180 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
185 stack = (struct sljit_stack*)SLJIT_MALLOC(sizeof(struct sljit_stack), allocator_data); in sljit_allocate_stack()
189 ptr = SLJIT_MALLOC(max_size, allocator_data); in sljit_allocate_stack()
191 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
202 …PI_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data) in sljit_free_stack() argument
204 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
205 SLJIT_FREE((void*)stack->min_start, allocator_data); in sljit_free_stack()
206 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
221 …PI_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data) in sljit_free_stack() argument
223 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
225 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
230 …PI_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocator_data) in sljit_free_stack() argument
232 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
234 SLJIT_FREE(stack, allocator_data); in sljit_free_stack()
239 …tack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_data) in sljit_allocate_stack() argument
245 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
250 stack = (struct sljit_stack*)SLJIT_MALLOC(sizeof(struct sljit_stack), allocator_data); in sljit_allocate_stack()
261 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
270 sljit_free_stack(stack, allocator_data); in sljit_allocate_stack()
278 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
284 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()