Home
last modified time | relevance | path

Searched refs:CALLOC (Results 1 – 25 of 31) sorted by relevance

12

/external/srec/srec/cfront/
Dfrontobj.c170 channel->prebuff = (fftdata *) CALLOC(freqobj->window_length + 1, in setup_channel_object()
172 channel->prerefbuff = (fftdata *) CALLOC(freqobj->window_length + 1, in setup_channel_object()
178 channel->filterbank = (cepdata *) CALLOC(channel->num_freq, in setup_channel_object()
180 channel->filterbankref = (cepdata *) CALLOC(channel->num_freq, in setup_channel_object()
184 channel->cep = (cepdata *) CALLOC((Q2 + 1) * (channel->mel_dim + 1), in setup_channel_object()
186 channel->rasta = (cepdata *) CALLOC((channel->mel_dim + 1), in setup_channel_object()
188 channel->framdata = (featdata *) CALLOC(3 * (channel->mel_dim + 1), in setup_channel_object()
203 channel->spectral_sub->sub_vector = (cepdata *) CALLOC(NUM_MEL_FREQS, in setup_channel_object()
468 freqobj->ham = (fftdata *) CALLOC(freqobj->window_length + 1, in setup_freq_object()
568 cepobj->mel_offset = (cepdata *) CALLOC(MEL_FREQ_ARRAY_SIZE, in setup_cep_object()
[all …]
Dsp_fft.c143 pthis = (srfft*) CALLOC(1, sizeof(srfft), "srfft"); in new_srfft()
189 butterflyIndex = (unsigned*) CALLOC(butterflyLength, sizeof(unsigned), "srfft.butterflyIndex"); in allocate_butterfly_tbl()
278 pcos1 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); in allocate_trigonomy_tbl()
279 psin1 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); in allocate_trigonomy_tbl()
280 pcos2 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); in allocate_trigonomy_tbl()
281 psin2 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); in allocate_trigonomy_tbl()
282 pcos3 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); in allocate_trigonomy_tbl()
283 psin3 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); in allocate_trigonomy_tbl()
335 tbl = (unsigned*) CALLOC(n, sizeof(unsigned), "srfft.bitreverseTbl"); in allocate_bitreverse_tbl()
828 fft->real = (fftdata*) CALLOC(size + 2, sizeof(fftdata), "srfft.fft_data"); in configure_fft()
Dwav_acc.c51 wave->income = (samdata *) CALLOC(window_size, sizeof(samdata), "cfront.wave.income"); in create_sample_buffer()
52 wave->outgo = (samdata *) CALLOC(window_size, sizeof(samdata), "cfront.wave.outgo"); in create_sample_buffer()
Dlog_tabl.c65 int* table = (int *) CALLOC(logtab->size + 1, sizeof(int), "cfront.logtable"); in create_lookup_log()
Dca_cms.c119 …hWave->data.channel->swicms = (swicms_norm_info*)CALLOC(1, sizeof(swicms_norm_info), "cfront.swicm… in CA_LoadCMSParameters()
Dspec_anl.c431 tmpbuf = (fftdata *) CALLOC(ns, sizeof(fftdata), "cfront.tmpbuf"); in freq_warp()
/external/srec/srec/clib/
Djacobi.c64 b = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.b"); in Jacobi()
65 d = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.d"); in Jacobi()
66 z = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.z"); in Jacobi()
67 a = (double **) CALLOC(dim, sizeof(double *), "clib.jacobi.input_jacobi"); in Jacobi()
68 v = (double **) CALLOC(dim, sizeof(double *), "clib.jacobi.input_jacobi"); in Jacobi()
71 a[i] = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.input_jacobi[]"); in Jacobi()
72 v[i] = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.input_jacobi[]"); in Jacobi()
Dmatx_ops.c43 matrix = (covdata **) CALLOC(dimen, sizeof(covdata *), in create_matrix()
46 matrix[ii] = (covdata *) CALLOC(dimen, sizeof(covdata), in create_matrix()
129 matrix = (imeldata **) CALLOC(dimen, sizeof(imeldata *), in create_fixed_matrix()
132 matrix[ii] = (imeldata *) CALLOC(dimen, sizeof(imeldata), in create_fixed_matrix()
Dmatrix_i.c55 index = (int *) CALLOC(dim, sizeof(int), "clib.index_imatrix"); in invert_matrix()
56 col = (double *) CALLOC(dim, sizeof(double), "clib.col"); in invert_matrix()
57 input = (double **) CALLOC(dim, sizeof(double *), "clib.input_imatrix"); in invert_matrix()
60 input[ii] = (double *) CALLOC(dim, sizeof(double), "clib.input_imatrix[]"); in invert_matrix()
108 vv = (double *) CALLOC(dim + 5, sizeof(double), "clib.ludcmp.vv"); in ludcmp()
Dswimodel.c339 swimodel = (SWIModel*) CALLOC(1, sizeof(SWIModel), "clib.models.base"); in load_swimodel()
354 …SWIhmmState* hmmstates = (SWIhmmState*) CALLOC(swimodel->num_hmmstates, sizeof(SWIhmmState), "clib… in load_swimodel()
Dlog_add.c58 prdata* table = (prdata *) CALLOC(logtab->add_log_limit + 2, sizeof(prdata), "clib.logadd"); in create_lookup_logadd()
Dimeld_rd.c60 prep->offset = (imeldata *) CALLOC(matdim, in create_linear_transform()
Dfpi_tgt.c104 frmPkt->frameStack = (featdata *) CALLOC(fCnt, in createFrameBuffer()
/external/srec/portable/include/
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/srec/srec/crec/
Dget_fram.c108 prep->seq = (imeldata *) CALLOC(prep->dim, sizeof(imeldata), in init_preprocessed()
110 prep->seq_unnorm = (imeldata *) CALLOC(prep->dim, sizeof(imeldata), in init_preprocessed()
112 prep->last_frame = (featdata *) CALLOC(prep->dim, sizeof(featdata), in init_preprocessed()
Dsrec_eosd.c36 eosd = (srec_eos_detector_parms*)CALLOC(1, sizeof(srec_eos_detector_parms), "search.endpointer"); in srec_eosd_allocate()
Dpriority_q.c45 pq = (priority_q*) CALLOC(1, sizeof(priority_q), "search.srec.priority_q"); in allocate_priority_q()
/external/ipsec-tools/src/libipsec/
Dpfkey.c54 #define CALLOC(size, cast) (cast)calloc(1, (size)) macro
428 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
609 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1176 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1339 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1530 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1612 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1689 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1747 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1861 if ((newmsg = CALLOC((size_t)reallen, struct sadb_msg *)) == 0) {
/external/srec/seti/sltsEngine/src/
DSWIslts.c136 pEng = CALLOC(1, sizeof(SLTS_Engine), MTAG); in SWIsltsOpen()
303 …pBlock = (LCHAR *)CALLOC(sizeof(int) + nNbrOfTranscriptions * sizeof(SWIsltsTranscription), sizeof… in SWIsltsG2PGetWordTranscriptions()
/external/elfcopy/
Ddebug.h51 static inline void *CALLOC(unsigned int num_entries, unsigned int entry_size) { in CALLOC() function
Dhash.c14 hash_data->d_buf = CALLOC(hash_data->d_size, sizeof(Elf32_Word)); in setup_hash()
/external/srec/tools/test_g2g/
Dtest_g2g.c497 *files = CALLOC( num_files, sizeof(char*), __FILE__); in load_filelist()
502 file = files[i++] = CALLOC(strlen(line)+1,sizeof(char),__FILE__); in load_filelist()
/external/srec/srec/EventLog/src/
Driff.c511 swichunk->kvals.kvpairs = (RiffKVPair *)CALLOC(num_pairs, sizeof(RiffKVPair), MTAG); in readSwiChunk()
512 kvpair_buf = CALLOC(sub_length, sizeof(char), MTAG); in readSwiChunk()
747 *waveform = CALLOC(chunk.length, 1, MTAG); in readRiff2Buf()
/external/srec/srec/Semproc/src/
DSymbolTable.c137 copyValue = (LCHAR*) CALLOC(LSTRLEN(pvalue) + 1, sizeof(LCHAR), _MTAG); in ST_Copy()
/external/srec/srec/Vocabulary/src/
DVocabularyImpl.c40 #define LSTRDUP(src) LSTRCPY(CALLOC(LSTRLEN(src)+1, sizeof(LCHAR), "srec.Vocabulary.LSTRDUP"), (src…

12