Lines Matching full:ofstream
98 ofstream f( "test_file.txt" );
232 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc);
295 ofstream o( "test_file.txt" );
299 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) );
300 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(6) );
303 ofstream o( "test_file.txt" );
307 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(9) );
308 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(9) );
311 ofstream o( "test_file.txt", ios_base::app | ios_base::out )
338 ofstream o( "test_file.txt", ios_base::app | ios_base::out );
339 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expected_pos) );
340 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(expected_pos) );
355 ofstream o( "test_file.txt", ios_base::app | ios_base::out );
357 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) );
358 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(10) );
529 ofstream ofstr("test_file.txt", ios_base::binary);
596 ofstream out(file_name);
701 ofstream ofstr(fileName, ios_base::binary);
747 ofstream out("big_file.txt");
825 ofstream nullStream(nullStreamName);
830 ofstream nullStream(nullStreamName, ios_base::ate);
835 ofstream nullStream(nullStreamName, ios_base::trunc);
840 ofstream nullStream(nullStreamName, ios_base::app);