Lines Matching refs:chars_read
387 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) );
388 CPPUNIT_CHECK( chars_read == 11 );
390 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) );
391 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) );
413 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) );
414 CPPUNIT_CHECK( chars_read == 11 );
418 // Depending on how '\n' is written in file, file position can be greater or equal to the number of chars_read read.
420 CPPUNIT_ASSERT( offset >= chars_read );
466 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) / sizeof(wchar_t) );
467 CPPUNIT_CHECK( chars_read == 11 );
471 // Depending on how '\n' is written in file, file position can be greater or equal to the number of chars_read read.
473 CPPUNIT_ASSERT( off >= chars_read );