Lines Matching refs:file
90 " files... One or more test data files. If no file is\n" \
92 " file is used:\n" \
102 * \brief Read a line from the passed file pointer.
375 /** \brief Write the description of the test case to the outcome CSV file.
377 * \param outcome_file The file to write to.
416 * Ignore errors: writing the outcome file is on a best-effort basis. */
421 /** \brief Write the result of the test case to the outcome CSV file.
423 * \param outcome_file The file to write to.
443 * Ignore errors: writing the outcome file is on a best-effort basis. */
496 * supplied or default data file.
519 FILE *file;
567 mbedtls_fprintf( stderr, "Unable to open outcome file. Continuing anyway.\n" );
588 /* Not an option, therefore treat all further arguments as the file
619 file = fopen( test_filename, "r" );
620 if( file == NULL )
622 mbedtls_fprintf( stderr, "Failed to open test file: %s\n",
629 while( !feof( file ) )
640 if( ( ret = get_line( file, buf, sizeof(buf) ) ) != 0 )
654 if( ( ret = get_line( file, buf, sizeof( buf ) ) ) != 0 )
679 if( ( ret = get_line( file, buf, sizeof( buf ) ) ) != 0 )
793 fclose( file );
799 fclose( file );
805 fclose( file );