Searched refs:ralloc_size (Results 1 – 14 of 14) sorted by relevance
/external/mesa3d/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; 457 DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE(type, ralloc_size)
|
D | ralloc.c | 115 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()
|
D | disk_cache.c | 252 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/ |
D | blob_test.c | 287 buf = ralloc_size(ctx, size); in test_big_objects()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_shader_cache.c | 54 prog->driver_cache_blob = ralloc_size(NULL, blob->size); in write_tgsi_to_cache()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_disk_cache.c | 177 ralloc_size(NULL, sizeof(union brw_any_prog_data)); in read_and_upload()
|
D | brw_program.c | 836 prog->driver_cache_blob = ralloc_size(NULL, writer.size); in brw_program_serialize_nir()
|
D | brw_performance_query.c | 367 buf = ralloc_size(brw, sizeof(*buf)); in get_free_sample_buf()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4_reg_allocate.cpp | 387 ralloc_size(NULL, this->alloc.count * sizeof(unsigned)); in evaluate_spill_costs()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_program.c | 255 dup_key = ralloc_size(shader, key_size); in vc5_get_compiled_shader()
|
/external/mesa3d/src/compiler/glsl/ |
D | standalone.cpp | 360 text = (char *) ralloc_size(ctx, size + 1); in load_text_file()
|
D | serialize.cpp | 1114 (uint8_t*)ralloc_size(glprog, glprog->driver_cache_blob_size); in read_shader_metadata()
|
/external/mesa3d/src/compiler/ |
D | glsl_types.cpp | 474 char *const n = (char *) ralloc_size(this->mem_ctx, name_length); in glsl_type()
|
/external/mesa3d/src/mesa/program/ |
D | program_parse.y | 2530 strz = (GLubyte *) ralloc_size(state->mem_ctx, len + 1);
|