Searched refs:CALLOC (Results 1 - 25 of 156) sorted by relevance

1234567

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Du_memory.h49 #define CALLOC(_count, _size) os_calloc(_count, _size) macro
57 #define CALLOC_STRUCT(T) (struct T *) CALLOC(1, sizeof(struct T))
59 #define CALLOC_VARIANT_LENGTH_STRUCT(T,more_size) ((struct T *) CALLOC(1, sizeof(struct T) + more_size))
/xsrc/external/mit/MesaLib/dist/src/util/
H A Du_memory.h48 #define CALLOC(_count, _size) os_calloc(_count, _size) macro
56 #define CALLOC_STRUCT(T) (struct T *) CALLOC(1, sizeof(struct T))
58 #define CALLOC_VARIANT_LENGTH_STRUCT(T,more_size) ((struct T *) CALLOC(1, sizeof(struct T) + more_size))
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/omx/bellagio/
H A Dvid_dec.c76 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
80 comp->name_specific = CALLOC(comp->name_specific_length, sizeof(char *));
84 comp->role_specific = CALLOC(comp->name_specific_length, sizeof(char *));
88 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
92 comp->name_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
96 comp->name_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
100 comp->name_specific[3] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
104 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
108 comp->role_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
112 comp->role_specific[2] = CALLOC(
[all...]
H A Dvid_enc.c85 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
89 comp->name_specific = CALLOC(1, sizeof(char *));
93 comp->role_specific = CALLOC(1, sizeof(char *));
97 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
101 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
134 priv = comp->pComponentPrivate = CALLOC(1, sizeof(vid_enc_PrivateType));
185 priv->ports = CALLOC(2, sizeof(omx_base_PortType *));
190 priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType));
723 (*buf)->pOutputPortPrivate = CALLOC(1, sizeof(struct output_buf_private));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/omx/bellagio/
H A Dvid_dec.c76 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
80 comp->name_specific = CALLOC(comp->name_specific_length, sizeof(char *));
84 comp->role_specific = CALLOC(comp->name_specific_length, sizeof(char *));
88 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
92 comp->name_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
96 comp->name_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
100 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
104 comp->role_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
108 comp->role_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
152 priv = comp->pComponentPrivate = CALLOC(
[all...]
H A Dvid_enc.c85 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
89 comp->name_specific = CALLOC(1, sizeof(char *));
93 comp->role_specific = CALLOC(1, sizeof(char *));
97 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
101 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
134 priv = comp->pComponentPrivate = CALLOC(1, sizeof(vid_enc_PrivateType));
185 priv->ports = CALLOC(2, sizeof(omx_base_PortType *));
190 priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType));
724 (*buf)->pOutputPortPrivate = CALLOC(1, sizeof(struct output_buf_private));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_surfaces.c50 us->u.array = CALLOC(pt->last_level + 1, sizeof(struct pipe_surface *));
61 ps = (struct pipe_surface *)CALLOC(1, surface_struct_size);
H A Du_handle_table.c70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *));
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_cb_perfmon.c76 stm->active_counters = CALLOC(num_active_counters,
82 batch = CALLOC(max_batch_counters, sizeof(*batch));
116 stm->batch_result = CALLOC(num_batch_counters, sizeof(stm->batch_result->batch[0]));
359 groups = CALLOC(num_groups, sizeof(*groups));
363 stgroups = CALLOC(num_groups, sizeof(*stgroups));
381 counters = CALLOC(group_info.num_queries, sizeof(*counters));
386 stcounters = CALLOC(group_info.num_queries, sizeof(*stcounters));
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_cb_perfmon.c76 stm->active_counters = CALLOC(num_active_counters,
82 batch = CALLOC(max_batch_counters, sizeof(*batch));
115 stm->batch_result = CALLOC(num_batch_counters, sizeof(stm->batch_result->batch[0]));
358 groups = CALLOC(num_groups, sizeof(*groups));
362 stgroups = CALLOC(num_groups, sizeof(*stgroups));
380 counters = CALLOC(group_info.num_queries, sizeof(*counters));
385 stcounters = CALLOC(group_info.num_queries, sizeof(*stcounters));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/postprocess/
H A Dpp_init.c59 ppq = CALLOC(1, sizeof(struct pp_queue_t));
66 ppq->pp_queue = CALLOC(num_filters, sizeof(pp_func));
72 ppq->shaders = CALLOC(num_filters, sizeof(void *));
73 ppq->filters = CALLOC(num_filters, sizeof(unsigned int));
97 CALLOC(pp_filters[i].shaders + 1, sizeof(void *));
H A Dpp_program.c52 p = CALLOC(1, sizeof(struct pp_program));
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/postprocess/
H A Dpp_init.c59 ppq = CALLOC(1, sizeof(struct pp_queue_t));
66 ppq->pp_queue = CALLOC(num_filters, sizeof(pp_func));
72 ppq->shaders = CALLOC(num_filters, sizeof(void *));
73 ppq->filters = CALLOC(num_filters, sizeof(unsigned int));
97 CALLOC(pp_filters[i].shaders + 1, sizeof(void *));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/omx/tizonia/
H A Dh264eoutport.c70 (*buf)->pOutputPortPrivate = CALLOC(1, sizeof(struct output_buf_private));
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/omx/tizonia/
H A Dh264eoutport.c70 (*buf)->pOutputPortPrivate = CALLOC(1, sizeof(struct output_buf_private));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/vdpau/
H A Ddevice.c58 dev = CALLOC(1, sizeof(vlVdpDevice));
173 pqt = CALLOC(1, sizeof(vlVdpPresentationQueue));
H A Dbitmap.c66 vlsurface = CALLOC(1, sizeof(vlVdpBitmapSurface));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_compute.c190 local_mem = CALLOC(1, cs->shader.req_local_mem);
193 machines = CALLOC(sizeof(struct tgsi_exec_machine *), num_threads_in_group);
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/vdpau/
H A Ddevice.c58 dev = CALLOC(1, sizeof(vlVdpDevice));
173 pqt = CALLOC(1, sizeof(vlVdpPresentationQueueTarget));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_compute.c190 local_mem = CALLOC(1, cs->shader.req_local_mem);
193 machines = CALLOC(sizeof(struct tgsi_exec_machine *), num_threads_in_group);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_shader.c594 variant = CALLOC(1, sizeof(struct svga_fs_variant));
597 variant = CALLOC(1, sizeof(struct svga_gs_variant));
600 variant = CALLOC(1, sizeof(struct svga_vs_variant));
603 variant = CALLOC(1, sizeof(struct svga_tes_variant));
606 variant = CALLOC(1, sizeof(struct svga_tcs_variant));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/pipebuffer/
H A Dpb_slab.c218 slabs->groups = CALLOC(num_groups, sizeof(*slabs->groups));
H A Dpb_validate.c184 vl->entries = (struct pb_validate_entry *)CALLOC(vl->size, sizeof(struct pb_validate_entry));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dcompute_memory_pool.c76 CALLOC(sizeof(struct compute_memory_pool), 1);
84 CALLOC(sizeof(struct list_head), 1);
86 CALLOC(sizeof(struct list_head), 1);
572 CALLOC(sizeof(struct compute_memory_item), 1);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_handle_table.c70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *));

Completed in 17 milliseconds

1234567