• Home
  • Raw
  • Download

Lines Matching refs:fstream

346   fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );  in buf()
376fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc ); in seek()
384 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary ); in seek()
390 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); in seek()
391 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); in seek()
402 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); in seek()
410 fstream s( "test_file.txt", ios_base::in | ios_base::out ); in seek()
417 fstream::pos_type pos = s.rdbuf()->pubseekoff(0, ios_base::cur); in seek()
430 CPPUNIT_ASSERT( pos == fstream::pos_type(5) ); in seek()
431 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff(-5, ios_base::cur) == fstream::pos_type(0) ); in seek()
470 fstream::pos_type pos = s.rdbuf()->pubseekoff(0, ios_base::cur); in seek()
485 CPPUNIT_ASSERT( pos == fstream::pos_type(5) ); in seek()
493 fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc ); in rdbuf()
837 fstream nullStream(nullStreamName); in null_stream()
842 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::ate); in null_stream()
847 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::trunc); in null_stream()
875 fstream f( "test.txt", ios_base::in | ios_base::out | ios_base::trunc ); in null_buf()