Home
last modified time | relevance | path

Searched refs:PFile (Results 1 – 25 of 40) sorted by relevance

12

/external/srec/portable/include/
DPFile.h73 typedef FILE PFile; typedef
240 PFile; typedef
258 PORTABLE_API ESR_ReturnCode PFileDestroy(PFile* self);
261 PORTABLE_API ESR_ReturnCode PFileOpen(PFile* self, const LCHAR* mode);
269 PORTABLE_API ESR_ReturnCode PFileClose(PFile* self);
283 PORTABLE_API ESR_ReturnCode PFileRead(PFile* self, void* buffer, size_t size, size_t* count);
296 PORTABLE_API ESR_ReturnCode PFileWrite(PFile* self, void* buffer, size_t size, size_t* count);
304 PORTABLE_API ESR_ReturnCode PFileFlush(PFile* self);
314 PORTABLE_API ESR_ReturnCode PFileSeek(PFile* self, long offset, int origin);
323 PORTABLE_API ESR_ReturnCode PFileGetPosition(PFile* self, size_t* position);
[all …]
DPANSIFileImpl.h52 …I ESR_ReturnCode PANSIFileCreateImpl(const LCHAR* filename, ESR_BOOL isLittleEndian, PFile** self);
57 PORTABLE_API ESR_ReturnCode PANSIFileDestroyImpl(PFile* self);
62 PORTABLE_API ESR_ReturnCode PANSIFileOpenImpl(PFile* self, const LCHAR* mode);
67 PORTABLE_API ESR_ReturnCode PANSIFileCloseImpl(PFile* self);
72 PORTABLE_API ESR_ReturnCode PANSIFileReadImpl(PFile* self, void* buffer, size_t size, size_t* count…
77 PORTABLE_API ESR_ReturnCode PANSIFileWriteImpl(PFile* self, void* buffer, size_t size, size_t* coun…
82 PORTABLE_API ESR_ReturnCode PANSIFileFlushImpl(PFile* self);
87 PORTABLE_API ESR_ReturnCode PANSIFileSeekImpl(PFile* self, long offset, int origin);
92 PORTABLE_API ESR_ReturnCode PANSIFileGetPositionImpl(PFile* self, size_t* position);
97 PORTABLE_API ESR_ReturnCode PANSIFileIsOpenImpl(PFile* self, ESR_BOOL* isOpen);
[all …]
DPFileImpl.h36 PFile Interface;
65 PORTABLE_API ESR_ReturnCode PFileCreateImpl(PFile* self, const LCHAR* filename, ESR_BOOL littleEndi…
70 PORTABLE_API ESR_ReturnCode PFileDestroyImpl(PFile* self);
75 PORTABLE_API ESR_ReturnCode PFileGetFilenameImpl(PFile* self, LCHAR* filename, size_t* len);
80 PORTABLE_API ESR_ReturnCode PFileVfprintfImpl(PFile* self, int* result, const LCHAR* format, va_lis…
DPFileSystem.h77 …(*createPFile)(struct PFileSystem_t* self, const LCHAR* path, ESR_BOOL littleEndian, PFile** file);
131 PORTABLE_API ESR_ReturnCode PFileSystemCreatePFile(const LCHAR* path, ESR_BOOL littleEndian, PFile*…
Dpmemory.h272 PORTABLE_API ESR_ReturnCode PMemSetLogFile(PFile* file);
310 PORTABLE_API ESR_ReturnCode PMemReport(PFile* file);
/external/srec/portable/src/
DPFileWrap.c32 ESR_ReturnCode PFileClose( PFile *self ) in PFileClose()
41 ESR_ReturnCode PFileRead ( PFile *self, void *buffer, size_t size, size_t *count ) in PFileRead()
73 ESR_ReturnCode PFileWrite ( PFile *self, const void *buffer, size_t size, size_t *count ) in PFileWrite()
94 ESR_ReturnCode PFileFlush ( PFile *self ) in PFileFlush()
114 ESR_ReturnCode PFileSeek ( PFile *self, long offset, int origin ) in PFileSeek()
134 ESR_ReturnCode PFileGetPosition ( PFile *self, size_t *position ) in PFileGetPosition()
155 ESR_ReturnCode PFileIsEOF ( PFile *self, ESR_BOOL *isEof ) in PFileIsEOF()
185 ESR_ReturnCode PFileIsErrorSet ( PFile *self, ESR_BOOL *isError ) in PFileIsErrorSet()
200 ESR_ReturnCode PFileClearError ( PFile *self ) in PFileClearError()
209 ESR_ReturnCode PFileVfprintf ( PFile *self, int *result, const LCHAR *format, va_list args ) in PFileVfprintf()
[all …]
DPFile.c28 ESR_ReturnCode PFileDestroy(PFile* self) in PFileDestroy()
38 ESR_ReturnCode PFileOpen(PFile* self, const LCHAR* mode) in PFileOpen()
48 ESR_ReturnCode PFileClose(PFile* self) in PFileClose()
58 ESR_ReturnCode PFileRead(PFile* self, void* buffer, size_t size, size_t* count) in PFileRead()
68 ESR_ReturnCode PFileWrite(PFile* self, void* buffer, size_t size, size_t* count) in PFileWrite()
78 ESR_ReturnCode PFileFlush(PFile* self) in PFileFlush()
88 ESR_ReturnCode PFileSeek(PFile* self, long offset, int origin) in PFileSeek()
99 ESR_ReturnCode PFileGetPosition(PFile* self, size_t* position) in PFileGetPosition()
109 ESR_ReturnCode PFileIsOpen(PFile* self, ESR_BOOL* isOpen) in PFileIsOpen()
119 ESR_ReturnCode PFileIsEOF(PFile* self, ESR_BOOL* isEof) in PFileIsEOF()
[all …]
DPANSIFileImpl.c34 ESR_ReturnCode PANSIFileCreateImpl(const LCHAR* filename, ESR_BOOL isLittleEndian, PFile** self) in PANSIFileCreateImpl()
76 ESR_ReturnCode PANSIFileDestroyImpl(PFile* self) in PANSIFileDestroyImpl()
114 ESR_ReturnCode PANSIFileOpenImpl(PFile* self, const LCHAR* mode) in PANSIFileOpenImpl()
143 ESR_ReturnCode PANSIFileCloseImpl(PFile* self) in PANSIFileCloseImpl()
159 ESR_ReturnCode PANSIFileReadImpl(PFile* self, void* buffer, size_t size, size_t* count) in PANSIFileReadImpl()
198 ESR_ReturnCode PANSIFileWriteImpl(PFile* self, void* buffer, size_t size, size_t* count) in PANSIFileWriteImpl()
256 ESR_ReturnCode PANSIFileFlushImpl(PFile* self) in PANSIFileFlushImpl()
271 ESR_ReturnCode PANSIFileSeekImpl(PFile* self, long offset, int origin) in PANSIFileSeekImpl()
286 ESR_ReturnCode PANSIFileGetPositionImpl(PFile* self, size_t* position) in PANSIFileGetPositionImpl()
316 ESR_ReturnCode PANSIFileIsOpenImpl(PFile* self, ESR_BOOL* isOpen) in PANSIFileIsOpenImpl()
[all …]
DPFileSystemImpl.c37 PFile* PSTDIN = NULL;
41 PFile* PSTDOUT = NULL;
45 PFile* PSTDERR = NULL;
DPFileImpl.c35 ESR_ReturnCode PFileCreateImpl(PFile* self, const LCHAR* filename, ESR_BOOL isLittleEndian) in PFileCreateImpl()
108 ESR_ReturnCode PFileDestroyImpl(PFile* self) in PFileDestroyImpl()
141 ESR_ReturnCode PFileGetFilenameImpl(PFile* self, LCHAR* filename, size_t* len) in PFileGetFilenameImpl()
162 ESR_ReturnCode PFileVfprintfImpl(PFile* self, int* result, const LCHAR* format, va_list args) in PFileVfprintfImpl()
Dplog.c73 PFile* fp;
124 static ESR_ReturnCode createPFileLogger(PFile* fp, PLogger** logger) in createPFileLogger()
511 ESR_ReturnCode PLogCreateFileLogger(PFile* file, PLogger **logger) in PLogCreateFileLogger()
/external/srec/srec/include/
Dsrec_context.h190 int FST_DumpGraph(srec_context* fst, PFile* fp);
191 int FST_DumpWordMap(PFile* fp, wordmap* wmap);
192 int FST_DumpReverseWordGraph(srec_context* context, PFile* fp);
205 int FST_LoadWordMap(wordmap** pwmap, int num_words_to_add, PFile* fp);
208 int num_words_to_add, PFile* fp);
212 int FST_DumpContextAsImageV1(srec_context* context, PFile* fp);
214 int FST_DumpContextAsImageV2(srec_context* context, PFile* fp);
215 int FST_LoadContextFromImage(srec_context** pcontext, PFile* fp);
237 ESR_ReturnCode deserializeWordMapV2(wordmap **pwordmap, PFile* fp);
238 ESR_ReturnCode serializeWordMapV2(wordmap *wordmap, PFile* fp);
Dsample.h118 PFile* file; /* pointer to file */
214 int read_riff_header(PFile* waveFile, PCMWAVEFORMAT *pcmWaveFormat, unsigned long *datalen);
215 void add_riff_header(PFile* waveFile, int samplerate, int bitspersample);
216 void fix_riff_header(PFile* waveFile, int samplerate, int bitspersample);
Dportable.h55 …static PINLINE PFile* file_must_open(PFile* afile, const LCHAR *name, const LCHAR *mode, ESR_BOOL … in file_must_open()
57 PFile* fp; in file_must_open()
Dutteranc.h98 PFile* file; /* pointer to file */
247 int read_utt_head(UttHeader *head, PFile* datafile);
248 int write_utt_head(UttHeader *head, PFile* datafile);
Dcomp_stats.h110 void print_cs_clock(CS_CLOCK *c, float num_seconds, PFile* fp, char *prompt, char *item_name);
111 void dump_comp_stats(COMP_STATS *c, PFile* fp);
Dduk_io.h62 void skip_line(PFile* fileptr);
/external/srec/tools/parseStringTest/
DparseStringTest.c50 ESR_ReturnCode process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout);
51 ESR_ReturnCode process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile
79 void display_results(SR_SemanticResult *result, PFile* fout) in display_results()
104 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout, Opts* opts) in Parse()
211 …ParseTestSet(SR_Grammar* grammar, LCHAR* trans, LCHAR* key, LCHAR* ref, LCHAR* result, PFile* fout) in ParseTestSet()
283 PFile *fin = NULL, *fout = NULL; in main()
448 ESR_ReturnCode process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout) in process_single_key_line()
536 ESR_ReturnCode process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile in process_multi_key_line()
/external/srec/srec/clib/
Dsrec_arb.c79 void read_questions(srec_question** pquestions, asr_int16_t num_questions, char **buffer, PFile *fp) in read_questions()
178 tree_node* read_tree_node_f(char **buffer, PFile *fp) in read_tree_node_f()
198 void read_phoneme_data(phoneme_data** pdata, asr_int16_t num_phonemes, char **buffer, PFile *fp) in read_phoneme_data()
236 void read_hmminfos(srec_arbdata* allotree, char** buffer, PFile *fp) in read_hmminfos()
289 PFile* fp; in read_arbdata_from_stream()
/external/srec/srec/EventLog/include/
DSR_EventLogImpl.h62 PFile* logFile;
66 PFile* waveformFile;
/external/srec/srec/Semproc/src/
DSemanticGraphImpl.c88 ESR_ReturnCode sr_semanticgraph_loadV2(SR_SemanticGraphImpl* impl, wordmap* ilabels, PFile* fp);
95 PFile* fp = NULL; in SR_SemanticGraph_LoadFromImage()
162 PFile* fp);
165 PFile* fp);
167 ESR_ReturnCode sr_semanticgraph_loadV2(SR_SemanticGraphImpl* impl, wordmap* ilabels, PFile* fp) in sr_semanticgraph_loadV2()
286 PFile* p_text_file = NULL; in SR_SemanticGraph_LoadFromTextFiles()
287 PFile* scripts_file; in SR_SemanticGraph_LoadFromTextFiles()
682 PFile* fp; in sr_semanticgraph_saveV2()
1226 PFile* fp) in serializeArcTokenInfoV2()
1274 PFile* fp) in deserializeArcTokenInfoV2()
/external/srec/srec/ca/
Dsyn_srec.c104 PFile* fp = NULL; in CA_LoadSyntaxFromImage()
135 PFile* fp; in CA_DumpSyntax()
184 PFile* fp; in CA_DumpSyntaxAsImage()
/external/srec/srec/crec/
Dcomp_stats.c68 void dump_comp_stats(COMP_STATS *cs, PFile* fp) in dump_comp_stats()
98 void print_cs_clock(CS_CLOCK *c, float num_seconds, PFile* fp, char *prompt, char *item_name) in print_cs_clock()
/external/srec/srec/cfront/
Dnisthdr.h36 int read(PFile* pF); /* returns number of chars read, errno is set
40 int write(PFile* pF); /* returns number of chars written, errno is set*/
/external/srec/seti/setiUtils/include/
Dport_fileio.h37 #define PORT_FILE PFile

12