Searched refs:ralloc_size (Results 1 – 5 of 5) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | ralloc.h | 68 #define ralloc(ctx, type) ((type *) ralloc_size(ctx, sizeof(type))) 101 void *ralloc_size(const void *ctx, size_t size) MALLOCLIKE; 548 DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE(type, ralloc_size)
|
D | ralloc.c | 104 return ralloc_size(ctx, 0); in ralloc_context() 108 ralloc_size(const void *ctx, size_t size) in ralloc_size() function 150 void *ptr = ralloc_size(ctx, size); in rzalloc_size() 194 return ralloc_size(ctx, size); in reralloc_size() 221 return ralloc_size(ctx, size * count); in ralloc_array_size() 466 char *ptr = ralloc_size(ctx, size); in ralloc_vasprintf() 779 gc_slab *slab = ralloc_size(ctx, get_slab_size(bucket)); in create_slab() 823 header = ralloc_size(ctx, size); in gc_alloc_size() 1012 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size); in create_linear_node()
|
D | disk_cache.c | 236 ralloc_size(cache, cache->driver_keys_blob_size); in disk_cache_type_create()
|
D | disk_cache_os.c | 896 buf = ralloc_size(mem_ctx, buf_size); in disk_cache_generate_cache_dir()
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | blob_test.cpp | 213 buf = (char *) ralloc_size(ctx, size); in TEST()
|