HomeSort by: relevance | last modified time | path
    Searched refs:allocator_data (Results 1 - 6 of 6) sorted by relevancy

  /src/sys/external/bsd/sljit/dist/sljit_src/
sljitConfig.h 63 #define SLJIT_MALLOC(size, allocator_data) malloc((size), M_TEMP, M_WAITOK)
67 #define SLJIT_FREE(ptr, allocator_data) free((ptr), M_TEMP)
sljitUtils.c 249 SLJIT_API_FUNC_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit, void *allocator_data)
257 SLJIT_UNUSED_ARG(allocator_data);
280 stack = (struct sljit_stack*)SLJIT_MALLOC(sizeof(struct sljit_stack), allocator_data);
290 SLJIT_FREE(stack, allocator_data);
297 sljit_free_stack(stack, allocator_data);
303 SLJIT_FREE(stack, allocator_data);
315 SLJIT_FREE(stack, allocator_data);
322 SLJIT_FREE(stack, allocator_data);
335 SLJIT_API_FUNC_ATTRIBUTE void SLJIT_CALL sljit_free_stack(struct sljit_stack *stack, void *allocator_data)
337 SLJIT_UNUSED_ARG(allocator_data);
    [all...]
sljitLir.c 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);
445 void *allocator_data = compiler->allocator_data; local in function:sljit_free_compiler
    [all...]
sljitLir.h 314 void *allocator_data; member in struct:sljit_compiler
417 /* Creates an sljit compiler. The allocator_data is required by some
421 as a dummy value for allocator_data.
424 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data);
1273 Note: see sljit_create_compiler for the explanation of allocator_data. */
1274 SLJIT_API_FUNC_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit, void *allocator_data);
1275 SLJIT_API_FUNC_ATTRIBUTE void SLJIT_CALL sljit_free_stack(struct sljit_stack *stack, void *allocator_data);
sljitConfigInternal.h 200 #define SLJIT_MALLOC(size, allocator_data) malloc(size)
204 #define SLJIT_FREE(ptr, allocator_data) free(ptr)
sljitNativeARM_32.c 343 SLJIT_FREE(curr_patch, compiler->allocator_data);
353 curr_patch = (struct future_patch*)SLJIT_MALLOC(sizeof(struct future_patch), compiler->allocator_data);
358 SLJIT_FREE(curr_patch, compiler->allocator_data);

Completed in 17 milliseconds