Searched refs:CALLOC (Results 1 - 25 of 173) sorted by path

1234567

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/
H A Dpb_bufmgr_pool.c294 pool->bufs = (struct pool_buffer *)CALLOC(numBufs, sizeof(*pool->bufs));
H A Dpb_bufmgr_slab.c331 slab->buffers = CALLOC(numBuffers, sizeof(*slab->buffers));
567 mgr->buckets = CALLOC(mgr->numBuckets, sizeof(*mgr->buckets));
H A Dpb_validate.c184 vl->entries = (struct pb_validate_entry *)CALLOC(vl->size, sizeof(struct pb_validate_entry));
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/
H A Dpp_init.c59 ppq = CALLOC(1, sizeof(struct pp_queue_t));
60 tmp_q = CALLOC(curpos, sizeof(pp_func));
61 ppq->shaders = CALLOC(curpos, sizeof(void *));
62 ppq->verts = CALLOC(curpos, sizeof(unsigned int));
81 CALLOC(pp_filters[i].shaders + 1, sizeof(void *));
H A Dpp_mlaa.c228 tmp_text = CALLOC(sizeof(blend2fs_1) + sizeof(blend2fs_2) +
H A Dpp_program.c50 p = CALLOC(1, sizeof(struct program));
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_bitmask.c72 bm->words = (util_bitmask_word *)CALLOC(UTIL_BITMASK_INITIAL_WORDS, sizeof(util_bitmask_word));
H A Du_cache.c110 cache->entries = CALLOC(size, sizeof(struct util_cache_entry));
H A Du_handle_table.c70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *));
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);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_winsys_dri.c342 device_name = CALLOC(1, device_name_length);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_texture.c97 CALLOC(num_slices * tx * ty, sizeof(enum lp_texture_layout));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
H A Dnvfx_fragprog.c1023 fpc->r_imm = CALLOC(fpc->fp->info.immediate_count, sizeof(struct nvfx_reg));
1095 fpc->r_temp = CALLOC(high_temp, sizeof(struct nvfx_reg));
H A Dnvfx_vertprog.c943 vpc->imm = CALLOC(nr_imm, sizeof(struct nvfx_reg));
948 vpc->r_temp = CALLOC(high_temp, sizeof(struct nvfx_reg));
954 vpc->r_address = CALLOC(high_addr, sizeof(struct nvfx_reg));
960 vpc->r_const = CALLOC(high_const, sizeof(struct nvfx_reg));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_util.cpp272 data = reinterpret_cast<uint32_t *>(CALLOC((size + 31) / 32, 4));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_screen.c765 screen->tic.entries = CALLOC(4096, sizeof(void *));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_screen.c756 screen->tic.entries = CALLOC(4096, sizeof(void *));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
H A Dcompute_memory_pool.c80 CALLOC(sizeof(struct compute_memory_pool), 1);
97 * pool->shadow = (uint32_t*)CALLOC(4, pool->size_in_dw);
396 CALLOC(sizeof(struct compute_memory_item), 1);
H A Devergreen_compute.c138 CALLOC(sizeof(struct evergreen_compute_resource),
761 CALLOC(sizeof(struct r600_resource_global), 1);
H A Dr600_pipe.c233 rctx->range = CALLOC(NUM_RANGES, sizeof(struct r600_range));
H A Dr600_state_common.c52 cb->buf = CALLOC(1, 4 * num_dw);
746 shader = CALLOC(1, sizeof(struct r600_pipe_shader));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
H A Dsi_state.c1838 shader = CALLOC(1, sizeof(struct si_pipe_shader));
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/android/
H A Dnative_android.cpp568 CALLOC(Elements(native_formats), sizeof(*adpy->configs));
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/
H A Dmodeset.c544 drmconn->drm_modes = CALLOC(count, sizeof(*drmconn->drm_modes));
588 CALLOC(drmdpy->resources->count_connectors, sizeof(*drmdpy->connectors));
694 CALLOC(drmdpy->resources->count_crtcs, sizeof(*drmdpy->saved_crtcs));
701 CALLOC(drmdpy->resources->count_crtcs, sizeof(*drmdpy->shown_surfaces));

Completed in 1960 milliseconds

1234567