Lines Matching refs:fstream
364 fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc ); in buf()
394 … fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc ); in seek()
402 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary ); in seek()
408 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); in seek()
409 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); in seek()
420 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); in seek()
428 fstream s( "test_file.txt", ios_base::in | ios_base::out ); in seek()
435 fstream::pos_type pos = s.rdbuf()->pubseekoff(0, ios_base::cur); in seek()
448 CPPUNIT_ASSERT( pos == fstream::pos_type(5) ); in seek()
449 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff(-5, ios_base::cur) == fstream::pos_type(0) ); in seek()
488 fstream::pos_type pos = s.rdbuf()->pubseekoff(0, ios_base::cur); in seek()
503 CPPUNIT_ASSERT( pos == fstream::pos_type(5) ); in seek()
511 fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc ); in rdbuf()
855 fstream nullStream(nullStreamName); in null_stream()
860 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::ate); in null_stream()
865 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::trunc); in null_stream()
893 fstream f( "test.txt", ios_base::in | ios_base::out | ios_base::trunc ); in null_buf()