Home | History | Annotate | Download | only in unit

Lines Matching defs:out

157   basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
192 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
214 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc);
281 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) );
289 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == 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) );
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) );
346 fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );
376 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );
384 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary );
402 fstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
410 fstream s( "test_file.txt", ios_base::in | ios_base::out );
451 wfstream s( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc );
461 wfstream s( "test_file.txt", ios_base::in | ios_base::out );
493 fstream ss( "test_file.txt", ios_base::in | ios_base::out | ios_base::binary | ios_base::trunc );
524 ostream out(&full_buf);
525 CPPUNIT_ASSERT( out );
527 out << in.rdbuf();
528 CPPUNIT_ASSERT( out );
532 out << in.rdbuf();
533 CPPUNIT_ASSERT( out.fail() );
550 ostream out(&full_buf);
551 CPPUNIT_ASSERT( out );
553 out << in.rdbuf();
554 CPPUNIT_ASSERT( out.bad() );
556 //out is bad we have no guaranty on what has been extracted:
559 out.clear();
560 out << in.rdbuf();
561 CPPUNIT_ASSERT( out.fail() && out.bad() );
578 ofstream out(file_name);
579 CPPUNIT_ASSERT( out.good() );
580 out << 'a';
582 out << '\n';
584 out << '\r';
585 CPPUNIT_ASSERT( out.good() );
625 result out(state_type&,
729 ofstream out("big_file.txt");
730 CPPUNIT_ASSERT( out );
751 out << setiosflags(ios_base::right) << setfill('*');
754 file_pos.push_back(make_pair(out.tellp(), index));
760 out << setw(1023) << index << '\n';
842 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::ate);
847 fstream nullStream(nullStreamName, ios_base::in | ios_base::out | ios_base::trunc);
875 fstream f( "test.txt", ios_base::in | ios_base::out | ios_base::trunc );