Home | History | Annotate | Download | only in unit

Lines Matching refs:ofstream

98   ofstream f( "test_file.txt" );
214 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc);
277 ofstream o( "test_file.txt" );
281 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) );
282 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(6) );
285 ofstream o( "test_file.txt" );
289 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(9) );
290 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(9) );
293 ofstream o( "test_file.txt", ios_base::app | ios_base::out )
320 ofstream o( "test_file.txt", ios_base::app | ios_base::out );
321 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expected_pos) );
322 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(expected_pos) );
337 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(10) );
340 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(10) );
511 ofstream ofstr("test_file.txt", ios_base::binary);
578 ofstream out(file_name);
683 ofstream ofstr(fileName, ios_base::binary);
729 ofstream out("big_file.txt");
807 ofstream nullStream(nullStreamName);
812 ofstream nullStream(nullStreamName, ios_base::ate);
817 ofstream nullStream(nullStreamName, ios_base::trunc);
822 ofstream nullStream(nullStreamName, ios_base::app);