Home
last modified time | relevance | path

Searched refs:pfread (Results 1 – 11 of 11) sorted by relevance

/external/srec/srec/clib/
Dsrec_arb.c88 pfread(&(q->qtype), sizeof(asr_uint16_t), 1, fp); in read_questions()
89 pfread(&(q->membership_bits), sizeof(asr_uint16_t), PSET_BIT_ARRAY_SIZE, fp); in read_questions()
181 pfread(&(tnode->node.quest_index), sizeof(asr_int16_t), 1, fp); in read_tree_node_f()
182 pfread(&(tnode->term.pelid), sizeof(asr_int16_t), 1, fp); in read_tree_node_f()
183 pfread(&(tnode->node.fail), sizeof(tree_branch_info*), 1, fp); in read_tree_node_f()
184 pfread(&(tnode->node.pass), sizeof(tree_branch_info*), 1, fp); in read_tree_node_f()
207 pfread(&(pd->name), sizeof(char), MAX_PHONEME_NAME_LEN, fp); in read_phoneme_data()
208 pfread(&(pd->code), sizeof(asr_uint16_t), 1, fp); in read_phoneme_data()
209 pfread(&ptr, sizeof(asr_int16_t), 1, fp); in read_phoneme_data()
210 pfread(&(pd->model_nodes), sizeof(tree_node *), 1, fp); in read_phoneme_data()
[all …]
Dimeld_rd.c108 pfread(&matdim, sizeof(short), 1, dfpt); in init_newton_transform()
113 pfread(&scale, sizeof(double), 1, dfpt); in init_newton_transform()
129 pfread(onerow, sizeof(double), matdim, dfpt); in init_newton_transform()
133 pfread(onerow, sizeof(double), matdim, dfpt); in init_newton_transform()
149 pfread(onerow, sizeof(double), matdim, dfpt); in init_newton_transform()
160 pfread(onerow, sizeof(double), matdim, dfpt); in init_newton_transform()
175 pfread(onerow, sizeof(double), matdim, dfpt); in init_newton_transform()
Dswimodel.c326 pfread(&v, sizeof(short), 1, fp); in load_short()
/external/srec/seti/setiUtils/include/
Dport_fileio.h40 #define PORT_FREAD_CHAR pfread
41 #define PORT_FREAD_INT16 pfread
/external/srec/portable/src/
DPFile.c204 count = pfread(number, sizeof(LCHAR), MAX_INT_DIGITS, self); in PFileReadInt()
230 count = pfread(number + bufferSize, sizeof(LCHAR), MAX_INT_DIGITS - bufferSize, self); in PFileReadInt()
278 count = pfread(value, sizeof(LCHAR), len, self); in PFileReadLCHAR()
304 count = pfread(value + bufferSize, sizeof(LCHAR), len - bufferSize, self); in PFileReadLCHAR()
359 size_t pfread(void* buffer, size_t size, size_t count, PFile* stream) in pfread() function
DPFileWrap.c291 size_t pfread ( void *buffer, size_t size, size_t count, PFile *stream ) in pfread() function
/external/srec/srec/Semproc/src/
DSemanticGraphImpl.c122 if (pfread(&header, 4, 2, fp) != 2) in SR_SemanticGraph_LoadFromImage()
179 if (pfread(&header, 4/*sz*/, 2/*ni*/, fp) != 2) in sr_semanticgraph_loadV2()
206 if (pfread(tmp, sizeof(tmp[0]), nfields, fp) != nfields) in sr_semanticgraph_loadV2()
1281 if (pfread(&impl->arc_token_list_len, 2, 1, fp) != 1) in deserializeArcTokenInfoV2()
1299 if (pfread(&idx, 4, 1, fp) != 1) in deserializeArcTokenInfoV2()
1308 if (pfread(&idx, 4, 1, fp) != 1) in deserializeArcTokenInfoV2()
1318 if (pfread(&idx, 4, 1, fp) != 1) in deserializeArcTokenInfoV2()
1329 if (pfread(tmp, sizeof(tmp[0]), 4, fp) != 4) in deserializeArcTokenInfoV2()
1350 if (pfread(&idx[0], 4, MAX_NUM_SLOTS, fp) != MAX_NUM_SLOTS) { in deserializeArcTokenInfoV2()
/external/srec/srec/crec/
Dsrec_context.c2794 if (pfread(tmp2, sizeof(tmp2[0]), nfields, fp) != nfields) in deserializeWordMapV2()
2828 …if ((i=pfread(awordmap->chars, sizeof(char), awordmap->max_chars, fp)) != (size_t)awordmap->max_ch… in deserializeWordMapV2()
2956 if (pfread(labels, 2, 2, fp) != 2) in deserializeArcToken()
2965 if (pfread(idx, 4, 2, fp) != 2) in deserializeArcToken()
2981 if (pfread(&context->arc_token_list_len, 2, 1, fp) != 1) { in deserializeArcTokenInfo()
2992 if (pfread(&idx, 4, 1, fp) != 1) in deserializeArcTokenInfo()
3001 if (pfread(&idx, 4, 1, fp) != 1) in deserializeArcTokenInfo()
3284 if (pfread(&header[2], sizeof(header[0]), 2, fp) != 2) in FST_LoadContextFromImageV2()
3293 if (pfread(tmp, sizeof(tmp[0]), nfields, fp) != nfields) in FST_LoadContextFromImageV2()
3379 if (pfread(tmp,sizeof(tmp[0]),nfields,fp) != nfields) in FST_LoadContextFromImageV2()
[all …]
/external/srec/portable/include/
DPFile.h456 PORTABLE_API size_t pfread(void* buffer, size_t size, size_t count, PFile* stream);
/external/srec/srec/test/SRecTestAudio/src/
DSRecTestAudio.c1831 …data->num_samples_read = pfread ( data->audio_buffer, sizeof ( asr_int16_t ), data->audio_buffer_r… in srec_test_get_audio_from_file()
/external/srec/srec/test/SRecTest/src/
DSRecTest.c2138 …data->num_samples_read = pfread ( data->audio_buffer, sizeof ( asr_int16_t ), data->audio_buffer_r… in srec_test_get_audio_from_file()