/external/mesa3d/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…
|
D | u_surfaces.c | 50 us->u.array = CALLOC(pt->last_level + 1, sizeof(struct pipe_surface *)); in util_surfaces_do_get() 61 ps = (struct pipe_surface *)CALLOC(1, surface_struct_size); in util_surfaces_do_get()
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_init.c | 59 ppq = CALLOC(1, sizeof(struct pp_queue_t)); in pp_init() 60 tmp_q = CALLOC(curpos, sizeof(pp_func)); in pp_init() 61 ppq->shaders = CALLOC(curpos, sizeof(void *)); in pp_init() 62 ppq->verts = CALLOC(curpos, sizeof(unsigned int)); in pp_init() 81 CALLOC(pp_filters[i].shaders + 1, sizeof(void *)); in pp_init()
|
D | pp_program.c | 50 p = CALLOC(1, sizeof(struct program)); in pp_init_prog()
|
/external/mesa3d/src/gallium/winsys/i915/sw/ |
D | i915_sw_buffer.c | 17 buf->ptr = CALLOC(size, 1); in i915_sw_buffer_create() 43 buf->ptr = CALLOC(*stride * height, 1); in i915_sw_buffer_create_tiled()
|
/external/valgrind/coregrind/m_replacemalloc/ |
D | vg_replace_malloc.c | 683 #define CALLOC(soname, fnname) \ macro 711 CALLOC(VG_Z_LIBC_SONAME, calloc); 712 CALLOC(SO_SYN_MALLOC, calloc); 715 CALLOC(VG_Z_LIBC_SONAME, calloc); 716 CALLOC(SO_SYN_MALLOC, calloc); 721 CALLOC(VG_Z_LIBC_SONAME, calloc); 722 CALLOC(VG_Z_LIBUMEM_SO_1, calloc); 723 CALLOC(SO_SYN_MALLOC, calloc);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_queryobj.h | 45 radeon->query.queryobj.cmd = (uint32_t*)CALLOC((SZ) * sizeof(uint32_t)); in radeon_init_query_stateobj()
|
D | radeon_screen.c | 215 image = CALLOC(sizeof *image); in radeon_create_image_from_name() 278 image = CALLOC(sizeof *image); in radeon_create_image_from_renderbuffer() 313 image = CALLOC(sizeof *image); in radeon_create_image() 491 screen = (radeonScreenPtr) CALLOC( sizeof(*screen) ); in radeonCreateScreen2()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_queryobj.h | 45 radeon->query.queryobj.cmd = (uint32_t*)CALLOC((SZ) * sizeof(uint32_t)); in radeon_init_query_stateobj()
|
D | radeon_screen.c | 215 image = CALLOC(sizeof *image); in radeon_create_image_from_name() 278 image = CALLOC(sizeof *image); in radeon_create_image_from_renderbuffer() 313 image = CALLOC(sizeof *image); in radeon_create_image() 491 screen = (radeonScreenPtr) CALLOC( sizeof(*screen) ); in radeonCreateScreen2()
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | device.c | 55 dev = CALLOC(1, sizeof(vlVdpDevice)); in vdp_imp_device_create_x11() 116 pqt = CALLOC(1, sizeof(vlVdpPresentationQueue)); in vlVdpPresentationQueueTargetCreateX11()
|
D | bitmap.c | 65 vlsurface = CALLOC(1, sizeof(vlVdpBitmapSurface)); in vlVdpBitmapSurfaceCreate()
|
/external/mesa3d/src/gallium/state_trackers/va/ |
D | va_context.c | 51 driver_context = CALLOC(1,sizeof(vlVaDriverContextPriv)); in __vaDriverInit_0_31()
|
D | va_surface.c | 68 vlVaSurfacePriv *va_surface = (vlVaSurfacePriv *)CALLOC(num_surfaces,sizeof(vlVaSurfacePriv)); in vlVaCreateSurfaces()
|
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
D | modeset.c | 544 drmconn->drm_modes = CALLOC(count, sizeof(*drmconn->drm_modes)); in drm_display_get_modes() 588 CALLOC(drmdpy->resources->count_connectors, sizeof(*drmdpy->connectors)); in drm_display_get_connectors() 694 CALLOC(drmdpy->resources->count_crtcs, sizeof(*drmdpy->saved_crtcs)); in drm_display_init_modeset() 701 CALLOC(drmdpy->resources->count_crtcs, sizeof(*drmdpy->shown_surfaces)); in drm_display_init_modeset()
|
/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/mesa/drivers/dri/i965/ |
D | intel_screen.c | 252 image = CALLOC(sizeof *image); in intel_allocate_image() 337 image = CALLOC(sizeof *image); in intel_create_image_from_renderbuffer() 444 image = CALLOC(sizeof *image); in intel_dup_image() 1067 intelScreen = CALLOC(sizeof *intelScreen); in intelInitScreen2() 1149 intelBuffer = CALLOC(sizeof *intelBuffer); in intelAllocateBuffer()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_screen.c | 252 image = CALLOC(sizeof *image); in intel_allocate_image() 337 image = CALLOC(sizeof *image); in intel_create_image_from_renderbuffer() 444 image = CALLOC(sizeof *image); in intel_dup_image() 1067 intelScreen = CALLOC(sizeof *intelScreen); in intelInitScreen2() 1149 intelBuffer = CALLOC(sizeof *intelBuffer); in intelAllocateBuffer()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_screen.c | 252 image = CALLOC(sizeof *image); in intel_allocate_image() 337 image = CALLOC(sizeof *image); in intel_create_image_from_renderbuffer() 444 image = CALLOC(sizeof *image); in intel_dup_image() 1067 intelScreen = CALLOC(sizeof *intelScreen); in intelInitScreen2() 1149 intelBuffer = CALLOC(sizeof *intelBuffer); in intelAllocateBuffer()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_texmat.c | 92 stage->privatePtr = CALLOC(sizeof(*store)); in alloc_texmat_data()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | compute_memory_pool.c | 80 CALLOC(sizeof(struct compute_memory_pool), 1); in compute_memory_pool_new() 396 CALLOC(sizeof(struct compute_memory_item), 1); in compute_memory_alloc()
|
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
D | x11_screen.c | 357 XRectangle *rectangles = CALLOC(num_rects, sizeof(XRectangle)); in x11_drawable_copy_buffers_region() 405 *next = (__GLcontextModes *) CALLOC(1, size); in x11_context_modes_create()
|
/external/drm_gralloc/ |
D | gralloc_drm_pipe.c | 128 buf = CALLOC(1, sizeof(*buf)); in get_pipe_buffer_locked() 458 pm = CALLOC(1, sizeof(*pm)); in gralloc_drm_drv_create_for_pipe()
|
/external/mesa3d/src/gallium/state_trackers/egl/null/ |
D | native_null.c | 102 null->configs = CALLOC(Elements(color_formats) - 1, sizeof(*null->configs)); in null_display_init_config()
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_validate.c | 184 vl->entries = (struct pb_validate_entry *)CALLOC(vl->size, sizeof(struct pb_validate_entry)); in pb_validate_create()
|