/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | ctor.pass.cpp | 46 assert(b.rdbuf() == nullptr); in main() 52 B b(s.rdbuf()); in main() 53 assert(b.rdbuf() == s.rdbuf()); in main() 59 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>); in main() 60 assert(b.rdbuf() == s.rdbuf()); in main() 66 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>, std::mbstate_t()); in main() 67 assert(b.rdbuf() == s.rdbuf()); in main()
|
D | rdbuf.pass.cpp | 27 assert(b.rdbuf() == nullptr); in main() 28 b.rdbuf(s.rdbuf()); in main() 29 assert(b.rdbuf() == s.rdbuf()); in main()
|
D | overflow.pass.cpp | 45 test_buf f(bs.rdbuf()); in main() 56 test_buf f(bs.rdbuf()); in main() 62 test_buf f(bs.rdbuf()); in main() 74 test_buf f(bs.rdbuf()); in main() 80 test_buf f(bs.rdbuf()); in main()
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | iostream_test.cpp | 84 CPPUNIT_CHECK( cin.rdbuf()->in_avail() == 0 ); in in_avail() 85 CPPUNIT_CHECK( cout.rdbuf()->in_avail() == -1 ); in in_avail() 86 CPPUNIT_CHECK( clog.rdbuf()->in_avail() == -1 ); in in_avail() 87 CPPUNIT_CHECK( cerr.rdbuf()->in_avail() == -1 ); in in_avail() 90 CPPUNIT_CHECK( wcin.rdbuf()->in_avail() == 0 ); in in_avail() 91 CPPUNIT_CHECK( wcout.rdbuf()->in_avail() == 0 ); in in_avail() 92 CPPUNIT_CHECK( wclog.rdbuf()->in_avail() == 0 ); in in_avail() 93 CPPUNIT_CHECK( wcerr.rdbuf()->in_avail() == 0 ); in in_avail()
|
D | fstream_test.cpp | 47 CPPUNIT_TEST(rdbuf); 77 void rdbuf(); 299 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) ); in tellp() 307 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(9) ); in tellp() 339 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expe… in tellp() 358 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) … in tellp() 406 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); in seek() 409 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); in seek() 410 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); in seek() 414 CPPUNIT_ASSERT( s.rdbuf()->sgetn( b2, 10 ) == 10 ); in seek() [all …]
|
D | sstream_test.cpp | 32 CPPUNIT_TEST(rdbuf); 52 void rdbuf(); 313 void SstreamTest::rdbuf() in rdbuf() function in SstreamTest 320 ss.get( *os.rdbuf(), '\n' ); in rdbuf() 339 out << in.rdbuf(); in streambuf_output() 345 out << in.rdbuf(); in streambuf_output() 350 ostr << in.rdbuf(); in streambuf_output() 366 out << in.rdbuf(); in streambuf_output() 373 out << in.rdbuf(); in streambuf_output() 378 ostr << in.rdbuf(); in streambuf_output() [all …]
|
/ndk/tests/device/test-stlport/unit/ |
D | iostream_test.cpp | 84 CPPUNIT_CHECK( cin.rdbuf()->in_avail() == 0 ); in in_avail() 85 CPPUNIT_CHECK( cout.rdbuf()->in_avail() == -1 ); in in_avail() 86 CPPUNIT_CHECK( clog.rdbuf()->in_avail() == -1 ); in in_avail() 87 CPPUNIT_CHECK( cerr.rdbuf()->in_avail() == -1 ); in in_avail() 90 CPPUNIT_CHECK( wcin.rdbuf()->in_avail() == 0 ); in in_avail() 91 CPPUNIT_CHECK( wcout.rdbuf()->in_avail() == 0 ); in in_avail() 92 CPPUNIT_CHECK( wclog.rdbuf()->in_avail() == 0 ); in in_avail() 93 CPPUNIT_CHECK( wcerr.rdbuf()->in_avail() == 0 ); in in_avail()
|
D | fstream_test.cpp | 47 CPPUNIT_TEST(rdbuf); 77 void rdbuf(); 299 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) ); in tellp() 307 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(9) ); in tellp() 339 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expe… in tellp() 358 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) … in tellp() 406 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); in seek() 409 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); in seek() 410 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); in seek() 414 CPPUNIT_ASSERT( s.rdbuf()->sgetn( b2, 10 ) == 10 ); in seek() [all …]
|
D | sstream_test.cpp | 32 CPPUNIT_TEST(rdbuf); 52 void rdbuf(); 313 void SstreamTest::rdbuf() in rdbuf() function in SstreamTest 320 ss.get( *os.rdbuf(), '\n' ); in rdbuf() 339 out << in.rdbuf(); in streambuf_output() 345 out << in.rdbuf(); in streambuf_output() 350 ostr << in.rdbuf(); in streambuf_output() 366 out << in.rdbuf(); in streambuf_output() 373 out << in.rdbuf(); in streambuf_output() 378 ostr << in.rdbuf(); in streambuf_output() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/ |
D | rdbuf_streambuf.pass.cpp | 23 assert(ios.rdbuf() == 0); in main() 26 std::streambuf* sb2 = ios.rdbuf(sb); in main() 28 assert(ios.rdbuf() == sb); in main() 30 sb2 = ios.rdbuf(0); in main() 32 assert(ios.rdbuf() == 0); in main()
|
D | rdbuf.pass.cpp | 24 assert(ios.rdbuf() == 0); in main() 29 assert(ios.rdbuf() == sb); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringstream.cons/ |
D | default.pass.cpp | 24 assert(ss.rdbuf() != 0); in main() 30 assert(ss.rdbuf() != 0); in main() 36 assert(ss.rdbuf() != 0); in main() 42 assert(ss.rdbuf() != 0); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/ostringstream/ostringstream.cons/ |
D | default.pass.cpp | 24 assert(ss.rdbuf() != 0); in main() 30 assert(ss.rdbuf() != 0); in main() 36 assert(ss.rdbuf() != 0); in main() 42 assert(ss.rdbuf() != 0); in main()
|
D | string.pass.cpp | 25 assert(ss.rdbuf() != 0); in main() 34 assert(ss.rdbuf() != 0); in main() 43 assert(ss.rdbuf() != 0); in main() 52 assert(ss.rdbuf() != 0); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/istringstream/istringstream.cons/ |
D | default.pass.cpp | 24 assert(ss.rdbuf() != 0); in main() 30 assert(ss.rdbuf() != 0); in main() 36 assert(ss.rdbuf() != 0); in main() 42 assert(ss.rdbuf() != 0); in main()
|
D | string.pass.cpp | 25 assert(ss.rdbuf() != 0); in main() 36 assert(ss.rdbuf() != 0); in main() 47 assert(ss.rdbuf() != 0); in main() 58 assert(ss.rdbuf() != 0); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/ |
D | streambuf.pass.cpp | 28 std::istreambuf_iterator<char> i(inf.rdbuf()); in main() 33 std::istreambuf_iterator<char> i(inf.rdbuf()); in main() 42 std::istreambuf_iterator<wchar_t> i(inf.rdbuf()); in main() 47 std::istreambuf_iterator<wchar_t> i(inf.rdbuf()); in main()
|
/ndk/sources/cxx-stl/stlport/src/ |
D | iostream.cpp | 261 delete ptr_cin->rdbuf(0); in _S_uninitialize() 262 delete ptr_cout->rdbuf(0); in _S_uninitialize() 263 delete ptr_cerr->rdbuf(0); in _S_uninitialize() 264 delete ptr_clog->rdbuf(0); in _S_uninitialize() 283 delete ptr_wcin->rdbuf(0); in _S_uninitialize() 284 delete ptr_wcout->rdbuf(0); in _S_uninitialize() 285 delete ptr_wcerr->rdbuf(0); in _S_uninitialize() 286 delete ptr_wclog->rdbuf(0); in _S_uninitialize() 340 delete (&cin)->rdbuf(cin_buf.release()); in sync_with_stdio() 341 delete (&cout)->rdbuf(cout_buf.release()); in sync_with_stdio() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.cons/ |
D | move.pass.cpp | 49 assert(os1.rdbuf() == &sb); in main() 50 assert(os.rdbuf() == 0); in main() 63 assert(os1.rdbuf() == &sb); in main() 64 assert(os.rdbuf() == 0); in main()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _ostream.c | 54 ? this->_M_copy_buffered(__from, this->rdbuf()) 55 : this->_M_copy_unbuffered(__from, this->rdbuf()); 202 …ailed = (use_facet<_NumPut>(__os.getloc())).put(ostreambuf_iterator<_CharT, _Traits>(__os.rdbuf()), in __put_num() 308 __failed = this->_S_eof(this->rdbuf()->sputc(__c)); in _M_put_char() 310 __failed = this->_S_eof(this->rdbuf()->sputc(__c)); in _M_put_char() 312 this->rdbuf()->_M_sputnc(this->fill(), __npad) != __npad; in _M_put_char() 315 __failed = this->rdbuf()->_M_sputnc(this->fill(), __npad) != __npad; in _M_put_char() 316 __failed = __failed || this->_S_eof(this->rdbuf()->sputc(__c)); in _M_put_char() 340 __failed = this->rdbuf()->sputn(__s, __n) != __n; in _M_put_nowiden() 342 __failed = this->rdbuf()->sputn(__s, __n) != __n; in _M_put_nowiden() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fstream.members/ |
D | rdbuf.pass.cpp | 24 assert(fs.rdbuf()); in main() 28 assert(fs.rdbuf()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream/istream.cons/ |
D | move.pass.cpp | 49 assert(is1.rdbuf() == &sb); in main() 52 assert(is.rdbuf() == 0); in main() 67 assert(is1.rdbuf() == &sb); in main() 68 assert(is.rdbuf() == 0); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/ |
D | move.pass.cpp | 49 assert(is1.rdbuf() == &sb); in main() 52 assert(is.rdbuf() == 0); in main() 67 assert(is1.rdbuf() == &sb); in main() 68 assert(is.rdbuf() == 0); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ |
D | streambuf.pass.cpp | 24 std::ostreambuf_iterator<char> i(outf.rdbuf()); in main() 29 std::ostreambuf_iterator<wchar_t> i(outf.rdbuf()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ifstream.members/ |
D | rdbuf.pass.cpp | 24 std::filebuf* fb = fs.rdbuf(); in main() 29 std::wfilebuf* fb = fs.rdbuf(); in main()
|