Lines Matching refs:ofstream
98 ofstream f( "test_file.txt" ); in output()
214 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc); in tellg()
277 ofstream o( "test_file.txt" ); in tellp()
281 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) ); in tellp()
282 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(6) ); in tellp()
285 ofstream o( "test_file.txt" ); in tellp()
289 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(9) ); in tellp()
290 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(9) ); in tellp()
320 ofstream o( "test_file.txt", ios_base::app | ios_base::out ); in tellp()
321 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expe… in tellp()
322 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(expected_pos) ); in tellp()
337 ofstream o( "test_file.txt", ios_base::app | ios_base::out ); in tellp()
339 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) … in tellp()
340 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(10) ); in tellp()
511 ofstream ofstr("test_file.txt", ios_base::binary); in streambuf_output()
578 ofstream out(file_name); in win32_file_format()
683 ofstream ofstr(fileName, ios_base::binary); in custom_facet()
729 ofstream out("big_file.txt"); in big_file()
807 ofstream nullStream(nullStreamName); in null_stream()
812 ofstream nullStream(nullStreamName, ios_base::ate); in null_stream()
817 ofstream nullStream(nullStreamName, ios_base::trunc); in null_stream()
822 ofstream nullStream(nullStreamName, ios_base::app); in null_stream()