Home
last modified time | relevance | path

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

1234

/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/drivers/noop/
Dnoop_state.c50 return MALLOC(1); in noop_create_blend_state()
56 return MALLOC(1); in noop_create_dsa_state()
62 return MALLOC(1); in noop_create_rs_state()
68 return MALLOC(1); in noop_create_sampler_state()
204 return MALLOC(1); in noop_create_vertex_elements()
210 return MALLOC(1); in noop_create_shader_state()
216 return MALLOC(1); in noop_create_compute_state()
/external/virglrenderer/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()
/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))
81 void *dup = MALLOC(size); in mem_dup()
Du_tile.c451 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_rgba_format()
491 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_rgba_format()
542 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_i_format()
570 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_ui_format()
850 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_ui_format()
881 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_debug_image.c62 rgb8 = MALLOC(height * width * 3); in debug_dump_image()
214 rgba = MALLOC(transfer->box.width * in debug_dump_transfer_bmp()
Du_format.c679 tmp_z = MALLOC(width * sizeof *tmp_z); in util_format_translate()
684 tmp_s = MALLOC(width * sizeof *tmp_s); in util_format_translate()
720 tmp_row = MALLOC(y_step * tmp_stride); in util_format_translate()
750 tmp_row = MALLOC(y_step * tmp_stride); in util_format_translate()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_sanity.c135 scan_register *reg = MALLOC(sizeof(scan_register)); in create_scan_register_src()
144 scan_register *reg = MALLOC(sizeof(scan_register)); in create_scan_register_dst()
359 scan_register *ind_reg = MALLOC(sizeof(scan_register)); in iter_instruction()
423 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
431 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
436 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
464 reg = MALLOC(sizeof(scan_register)); in iter_immediate()
Dtgsi_parse.c279 struct tgsi_token *new_tokens = (struct tgsi_token *) MALLOC(bytes); in tgsi_dup_tokens()
293 return (struct tgsi_token *) MALLOC(bytes); in tgsi_alloc_tokens()
/external/virglrenderer/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()
357 scan_register *ind_reg = MALLOC(sizeof(scan_register)); in iter_instruction()
415 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
420 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
448 reg = MALLOC(sizeof(scan_register)); in iter_immediate()
Dtgsi_parse.c281 struct tgsi_token *new_tokens = (struct tgsi_token *) MALLOC(bytes); in tgsi_dup_tokens()
295 return (struct tgsi_token *) MALLOC(bytes); in tgsi_alloc_tokens()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Drealloc.ll10 ; CHECK-NEXT: [[MALLOC:%.*]] = call i8* @malloc(i64 100)
11 ; CHECK-NEXT: ret i8* [[MALLOC]]
/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/amd/common/
Dac_binary.c124 elf_buffer = MALLOC(elf_size); in ac_elf_read()
144 binary->code = MALLOC(binary->code_size * sizeof(unsigned char)); in ac_elf_read()
154 binary->config = MALLOC(binary->config_size * sizeof(unsigned char)); in ac_elf_read()
164 binary->rodata = MALLOC(binary->rodata_size * sizeof(unsigned char)); in ac_elf_read()
/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_prim_assembler.c242 output_prims->primitive_lengths = MALLOC(sizeof(unsigned)); in draw_prim_assembler_run()
248 output_verts->verts = (struct vertex_header*)MALLOC( in draw_prim_assembler_run()
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_execmem.c162 return MALLOC( size ); in rtasm_exec_malloc()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_vertex.c49 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.c48 velems = (struct lp_velems_state *) MALLOC(sizeof(struct lp_velems_state)); in llvmpipe_create_vertex_elements_state()
/external/mesa3d/src/gallium/state_trackers/nine/
Dstateblock9.c49 This->state.vs_const_f = MALLOC(VS_CONST_F_SIZE(This->base.device)); in NineStateBlock9_ctor()
50 This->state.ps_const_f = MALLOC(This->base.device->ps_const_size); in NineStateBlock9_ctor()
51 This->state.vs_const_i = MALLOC(VS_CONST_I_SIZE(This->base.device)); in NineStateBlock9_ctor()
52 This->state.vs_const_b = MALLOC(VS_CONST_B_SIZE(This->base.device)); in NineStateBlock9_ctor()

1234