Lines Matching defs:fout
42 void doGetProns(SR_Vocabulary *vocab, LCHAR* phrase, size_t len, FILE* fout)
51 LFPRINTF(fout,"ERROR: %s\n", ESR_rc2str(rc));
58 LFPRINTF(fout,"%s : %s\n", phrase, pron);
64 void doInputTestPhonemes(SR_Vocabulary *vocab, PFile* fin, FILE* fout)
84 LFPRINTF(fout, "ERROR: INVALID FORMAT for input line\n");
96 LFPRINTF(fout,"ERROR: %s\n", ESR_rc2str(rc));
99 LFPRINTF(fout,"%s|%s|%s|", phrase, expectedPhoneme, phoneme);
102 LFPRINTF(fout,"PASSED\n");
104 LFPRINTF(fout,"FAILED\n");
125 FILE* fout = stdout;
144 fout = stdout;
287 if ((fout = fopen(outfilename,"w")) == NULL)
305 doGetProns(vocab, phrase, MAX_PRONS_LENGTH, fout);
317 doInputTestPhonemes(vocab, fin, fout);
334 doGetProns(vocab, phrase, MAX_PRONS_LENGTH, fout);
348 if(fout && fout != stdout)
349 fclose(fout);