/external/llvm-project/compiler-rt/test/fuzzer/ |
D | custom-allocator.test | 5 CHECK: CALLOC-MEMCMP 6 CHECK-NEXT: CALLOC-STRNCMP 7 CHECK-NEXT: CALLOC-STRCMP 8 CHECK-NEXT: CALLOC-STRSTR
|
/external/mesa3d/src/gallium/frontends/omx/bellagio/ |
D | vid_dec.c | 76 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 80 comp->name_specific = CALLOC(comp->name_specific_length, sizeof(char *)); in vid_dec_LoaderComponent() 84 comp->role_specific = CALLOC(comp->name_specific_length, sizeof(char *)); in vid_dec_LoaderComponent() 88 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 92 comp->name_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 96 comp->name_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 100 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 104 comp->role_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 108 comp->role_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 152 priv = comp->pComponentPrivate = CALLOC(1, sizeof(vid_dec_PrivateType)); in vid_dec_Constructor() [all …]
|
D | vid_enc.c | 85 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_enc_LoaderComponent() 89 comp->name_specific = CALLOC(1, sizeof(char *)); in vid_enc_LoaderComponent() 93 comp->role_specific = CALLOC(1, sizeof(char *)); in vid_enc_LoaderComponent() 97 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_enc_LoaderComponent() 101 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_enc_LoaderComponent() 134 priv = comp->pComponentPrivate = CALLOC(1, sizeof(vid_enc_PrivateType)); in vid_enc_Constructor() 185 priv->ports = CALLOC(2, sizeof(omx_base_PortType *)); in vid_enc_Constructor() 190 priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType)); in vid_enc_Constructor() 723 (*buf)->pOutputPortPrivate = CALLOC(1, sizeof(struct output_buf_private)); in vid_enc_AllocateOutBuffer()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
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…
|
/external/mesa3d/src/util/ |
D | u_memory.h | 48 #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…
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_perfmon.c | 76 stm->active_counters = CALLOC(num_active_counters, in init_perf_monitor() 82 batch = CALLOC(max_batch_counters, sizeof(*batch)); in init_perf_monitor() 115 stm->batch_result = CALLOC(num_batch_counters, sizeof(stm->batch_result->batch[0])); in init_perf_monitor() 358 groups = CALLOC(num_groups, sizeof(*groups)); in st_InitPerfMonitorGroups() 362 stgroups = CALLOC(num_groups, sizeof(*stgroups)); in st_InitPerfMonitorGroups() 380 counters = CALLOC(group_info.num_queries, sizeof(*counters)); in st_InitPerfMonitorGroups() 385 stcounters = CALLOC(group_info.num_queries, sizeof(*stcounters)); in st_InitPerfMonitorGroups()
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_init.c | 59 ppq = CALLOC(1, sizeof(struct pp_queue_t)); in pp_init() 66 ppq->pp_queue = CALLOC(num_filters, sizeof(pp_func)); in pp_init() 72 ppq->shaders = CALLOC(num_filters, sizeof(void *)); in pp_init() 73 ppq->filters = CALLOC(num_filters, sizeof(unsigned int)); in pp_init() 97 CALLOC(pp_filters[i].shaders + 1, sizeof(void *)); in pp_init()
|
D | pp_program.c | 52 p = CALLOC(1, sizeof(struct pp_program)); in pp_init_prog()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_shader.c | 565 variant = CALLOC(1, sizeof(struct svga_fs_variant)); in svga_new_shader_variant() 568 variant = CALLOC(1, sizeof(struct svga_gs_variant)); in svga_new_shader_variant() 571 variant = CALLOC(1, sizeof(struct svga_vs_variant)); in svga_new_shader_variant() 574 variant = CALLOC(1, sizeof(struct svga_tes_variant)); in svga_new_shader_variant() 577 variant = CALLOC(1, sizeof(struct svga_tcs_variant)); in svga_new_shader_variant()
|
D | svga_resource_texture.c | 937 tex->defined = CALLOC(template->depth0 * template->array_size, in svga_texture_create() 944 tex->rendered_to = CALLOC(template->depth0 * template->array_size, in svga_texture_create() 950 tex->dirty = CALLOC(template->depth0 * template->array_size, in svga_texture_create() 1210 tex->defined = CALLOC(template->depth0 * template->array_size, in svga_texture_from_handle() 1226 tex->rendered_to = CALLOC(1, sizeof(tex->rendered_to[0])); in svga_texture_from_handle() 1230 tex->dirty = CALLOC(1, sizeof(tex->dirty[0])); in svga_texture_from_handle()
|
/external/llvm-project/compiler-rt/test/dfsan/ |
D | interceptors.c | 13 #ifdef CALLOC
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | compute_memory_pool.c | 76 CALLOC(sizeof(struct compute_memory_pool), 1); in compute_memory_pool_new() 84 CALLOC(sizeof(struct list_head), 1); in compute_memory_pool_new() 86 CALLOC(sizeof(struct list_head), 1); in compute_memory_pool_new() 571 CALLOC(sizeof(struct compute_memory_item), 1); in compute_memory_alloc()
|
/external/mesa3d/src/gallium/frontends/vdpau/ |
D | device.c | 58 dev = CALLOC(1, sizeof(vlVdpDevice)); in vdp_imp_device_create_x11() 173 pqt = CALLOC(1, sizeof(vlVdpPresentationQueueTarget)); in vlVdpPresentationQueueTargetCreateX11()
|
D | bitmap.c | 66 vlsurface = CALLOC(1, sizeof(vlVdpBitmapSurface)); in vlVdpBitmapSurfaceCreate()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_compute.c | 190 local_mem = CALLOC(1, cs->shader.req_local_mem); in softpipe_launch_grid() 193 machines = CALLOC(sizeof(struct tgsi_exec_machine *), num_threads_in_group); in softpipe_launch_grid()
|
D | sp_tile_cache.c | 195 tc->transfer = CALLOC(tc->num_maps, sizeof(struct pipe_transfer *)); in sp_tile_cache_set_surface() 196 tc->transfer_map = CALLOC(tc->num_maps, sizeof(void *)); in sp_tile_cache_set_surface() 199 tc->clear_flags = CALLOC(1, tc->clear_flags_size); in sp_tile_cache_set_surface()
|
/external/ipsec-tools/src/libipsec/ |
D | pfkey.c | 54 #define CALLOC(size, cast) (cast)calloc(1, (size)) macro 426 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_getspi() 600 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_delete_all() 1115 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) { in pfkey_send_migrate() 1277 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x1() 1465 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x2() 1545 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x3() 1616 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x4() 1671 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x5() 1783 if ((newmsg = CALLOC((size_t)reallen, struct sadb_msg *)) == 0) { in pfkey_recv()
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | vertexdeclaration9.c | 195 This->decls = CALLOC(This->nelems+1, sizeof(D3DVERTEXELEMENT9)); in NineVertexDeclaration9_ctor() 196 This->elems = CALLOC(This->nelems, sizeof(struct pipe_vertex_element)); in NineVertexDeclaration9_ctor() 197 This->usage_map = CALLOC(This->nelems, sizeof(uint16_t)); in NineVertexDeclaration9_ctor()
|
D | device9.c | 254 This->swapchains = CALLOC(This->nswapchains, in NineDevice9_ctor() 422 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor() 423 This->context.vs_const_f_swvp = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor() 426 This->state.vs_lconstf_temp = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor() 427 This->context.vs_lconstf_temp = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor() 428 This->state.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor() 429 This->context.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor() 430 This->state.vs_const_b = CALLOC(NINE_MAX_CONST_B_SWVP * sizeof(BOOL), 1); in NineDevice9_ctor() 431 This->context.vs_const_b = CALLOC(NINE_MAX_CONST_B_SWVP * sizeof(BOOL), 1); in NineDevice9_ctor() 433 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F * sizeof(float[4]), 1); in NineDevice9_ctor() [all …]
|
/external/mesa3d/src/gallium/frontends/omx/tizonia/ |
D | h264eoutport.c | 70 (*buf)->pOutputPortPrivate = CALLOC(1, sizeof(struct output_buf_private)); in h264e_outport_AllocateBuffer()
|
/external/mesa3d/src/gallium/frontends/va/ |
D | context.c | 119 drv = CALLOC(1, sizeof(vlVaDriver)); in VA_DRIVER_INIT_FUNC() 235 context = CALLOC(1, sizeof(vlVaContext)); in vlVaCreateContext()
|
D | image.c | 118 img = CALLOC(1, sizeof(VAImage)); in vlVaCreateImage() 258 img = CALLOC(1, sizeof(VAImage)); in vlVaDeriveImage() 365 img_buf = CALLOC(1, sizeof(vlVaBuffer)); in vlVaDeriveImage()
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_validate.c | 196 vl->entries = (struct pb_validate_entry *)CALLOC(vl->size, sizeof(struct pb_validate_entry)); in pb_validate_create()
|
D | pb_slab.c | 218 slabs->groups = CALLOC(num_groups, sizeof(*slabs->groups)); in pb_slabs_init()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_handle_table.c | 70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *)); in handle_table_create()
|