Lines Matching defs:out
175 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
210 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
232 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc);
299 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) );
307 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == 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) );
356 ofstream o( "test_file.txt", ios_base::app | ios_base::out );
358 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) );
365 fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );
395 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );
403 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary );
421 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
429 fstream s( "test_file.txt", ios_base::in | ios_base::out );
470 wfstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
480 wfstream s( "test_file.txt", ios_base::in | ios_base::out );
512 fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );
543 ostream out(&full_buf);
544 CPPUNIT_ASSERT( out );
546 out << in.rdbuf();
547 CPPUNIT_ASSERT( out );
551 out << in.rdbuf();
552 CPPUNIT_ASSERT( out.fail() );
569 ostream out(&full_buf);
570 CPPUNIT_ASSERT( out );
572 out << in.rdbuf();
573 CPPUNIT_ASSERT( out.bad() );
575 //out
578 out.clear();
579 out << in.rdbuf();
580 CPPUNIT_ASSERT( out.fail() && out.bad() );
597 ofstream out(file_name);
598 CPPUNIT_ASSERT( out.good() );
599 out << 'a';
601 out << '\n';
603 out << '\r';
604 CPPUNIT_ASSERT( out.good() );
644 result out(state_type&,
748 ofstream out("big_file.txt");
749 CPPUNIT_ASSERT( out );
770 out << setiosflags(ios_base::right) << setfill('*');
773 file_pos.push_back(make_pair(out.tellp(), index));
779 out << setw(1023) << index << '\n';
861 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::ate);
866 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::trunc);
894 fstream f( "test.txt", ios_base::in | ios_base::out | ios_base::trunc );