Home
last modified time | relevance | path

Searched refs:allocator_data (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A Dallocator.c213 struct omp_allocator_data *allocator_data; in ialias() local
232 allocator_data = (struct omp_allocator_data *) allocator; in ialias()
233 if (new_alignment < allocator_data->alignment) in ialias()
234 new_alignment = allocator_data->alignment; in ialias()
238 allocator_data = NULL; in ialias()
249 if (__builtin_expect (allocator_data in ialias()
250 && allocator_data->pool_size < ~(uintptr_t) 0, 0)) in ialias()
253 if (new_size > allocator_data->pool_size) in ialias()
256 used_pool_size = __atomic_load_n (&allocator_data->used_pool_size, in ialias()
263 || new_pool_size > allocator_data->pool_size) in ialias()
[all …]
/netbsd-src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitUtils.c249 …it_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit, void *allocator_data) in sljit_allocate_stack() argument
257 SLJIT_UNUSED_ARG(allocator_data); in sljit_allocate_stack()
280 stack = (struct sljit_stack*)SLJIT_MALLOC(sizeof(struct sljit_stack), allocator_data); in sljit_allocate_stack()
290 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
297 sljit_free_stack(stack, allocator_data); in sljit_allocate_stack()
303 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
315 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
322 SLJIT_FREE(stack, allocator_data); in sljit_allocate_stack()
335 …PI_FUNC_ATTRIBUTE void SLJIT_CALL sljit_free_stack(struct sljit_stack *stack, void *allocator_data) in sljit_free_stack() argument
337 SLJIT_UNUSED_ARG(allocator_data); in sljit_free_stack()
[all …]
H A DsljitLir.c356 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data) in sljit_create_compiler() argument
358 …er *compiler = (struct sljit_compiler*)SLJIT_MALLOC(sizeof(struct sljit_compiler), allocator_data); in sljit_create_compiler()
382 compiler->allocator_data = allocator_data; in sljit_create_compiler()
383 compiler->buf = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, allocator_data); in sljit_create_compiler()
384 compiler->abuf = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, allocator_data); in sljit_create_compiler()
388 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
390 SLJIT_FREE(compiler->abuf, allocator_data); in sljit_create_compiler()
391 SLJIT_FREE(compiler, allocator_data); in sljit_create_compiler()
412 + CPOOL_SIZE * sizeof(sljit_u8), allocator_data); in sljit_create_compiler()
414 SLJIT_FREE(compiler->buf, allocator_data); in sljit_create_compiler()
[all …]
H A DsljitConfig.h63 #define SLJIT_MALLOC(size, allocator_data) malloc((size), M_TEMP, M_WAITOK) argument
67 #define SLJIT_FREE(ptr, allocator_data) free((ptr), M_TEMP) argument
H A DsljitLir.h314 void *allocator_data; member
424 SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data);
1274 …t_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit, void *allocator_data);
1275 …I_FUNC_ATTRIBUTE void SLJIT_CALL sljit_free_stack(struct sljit_stack *stack, void *allocator_data);
H A DsljitConfigInternal.h200 #define SLJIT_MALLOC(size, allocator_data) malloc(size) argument
204 #define SLJIT_FREE(ptr, allocator_data) free(ptr) argument
H A DsljitNativeARM_32.c343 SLJIT_FREE(curr_patch, compiler->allocator_data); in resolve_const_pool_index()
353 …_patch = (struct future_patch*)SLJIT_MALLOC(sizeof(struct future_patch), compiler->allocator_data); in resolve_const_pool_index()
358 SLJIT_FREE(curr_patch, compiler->allocator_data); in resolve_const_pool_index()
/netbsd-src/sys/external/bsd/sljit/dist/
H A DAPI_CHANGES35 sljit_free_stack functions have an allocator_data