Lines Matching defs:results_file
168 FILE *results_file, size_t *recognition_count );
1538 int srec_test_execute_command ( ApplicationData *data, AUDIOIN_H audio_input_handle, LCHAR *text, FILE *results_file, size_t *recognition_count )
1561 execute_status = srec_test_recognize_live ( active_grammar, data, audio_input_handle, results_file, recognition_count );
1672 int srec_test_open_results_file ( FILE **results_file )
1685 *results_file = fopen ( file_name, L("w") );
1687 if ( ( *results_file ) == NULL )
1703 void srec_test_close_results_file ( FILE *results_file )
1706 fclose ( results_file );
1715 FILE *results_file;
1725 process_status = srec_test_open_results_file ( &results_file );
1734 srec_test_execute_command ( data, audio_input_handle, linebuffer, results_file, &recognition_count );
1742 srec_test_close_results_file ( results_file );
1914 int srec_test_process_start_timeout ( ApplicationData *data, FILE *results_file )
1925 LFPRINTF ( results_file, L("E: utterance_timeout %lu\n"), (unsigned long)utterance_timeout );
1926 LFPRINTF ( results_file, L("R: <FAILED>\n") );
1986 int srec_test_process_nbest_list ( ApplicationData *data, FILE *results_file )
2062 int srec_test_process_recognition ( ApplicationData *data, FILE *results_file, size_t recognition_count )
2077 LFPRINTF ( results_file, L("R: %s\n"), linebuffer );
2083 LFPRINTF ( results_file, L("S: %s\n"), linebuffer);
2085 srec_test_process_nbest_list ( data, results_file );
2245 int srec_test_process_recognition_unsupported_case ( ApplicationData *data, FILE *results_file )
2250 LFPRINTF ( results_file, L("E: No results available\n") );
2251 LFPRINTF ( results_file, L("R: <FAILED>\n") );
2271 FILE *results_file, size_t recognition_count )
2278 process_status = srec_test_process_start_timeout ( data, results_file );
2282 process_status = srec_test_process_recognition ( data, results_file, recognition_count );
2290 process_status = srec_test_process_recognition_unsupported_case ( data, results_file );
2421 static int srec_test_recognize_live ( SR_Grammar *active_grammar, ApplicationData *data, AUDIOIN_H audio_input_handle, FILE *results_file, size_t *recognition_count )
2459 recognize_status = srec_test_process_results ( data, esr_recog_status, results_file, *recognition_count );