Home
last modified time | relevance | path

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

12345

/third_party/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.c55 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_list()
92 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_info()
149 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_write()
210 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_read()
258 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_list_reply()
324 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_info_reply()
391 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_read_reply()
429 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_list()
454 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_info()
481 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_write()
[all …]
Drbug_connection.c86 data = MALLOC(length); in rbug_get_message()
/third_party/mesa3d/src/util/
Du_memory.h46 #define MALLOC(_size) os_malloc(_size) macro
54 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T))
80 void *dup = MALLOC(size); in mem_dup()
Du_fifo.h43 fifo = MALLOC(sizeof(*fifo) + size * sizeof(void*)); in u_fifo_create()
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_state.c63 return MALLOC(1); in noop_create_blend_state()
69 return MALLOC(1); in noop_create_dsa_state()
75 return MALLOC(1); in noop_create_rs_state()
81 return MALLOC(1); in noop_create_sampler_state()
228 return MALLOC(1); in noop_create_vertex_elements()
234 return MALLOC(1); in noop_create_shader_state()
240 return MALLOC(1); in noop_create_compute_state()
/third_party/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.c283 struct tgsi_token *new_tokens = (struct tgsi_token *) MALLOC(bytes); in tgsi_dup_tokens()
297 return (struct tgsi_token *) MALLOC(bytes); in tgsi_alloc_tokens()
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dblock.c51 blocks->blocks = MALLOC(BLOCK_SIZE_BYTES * num_blocks); in XvMCCreateBlocks()
81 blocks->macro_blocks = MALLOC(sizeof(XvMCMacroBlock) * num_blocks); in XvMCCreateMacroBlocks()
/third_party/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.c288 output_prims->primitive_lengths = MALLOC(sizeof(unsigned)); in draw_prim_assembler_run()
294 output_verts->verts = (struct vertex_header*)MALLOC( in draw_prim_assembler_run()
Ddraw_vs_variant.c161 void *temp_buffer = MALLOC( align(count,4) * temp_vertex_stride + in vsvg_run_elts()
231 void *temp_buffer = MALLOC( align(count,4) * temp_vertex_stride + in vsvg_run_linear()
/third_party/expat/
D02-backport-CVE-2022-22822-CVE-2022-22823-CVE-2022-22824-CVE-2022-22825-CVE-2022-22826-CVE-2022-22827.patch108 uri = (XML_Char *)MALLOC(parser, (n + EXPAND_SPARE) * sizeof(XML_Char));
134 b = (BINDING *)MALLOC(parser, sizeof(BINDING));
153 = (XML_Char *)MALLOC(parser, sizeof(XML_Char) * (len + EXPAND_SPARE));
249 ret = (XML_Content *)MALLOC(parser, allocsize);
/third_party/json/test/thirdparty/Fuzzer/test/
Dtrace-malloc.test9 TRACE2-DAG: MALLOC[0]
/third_party/FreeBSD/contrib/gdtoa/
Dgdtoaimp.h210 #ifdef MALLOC
211 extern Char *MALLOC ANSI((size_t));
213 #define MALLOC malloc macro
/third_party/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_execmem.c162 return MALLOC( size ); in rtasm_exec_malloc()
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_hash.c81 struct cso_node *node = MALLOC(sizeof(struct cso_node)); in cso_hash_create_node()
116 hash->buckets = MALLOC(sizeof(struct cso_node*) * hash->numBuckets); in cso_data_rehash()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_debug_image.c62 rgb8 = MALLOC(height * width * 3); in debug_dump_image()
214 rgba = MALLOC(transfer->box.width * in debug_dump_transfer_bmp()
/third_party/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()
/third_party/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()
/third_party/mesa3d/src/gallium/frontends/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()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_malloc.h195 #define MALLOC(space, cast, size, type, flags) \ macro
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_cmd_signature.cpp72 (struct d3d12_cmd_signature *)MALLOC(sizeof(struct d3d12_cmd_signature)); in d3d12_get_cmd_signature()

12345