Searched refs:ralloc_array_size (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/util/ |
D | ralloc.h | 158 ((type *) ralloc_array_size(ctx, sizeof(type), count)) 227 void *ralloc_array_size(const void *ctx, size_t size, unsigned count) MALLOCLIKE;
|
D | ralloc.c | 219 ralloc_array_size(const void *ctx, size_t size, unsigned count) in ralloc_array_size() function
|
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | nir_to_spirv.c | 410 types = ralloc_array_size(ctx->mem_ctx, sizeof(SpvId), length); in get_glsl_type() 4095 ctx.defs = ralloc_array_size(ctx.mem_ctx, in nir_to_spirv() 4102 ctx.regs = ralloc_array_size(ctx.mem_ctx, in nir_to_spirv() 4108 SpvId *block_ids = ralloc_array_size(ctx.mem_ctx, in nir_to_spirv()
|
/third_party/mesa3d/src/intel/perf/ |
D | intel_perf.c | 646 ralloc_array_size(perf, sizeof(counter_infos[0]), max_counters); in build_unique_counter_list()
|
/third_party/mesa3d/src/mesa/main/ |
D | shaderapi.c | 3663 ralloc_array_size(mem_ctx, sizeof(struct sh_incl_path_entry *), count); in _mesa_CompileShaderIncludeARB()
|