Searched refs:ralloc_size (Results 1 - 25 of 60) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dralloc.h65 * ((type *) ralloc_size(ctx, sizeof(type))
68 #define ralloc(ctx, type) ((type *) ralloc_size(ctx, sizeof(type)))
89 * ((type *) ralloc_size(ctx, 0)
101 void *ralloc_size(const void *ctx, size_t size) MALLOCLIKE;
115 * calling ralloc_size(ctx, 0). This is different from talloc.
166 * calling ralloc_size(ctx, 0). This is different from talloc.
205 * calling ralloc_size(ctx, 0). This is different from talloc.
457 DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE(type, ralloc_size)
H A Dralloc.c113 return ralloc_size(ctx, 0);
117 ralloc_size(const void *ctx, size_t size) function in typeref:typename:void *
151 void *ptr = ralloc_size(ctx, size);
194 return ralloc_size(ctx, size);
206 return ralloc_size(ctx, size * count);
470 char *ptr = ralloc_size(ctx, size);
613 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size);
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dralloc.h65 * ((type *) ralloc_size(ctx, sizeof(type))
68 #define ralloc(ctx, type) ((type *) ralloc_size(ctx, sizeof(type)))
89 * ((type *) ralloc_size(ctx, 0)
101 void *ralloc_size(const void *ctx, size_t size) MALLOCLIKE;
115 * calling ralloc_size(ctx, 0). This is different from talloc.
130 * calling ralloc_size(ctx, 0). This is different from talloc.
183 * calling ralloc_size(ctx, 0). This is different from talloc.
204 * calling ralloc_size(ctx, 0). This is different from talloc.
244 * calling ralloc_size(ctx, 0). This is different from talloc.
266 * calling ralloc_size(ct
[all...]
H A Dralloc.c107 return ralloc_size(ctx, 0);
111 ralloc_size(const void *ctx, size_t size) function in typeref:typename:void *
153 void *ptr = ralloc_size(ctx, size);
197 return ralloc_size(ctx, size);
224 return ralloc_size(ctx, size * count);
469 char *ptr = ralloc_size(ctx, size);
612 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size);
H A Dblob_test.c291 buf = ralloc_size(ctx, size);
H A Ddisk_cache.c204 ralloc_size(cache, cache->driver_keys_blob_size);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_program_binary.c153 prog->driver_cache_blob = ralloc_size(NULL, writer.size);
173 ralloc_size(NULL, sizeof(union brw_any_prog_data));
302 prog->driver_cache_blob = ralloc_size(NULL, writer.size);
H A Dbrw_disk_cache.c149 ralloc_size(NULL, sizeof(union brw_any_prog_data));
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_program_binary.c153 prog->driver_cache_blob = ralloc_size(NULL, writer.size);
173 ralloc_size(NULL, sizeof(union brw_any_prog_data));
302 prog->driver_cache_blob = ralloc_size(NULL, writer.size);
H A Dbrw_disk_cache.c149 ralloc_size(NULL, sizeof(union brw_any_prog_data));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/standalone/
H A Dlima_disasm.c135 uint32_t *bin = ralloc_size(NULL, chunk.size);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_program_cache.c61 ralloc_size(mem_ctx, sizeof(struct keybox) + key_size);
234 void *prog_data = ralloc_size(NULL, prog_data_size);
H A Diris_disk_cache.c179 struct brw_stage_prog_data *prog_data = ralloc_size(NULL, prog_data_size);
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_disk_cache.c135 v->const_state->immediates = ralloc_size(v->const_state, immeds_sz);
H A Dir3_validate.c370 struct ir3_validate_ctx *ctx = ralloc_size(NULL, sizeof(*ctx));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_program_cache.c60 ralloc_size(mem_ctx, sizeof(struct keybox) + key_size);
254 void *prog_data = ralloc_size(NULL, prog_data_size);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_program_cache.c58 ralloc_size(mem_ctx, sizeof(struct keybox) + key_size);
270 struct brw_stage_prog_data *prog_data = ralloc_size(NULL, prog_data_size);
H A Dcrocus_disk_cache.c165 struct brw_stage_prog_data *prog_data = ralloc_size(NULL, prog_data_size);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Dblob_test.c291 buf = ralloc_size(ctx, size);
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_shader_cache.c59 prog->driver_cache_blob = ralloc_size(NULL, blob->size);
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_pipeline_cache.c121 ralloc_size(cache->nir_cache, sizeof(*snir) + blob.size);
501 ralloc_size(cache->nir_cache, sizeof(*snir) + snir_size);
786 ralloc_size(dst->nir_cache, sizeof(*snir_dst) + src_snir->size);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_shader_cache.c53 prog->driver_cache_blob = ralloc_size(NULL, blob->size);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/
H A Dlima_state.c431 damage->region = ralloc_size(ctx, sizeof(*damage->region) * num_rects);
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_vec4_reg_allocate.cpp387 ralloc_size(NULL, this->alloc.count * sizeof(unsigned));
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_vec4_reg_allocate.cpp346 ralloc_size(NULL, this->alloc.count * sizeof(unsigned));

Completed in 26 milliseconds

123