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

123

/external/mesa3d/src/gallium/auxiliary/util/
H A Du_memory.h50 #define CALLOC(_count, _size) os_calloc(_count, _size) macro
58 #define CALLOC_STRUCT(T) (struct T *) CALLOC(1, sizeof(struct T))
60 #define CALLOC_VARIANT_LENGTH_STRUCT(T,more_size) ((struct T *) CALLOC(1, sizeof(struct T) + more_size))
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_queue.c188 CALLOC(max_jobs, sizeof(struct util_queue_job));
198 queue->threads = (pipe_thread*)CALLOC(num_threads, sizeof(pipe_thread));
H A Du_handle_table.c70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *));
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_perfmon.c75 stm->active_counters = CALLOC(num_active_counters,
81 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));
/external/mesa3d/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));
/external/mesa3d/src/gallium/state_trackers/omx/
H A Dvid_dec.c74 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
78 comp->name_specific = CALLOC(comp->name_specific_length, sizeof(char *));
82 comp->role_specific = CALLOC(comp->name_specific_length, sizeof(char *));
86 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
90 comp->name_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
94 comp->name_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
98 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
102 comp->role_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
106 comp->role_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
150 priv = comp->pComponentPrivate = CALLOC(
[all...]
H A Dvid_enc.c108 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
112 comp->name_specific = CALLOC(1, sizeof(char *));
116 comp->role_specific = CALLOC(1, sizeof(char *));
120 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
124 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE);
157 priv = comp->pComponentPrivate = CALLOC(1, sizeof(vid_enc_PrivateType));
206 priv->ports = CALLOC(2, sizeof(omx_base_PortType *));
211 priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType));
802 (*buf)->pOutputPortPrivate = CALLOC(1, sizeof(struct output_buf_private));
/external/mesa3d/src/amd/common/
H A Dac_binary.c58 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t));
94 binary->relocs = CALLOC(binary->reloc_count,
/external/mesa3d/src/gallium/drivers/radeon/
H A Dradeon_elf_util.c52 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t));
88 binary->relocs = CALLOC(binary->reloc_count,
/external/mesa3d/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);
H A Dsp_tile_cache.c198 tc->transfer = CALLOC(tc->num_maps, sizeof(struct pipe_transfer *));
199 tc->transfer_map = CALLOC(tc->num_maps, sizeof(void *));
202 tc->clear_flags = CALLOC(1, tc->clear_flags_size);
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Ddevice.c58 dev = CALLOC(1, sizeof(vlVdpDevice));
175 pqt = CALLOC(1, sizeof(vlVdpPresentationQueue));
H A Dbitmap.c66 vlsurface = CALLOC(1, sizeof(vlVdpBitmapSurface));
/external/valgrind/coregrind/m_replacemalloc/
H A Dvg_replace_malloc.c53 avoid such function calls in the first place. See "#define CALLOC"
82 10070 CALLOC
682 #define CALLOC(soname, fnname) \ macro
710 CALLOC(VG_Z_LIBC_SONAME, calloc);
711 CALLOC(SO_SYN_MALLOC, calloc);
714 CALLOC(VG_Z_LIBC_SONAME, calloc);
715 CALLOC(SO_SYN_MALLOC, calloc);
720 CALLOC(VG_Z_LIBC_SONAME, calloc);
721 CALLOC(VG_Z_LIBUMEM_SO_1, calloc);
722 CALLOC(SO_SYN_MALLO
[all...]
/external/mesa3d/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));
H A Dpb_bufmgr_slab.c331 slab->buffers = CALLOC(numBuffers, sizeof(*slab->buffers));
567 mgr->buckets = CALLOC(mgr->numBuckets, sizeof(*mgr->buckets));
/external/mesa3d/src/gallium/drivers/r600/
H A Dcompute_memory_pool.c53 CALLOC(sizeof(struct compute_memory_pool), 1);
61 CALLOC(sizeof(struct list_head), 1);
63 CALLOC(sizeof(struct list_head), 1);
632 CALLOC(sizeof(struct compute_memory_item), 1);
/external/mesa3d/src/gallium/state_trackers/va/
H A Dcontext.c111 drv = CALLOC(1, sizeof(vlVaDriver));
227 context = CALLOC(1, sizeof(vlVaContext));
H A Dimage.c114 img = CALLOC(1, sizeof(VAImage));
210 img = CALLOC(1, sizeof(VAImage));
255 img_buf = CALLOC(1, sizeof(vlVaBuffer));
/external/ipsec-tools/src/libipsec/
H A Dpfkey.c54 #define CALLOC(size, cast) (cast)calloc(1, (size)) macro
426 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
600 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1115 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1277 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1465 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1545 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1616 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1671 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1783 if ((newmsg = CALLOC((size_
[all...]
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dvertexdeclaration9.c195 This->decls = CALLOC(This->nelems+1, sizeof(D3DVERTEXELEMENT9));
196 This->elems = CALLOC(This->nelems, sizeof(struct pipe_vertex_element));
197 This->usage_map = CALLOC(This->nelems, sizeof(uint16_t));
/external/mesa3d/src/gallium/drivers/ilo/shader/
H A Dtoy_legalize_ra.c471 ls->intervals = CALLOC(num_intervals, sizeof(ls->intervals[0]));
495 ls->vrf_mapping = CALLOC(ls->max_vrf + 1, sizeof(*ls->vrf_mapping));

Completed in 483 milliseconds

123