/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_memory.h | 50 #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 D | u_surfaces.c | 50 us->u.array = CALLOC(pt->last_level + 1, sizeof(struct pipe_surface *)); 61 ps = (struct pipe_surface *)CALLOC(1, surface_struct_size);
|
H A D | u_queue.c | 188 CALLOC(max_jobs, sizeof(struct util_queue_job)); 198 queue->threads = (pipe_thread*)CALLOC(num_threads, sizeof(pipe_thread));
|
H A D | u_handle_table.c | 70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *));
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_perfmon.c | 75 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 D | pp_init.c | 59 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 D | pp_program.c | 52 p = CALLOC(1, sizeof(struct pp_program));
|
/external/mesa3d/src/gallium/state_trackers/omx/ |
H A D | vid_dec.c | 74 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 D | vid_enc.c | 108 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 D | ac_binary.c | 58 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 D | radeon_elf_util.c | 52 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 D | sp_compute.c | 190 local_mem = CALLOC(1, cs->shader.req_local_mem); 193 machines = CALLOC(sizeof(struct tgsi_exec_machine *), num_threads_in_group);
|
H A D | sp_tile_cache.c | 198 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 D | device.c | 58 dev = CALLOC(1, sizeof(vlVdpDevice)); 175 pqt = CALLOC(1, sizeof(vlVdpPresentationQueue));
|
H A D | bitmap.c | 66 vlsurface = CALLOC(1, sizeof(vlVdpBitmapSurface));
|
/external/valgrind/coregrind/m_replacemalloc/ |
H A D | vg_replace_malloc.c | 53 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 D | pb_slab.c | 218 slabs->groups = CALLOC(num_groups, sizeof(*slabs->groups));
|
H A D | pb_validate.c | 184 vl->entries = (struct pb_validate_entry *)CALLOC(vl->size, sizeof(struct pb_validate_entry));
|
H A D | pb_bufmgr_slab.c | 331 slab->buffers = CALLOC(numBuffers, sizeof(*slab->buffers)); 567 mgr->buckets = CALLOC(mgr->numBuckets, sizeof(*mgr->buckets));
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | compute_memory_pool.c | 53 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 D | context.c | 111 drv = CALLOC(1, sizeof(vlVaDriver)); 227 context = CALLOC(1, sizeof(vlVaContext));
|
H A D | image.c | 114 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 D | pfkey.c | 54 #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 D | vertexdeclaration9.c | 195 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 D | toy_legalize_ra.c | 471 ls->intervals = CALLOC(num_intervals, sizeof(ls->intervals[0])); 495 ls->vrf_mapping = CALLOC(ls->max_vrf + 1, sizeof(*ls->vrf_mapping));
|