Home | History | Annotate | Download | only in unit

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) );
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) );
364 fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );
394 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );
402 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary );
420 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
428 fstream s( "test_file.txt", ios_base::in | ios_base::out );
469 wfstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
479 wfstream s( "test_file.txt", ios_base::in | ios_base::out );
511 fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );
542 ostream out(&full_buf);
543 CPPUNIT_ASSERT( out );
545 out << in.rdbuf();
546 CPPUNIT_ASSERT( out );
550 out << in.rdbuf();
551 CPPUNIT_ASSERT( out.fail() );
568 ostream out(&full_buf);
569 CPPUNIT_ASSERT( out );
571 out << in.rdbuf();
572 CPPUNIT_ASSERT( out.bad() );
574 //out is bad we have no guaranty on what has been extracted:
577 out.clear();
578 out << in.rdbuf();
579 CPPUNIT_ASSERT( out.fail() && out.bad() );
596 ofstream out(file_name);
597 CPPUNIT_ASSERT( out.good() );
598 out << 'a';
600 out << '\n';
602 out << '\r';
603 CPPUNIT_ASSERT( out.good() );
643 result out(state_type&,
747 ofstream out("big_file.txt");
748 CPPUNIT_ASSERT( out );
769 out << setiosflags(ios_base::right) << setfill('*');
772 file_pos.push_back(make_pair(out.tellp(), index));
778 out << setw(1023) << index << '\n';
860 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::ate);
865 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::trunc);
893 fstream f( "test.txt", ios_base::in | ios_base::out | ios_base::trunc );