Searched refs:gc_alloc_size (Results 1 – 3 of 3) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | gc_alloc_tests.cpp | 41 uintptr_t ptr = (uintptr_t)gc_alloc_size(ctx, size, align); in TEST()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | ralloc.h | 493 #define gc_alloc(ctx, type, count) gc_alloc_size(ctx, sizeof(type) * (count), alignof(type)) 497 gc_alloc_size(ctx, sizeof(type) + sizeof(type2) * (count), MAX2(alignof(type), alignof(type2))) 501 void *gc_alloc_size(gc_ctx *ctx, size_t size, size_t align) MALLOCLIKE;
|
D | ralloc.c | 796 gc_alloc_size(gc_ctx *ctx, size_t size, size_t align) in gc_alloc_size() function 846 void *ptr = gc_alloc_size(ctx, size, align); in gc_zalloc_size()
|