Home
last modified time | relevance | path

Searched refs:MALLOC (Results 1 – 25 of 102) sorted by relevance

12345

/external/mesa3d/src/gallium/auxiliary/rbug/
Drbug_context.c53 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_list()
90 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_info()
130 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_block()
171 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_step()
212 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_unblock()
261 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_rule()
304 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_flush()
345 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_list_reply()
400 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_info_reply()
447 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_blocked()
[all …]
Drbug_core.c53 __data = (uint8_t*)MALLOC(__len); in rbug_send_noop()
88 __data = (uint8_t*)MALLOC(__len); in rbug_send_ping()
125 __data = (uint8_t*)MALLOC(__len); in rbug_send_error()
163 __data = (uint8_t*)MALLOC(__len); in rbug_send_ping_reply()
203 __data = (uint8_t*)MALLOC(__len); in rbug_send_error_reply()
236 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_noop()
255 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_ping()
280 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_error()
307 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_ping_reply()
334 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_error_reply()
Drbug_shader.c55 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_list()
95 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_info()
138 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_disable()
183 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_replace()
226 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_list_reply()
273 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_info_reply()
314 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_list()
341 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_info()
369 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_disable()
398 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_replace()
[all …]
Drbug_texture.c53 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_list()
90 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_info()
147 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_write()
208 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_read()
256 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_list_reply()
320 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_info_reply()
382 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_read_reply()
420 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_list()
445 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_info()
472 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_write()
[all …]
Drbug_connection.c86 data = MALLOC(length); in rbug_get_message()
/external/mesa3d/src/gallium/auxiliary/util/
Du_memory.h48 #define MALLOC(_size) os_malloc(_size) macro
56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T))
73 void *dup = MALLOC(size); in mem_dup()
Du_tile.c468 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_rgba_format()
508 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_rgba_format()
559 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_i_format()
587 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_ui_format()
883 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_ui_format()
914 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_i_format()
Du_fifo.h43 fifo = MALLOC(sizeof(*fifo) + size * sizeof(void*)); in u_fifo_create()
Du_format.c598 tmp_z = MALLOC(width * sizeof *tmp_z); in util_format_translate()
603 tmp_s = MALLOC(width * sizeof *tmp_s); in util_format_translate()
638 tmp_row = MALLOC(y_step * tmp_stride); in util_format_translate()
663 tmp_row = MALLOC(y_step * tmp_stride); in util_format_translate()
Du_draw_quad.c107 v = MALLOC(vertexBytes); in util_draw_texquad()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dblock.c51 blocks->blocks = MALLOC(BLOCK_SIZE_BYTES * num_blocks); in XvMCCreateBlocks()
81 blocks->macro_blocks = MALLOC(sizeof(XvMCMacroBlock) * num_blocks); in XvMCCreateMacroBlocks()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_sanity.c134 scan_register *reg = MALLOC(sizeof(scan_register)); in create_scan_register_src()
143 scan_register *reg = MALLOC(sizeof(scan_register)); in create_scan_register_dst()
359 scan_register *ind_reg = MALLOC(sizeof(scan_register)); in iter_instruction()
417 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
422 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
450 reg = MALLOC(sizeof(scan_register)); in iter_immediate()
Dtgsi_parse.c310 struct tgsi_token *new_tokens = (struct tgsi_token *) MALLOC(bytes); in tgsi_dup_tokens()
324 return (struct tgsi_token *) MALLOC(bytes); in tgsi_alloc_tokens()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_util.c79 ubyte *store = (ubyte *) MALLOC( MAX_VERTEX_SIZE * nr ); in draw_alloc_temp_verts()
84 stage->tmp = (struct vertex_header **) MALLOC( sizeof(struct vertex_header *) * nr ); in draw_alloc_temp_verts()
Ddraw_vs_variant.c136 void *temp_buffer = MALLOC( align(count,4) * temp_vertex_stride ); in vsvg_run_elts()
203 void *temp_buffer = MALLOC( align(count,4) * temp_vertex_stride ); in vsvg_run_linear()
Ddraw_pt_fetch_shade_pipeline.c187 (struct vertex_header *)MALLOC(output_verts->vertex_size * in draw_vertex_shader_run()
219 (struct vertex_header *)MALLOC(fpme->vertex_size * in fetch_pipeline_generic()
/external/chromium-trace/catapult/telemetry/telemetry/timeline/
Dmemory_dump_event_unittest.py261 (HEAP, DIRTY, MALLOC, TRACING_1, TRACING_2) = ALL
269 'malloc': {'size': MALLOC + TRACING_1}})])
277 'allocator_malloc': MALLOC},
/external/mesa3d/src/mesa/main/
Deval.c221 buffer = (GLfloat *) MALLOC(uorder * size * sizeof(GLfloat)); in _mesa_copy_map_points1f()
245 buffer = (GLfloat *) MALLOC(uorder * size * sizeof(GLfloat)); in _mesa_copy_map_points1d()
289 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
291 buffer = (GLfloat *) MALLOC((uorder*vorder*size+dsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
332 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
334 buffer = (GLfloat *) MALLOC((uorder*vorder*size+dsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
943 map->Points = (GLfloat *) MALLOC(n * sizeof(GLfloat)); in init_1d_map()
964 map->Points = (GLfloat *) MALLOC(n * sizeof(GLfloat)); in init_2d_map()
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/
Dnative_fbdev.c338 modes = MALLOC(sizeof(*modes)); in fbdev_display_get_modes()
355 connectors = MALLOC(sizeof(*connectors)); in fbdev_display_get_connectors()
379 configs = MALLOC(sizeof(*configs)); in fbdev_display_get_configs()
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_execmem.c157 return MALLOC( size ); in rtasm_exec_malloc()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_vertex.c48 velems = (struct sp_velems_state *) MALLOC(sizeof(struct sp_velems_state)); in softpipe_create_vertex_elements_state()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_vertex.c47 velems = (struct lp_velems_state *) MALLOC(sizeof(struct lp_velems_state)); in llvmpipe_create_vertex_elements_state()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_matrix_filter.c84 struct ureg_dst *t_array = MALLOC(sizeof(struct ureg_dst) * num_offsets); in create_frag_shader()
217 offsets = MALLOC(sizeof(struct vertex2f) * num_offsets); in vl_matrix_filter_init()
Dvl_zscan.c109 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_vert_shader()
186 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); in create_frag_shader()
187 tmp = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_frag_shader()
/external/mesa3d/src/gallium/state_trackers/vega/
Dshaders_cache.c80 tokens = (struct tgsi_token *) MALLOC(num_tokens * sizeof(tokens[0])); in tokens_from_assembly()
435 struct vg_shader *shader = (struct vg_shader *)MALLOC( in shader_create_from_text()

12345