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

1234567

/external/chromium_org/third_party/mesa/src/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);
/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);
/external/srec/srec/clib/
H A Dmatx_ops.c43 matrix = (covdata **) CALLOC(dimen, sizeof(covdata *),
46 matrix[ii] = (covdata *) CALLOC(dimen, sizeof(covdata),
129 matrix = (imeldata **) CALLOC(dimen, sizeof(imeldata *),
132 matrix[ii] = (imeldata *) CALLOC(dimen, sizeof(imeldata),
H A Djacobi.c64 b = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.b");
65 d = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.d");
66 z = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.z");
67 a = (double **) CALLOC(dim, sizeof(double *), "clib.jacobi.input_jacobi");
68 v = (double **) CALLOC(dim, sizeof(double *), "clib.jacobi.input_jacobi");
71 a[i] = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.input_jacobi[]");
72 v[i] = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.input_jacobi[]");
H A Dmatrix_i.c55 index = (int *) CALLOC(dim, sizeof(int), "clib.index_imatrix");
56 col = (double *) CALLOC(dim, sizeof(double), "clib.col");
57 input = (double **) CALLOC(dim, sizeof(double *), "clib.input_imatrix");
60 input[ii] = (double *) CALLOC(dim, sizeof(double), "clib.input_imatrix[]");
108 vv = (double *) CALLOC(dim + 5, sizeof(double), "clib.ludcmp.vv");
H A Dlog_add.c58 prdata* table = (prdata *) CALLOC(logtab->add_log_limit + 2, sizeof(prdata), "clib.logadd");
H A Dswimodel.c339 swimodel = (SWIModel*) CALLOC(1, sizeof(SWIModel), "clib.models.base");
354 SWIhmmState* hmmstates = (SWIhmmState*) CALLOC(swimodel->num_hmmstates, sizeof(SWIhmmState), "clib.models.states");
/external/srec/portable/include/
H A Dpmemory.h65 #define CALLOC(m, n, tag) calloc(m, n) macro
70 #define NEW_ARRAY(type, n, tag) ((type*)CALLOC(n, sizeof(type), tag))
113 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize , tag, L(__FILE__), __LINE__)) macro
119 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize)) macro
143 #define NEW_ARRAY(type, nbElem, tag) ((type *) CALLOC(nbElem, sizeof(type), tag))
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dradeon_queryobj.h45 radeon->query.queryobj.cmd = (uint32_t*)CALLOC((SZ) * sizeof(uint32_t));
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_queryobj.h45 radeon->query.queryobj.cmd = (uint32_t*)CALLOC((SZ) * sizeof(uint32_t));
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_queryobj.h45 radeon->query.queryobj.cmd = (uint32_t*)CALLOC((SZ) * sizeof(uint32_t));
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_queryobj.h45 radeon->query.queryobj.cmd = (uint32_t*)CALLOC((SZ) * sizeof(uint32_t));
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/sw/
H A Di915_sw_buffer.c17 buf->ptr = CALLOC(size, 1);
43 buf->ptr = CALLOC(*stride * height, 1);
/external/mesa3d/src/gallium/winsys/i915/sw/
H A Di915_sw_buffer.c17 buf->ptr = CALLOC(size, 1);
43 buf->ptr = CALLOC(*stride * height, 1);
/external/srec/srec/cfront/
H A Dfrontobj.c170 channel->prebuff = (fftdata *) CALLOC(freqobj->window_length + 1,
172 channel->prerefbuff = (fftdata *) CALLOC(freqobj->window_length + 1,
178 channel->filterbank = (cepdata *) CALLOC(channel->num_freq,
180 channel->filterbankref = (cepdata *) CALLOC(channel->num_freq,
184 channel->cep = (cepdata *) CALLOC((Q2 + 1) * (channel->mel_dim + 1),
186 channel->rasta = (cepdata *) CALLOC((channel->mel_dim + 1),
188 channel->framdata = (featdata *) CALLOC(3 * (channel->mel_dim + 1),
203 channel->spectral_sub->sub_vector = (cepdata *) CALLOC(NUM_MEL_FREQS,
468 freqobj->ham = (fftdata *) CALLOC(freqobj->window_length + 1,
568 cepobj->mel_offset = (cepdata *) CALLOC(MEL_FREQ_ARRAY_SIZ
[all...]
H A Dsp_fft.c143 pthis = (srfft*) CALLOC(1, sizeof(srfft), "srfft");
189 butterflyIndex = (unsigned*) CALLOC(butterflyLength, sizeof(unsigned), "srfft.butterflyIndex");
278 pcos1 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata");
279 psin1 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata");
280 pcos2 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata");
281 psin2 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata");
282 pcos3 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata");
283 psin3 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata");
335 tbl = (unsigned*) CALLOC(n, sizeof(unsigned), "srfft.bitreverseTbl");
828 fft->real = (fftdata*) CALLOC(siz
[all...]
H A Dwav_acc.c51 wave->income = (samdata *) CALLOC(window_size, sizeof(samdata), "cfront.wave.income");
52 wave->outgo = (samdata *) CALLOC(window_size, sizeof(samdata), "cfront.wave.outgo");
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/
H A Dva_context.c51 driver_context = CALLOC(1,sizeof(vlVaDriverContextPriv));
H A Dva_surface.c68 vlVaSurfacePriv *va_surface = (vlVaSurfacePriv *)CALLOC(num_surfaces,sizeof(vlVaSurfacePriv));
/external/mesa3d/src/gallium/state_trackers/va/
H A Dva_context.c51 driver_context = CALLOC(1,sizeof(vlVaDriverContextPriv));
/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 *));
/external/mesa3d/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 *));
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_vb_texmat.c92 stage->privatePtr = CALLOC(sizeof(*store));

Completed in 394 milliseconds

1234567