Home
last modified time | relevance | path

Searched refs:ralloc_size (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/util/
Dralloc.h68 #define ralloc(ctx, type) ((type *) ralloc_size(ctx, sizeof(type)))
101 void *ralloc_size(const void *ctx, size_t size) MALLOCLIKE;
457 DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE(type, ralloc_size)
Dralloc.c115 return ralloc_size(ctx, 0); in ralloc_context()
119 ralloc_size(const void *ctx, size_t size) in ralloc_size() function
153 void *ptr = ralloc_size(ctx, size); in rzalloc_size()
196 return ralloc_size(ctx, size); in reralloc_size()
208 return ralloc_size(ctx, size * count); in ralloc_array_size()
472 char *ptr = ralloc_size(ctx, size); in ralloc_vasprintf()
609 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size); in create_linear_node()
Ddisk_cache.c252 buf = ralloc_size(local, buf_size); in disk_cache_create()
394 ralloc_size(cache, cache->driver_keys_blob_size); in disk_cache_create()
/external/mesa3d/src/compiler/glsl/tests/
Dblob_test.c287 buf = ralloc_size(ctx, size); in test_big_objects()
/external/mesa3d/src/mesa/state_tracker/
Dst_shader_cache.c54 prog->driver_cache_blob = ralloc_size(NULL, blob->size); in write_tgsi_to_cache()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_disk_cache.c177 ralloc_size(NULL, sizeof(union brw_any_prog_data)); in read_and_upload()
Dbrw_program.c836 prog->driver_cache_blob = ralloc_size(NULL, writer.size); in brw_program_serialize_nir()
Dbrw_performance_query.c367 buf = ralloc_size(brw, sizeof(*buf)); in get_free_sample_buf()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_reg_allocate.cpp387 ralloc_size(NULL, this->alloc.count * sizeof(unsigned)); in evaluate_spill_costs()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_program.c255 dup_key = ralloc_size(shader, key_size); in vc5_get_compiled_shader()
/external/mesa3d/src/compiler/glsl/
Dstandalone.cpp360 text = (char *) ralloc_size(ctx, size + 1); in load_text_file()
Dserialize.cpp1114 (uint8_t*)ralloc_size(glprog, glprog->driver_cache_blob_size); in read_shader_metadata()
/external/mesa3d/src/compiler/
Dglsl_types.cpp474 char *const n = (char *) ralloc_size(this->mem_ctx, name_length); in glsl_type()
/external/mesa3d/src/mesa/program/
Dprogram_parse.y2530 strz = (GLubyte *) ralloc_size(state->mem_ctx, len + 1);