Home
last modified time | relevance | path

Searched refs:rdbuf (Results 1 – 25 of 25) sorted by relevance

/ndk/tests/device/test-gnustl-full/unit/
Diostream_test.cpp84 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()
Dfstream_test.cpp47 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()
357 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) … in tellp()
405 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); in seek()
408 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); in seek()
409 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); in seek()
413 CPPUNIT_ASSERT( s.rdbuf()->sgetn( b2, 10 ) == 10 ); in seek()
[all …]
Dsstream_test.cpp32 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 …]
Dioiter_test.cpp52 istreambuf_iterator<char, char_traits<char> > objIStrmbIt1( objIStrStrm1.rdbuf() ); in ioiter_test()
65 istreambuf_iterator<char, char_traits<char> > objIStrmbIt2( objIStrStrm2.rdbuf() ); in ioiter_test()
75 istreambuf_iterator<char, char_traits<char> > objIStrmbIt3( objIStrStrm3.rdbuf() ); in ioiter_test()
102 v.assign( istreambuf_iterator<char>(s.rdbuf()), istreambuf_iterator<char>() ); in assign2_test()
Dslist_test.cpp80 stringbuf* buff=os.rdbuf(); in slist1()
89 buff=os2.rdbuf(); in slist1()
99 buff=os3.rdbuf(); in slist1()
108 buff = os4.rdbuf(); in slist1()
/ndk/tests/device/test-stlport/unit/
Diostream_test.cpp84 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()
Dfstream_test.cpp47 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()
357 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) … in tellp()
405 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); in seek()
408 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); in seek()
409 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); in seek()
413 CPPUNIT_ASSERT( s.rdbuf()->sgetn( b2, 10 ) == 10 ); in seek()
[all …]
Dsstream_test.cpp32 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 …]
Dioiter_test.cpp52 istreambuf_iterator<char, char_traits<char> > objIStrmbIt1( objIStrStrm1.rdbuf() ); in ioiter_test()
65 istreambuf_iterator<char, char_traits<char> > objIStrmbIt2( objIStrStrm2.rdbuf() ); in ioiter_test()
75 istreambuf_iterator<char, char_traits<char> > objIStrmbIt3( objIStrStrm3.rdbuf() ); in ioiter_test()
102 v.assign( istreambuf_iterator<char>(s.rdbuf()), istreambuf_iterator<char>() ); in assign2_test()
Dslist_test.cpp80 stringbuf* buff=os.rdbuf(); in slist1()
89 buff=os2.rdbuf(); in slist1()
99 buff=os3.rdbuf(); in slist1()
108 buff = os4.rdbuf(); in slist1()
/ndk/sources/cxx-stl/stlport/src/
Diostream.cpp261 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 …]
Dstrstream.cpp316 strstreambuf* istrstream::rdbuf() const { in rdbuf() function in istrstream
338 strstreambuf* ostrstream::rdbuf() const { in rdbuf() function in ostrstream
371 strstreambuf* strstream::rdbuf() const { in rdbuf() function in strstream
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_ostream.c54 ? 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 …]
D_ostream.h135 if (this->rdbuf()) in flush()
136 if (this->rdbuf()->pubsync() == -1) in flush()
142 return this->rdbuf() && !this->fail() in tellp()
143 ? this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out) in tellp()
148 if (this->rdbuf() && !this->fail()) { in seekp()
149 if (this->rdbuf()->pubseekpos(__pos, ios_base::out) == pos_type(-1)) { in seekp()
157 if (this->rdbuf() && !this->fail()) in seekp()
158 this->rdbuf()->pubseekoff(__off, __dir, ios_base::out); in seekp()
221 if (!__str.rdbuf()) in __init_bostr()
234 { return __St.rdbuf(); } in __get_ostreambuf()
D_fstream.h498 basic_filebuf<_CharT, _Traits>* rdbuf() const in rdbuf() function
502 return this->rdbuf()->is_open(); in is_open()
506 if (!this->rdbuf()->open(__s, __mod | ios_base::in))
511 if (!this->rdbuf()->close()) in close()
577 basic_filebuf<_CharT, _Traits>* rdbuf() const in rdbuf() function
581 return this->rdbuf()->is_open(); in is_open()
585 if (!this->rdbuf()->open(__s, __mod | ios_base::out))
590 if (!this->rdbuf()->close()) in close()
658 basic_filebuf<_CharT, _Traits>* rdbuf() const in rdbuf() function
662 return this->rdbuf()->is_open(); in is_open()
[all …]
D_istream.c195 … (use_facet<_Num_get>(__that.getloc())).get(istreambuf_iterator<_CharT, _Traits>(__that.rdbuf()), in __get_num()
324 __tmp = this->rdbuf()->sgetc(); in peek()
346 __tmp = this->rdbuf()->sbumpc(); in get()
371 __tmp = this->rdbuf()->sbumpc(); in get()
402 __c = this->rdbuf()->sbumpc(); in ignore()
428 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf(); in putback()
454 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf(); in unget()
479 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf(); in sync()
497 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf(); in tellg()
507 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf(); in seekg()
[all …]
D_strstream.h110 strstreambuf* rdbuf() const;
127 strstreambuf* rdbuf() const;
150 strstreambuf* rdbuf() const;
D_ios.h72 basic_streambuf<_CharT, _Traits>* rdbuf() const in rdbuf() function
76 rdbuf(basic_streambuf<char_type, traits_type>*);
92 _M_clear_nothrow(this->rdbuf() ? __state : iostate(__state|ios_base::badbit));
D_string_io.c46 basic_streambuf<_CharT, _Traits>* __buf = __os.rdbuf();
80 basic_streambuf<_CharT, _Traits>* __buf = __is.rdbuf();
141 basic_streambuf<_CharT, _Traits>* __buf = __is.rdbuf(); in getline()
D_ios.c48 basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __buf) { in rdbuf() function
99 this->rdbuf(__sb); in init()
D_sstream.h138 basic_stringbuf<_CharT, _Traits, _Alloc>* rdbuf() const in rdbuf() function
181 basic_stringbuf<_CharT, _Traits, _Alloc>* rdbuf() const in rdbuf() function
227 basic_stringbuf<_CharT, _Traits, _Alloc>* rdbuf() const in rdbuf() function
D_istream.h315 if (!__istr.rdbuf())
347 { return __istr.rdbuf(); }
D_bitset.c186 basic_streambuf<_CharT, _Traits>* __buf = __is.rdbuf();
D_bitset.h769 streambuf* __buf = __is.rdbuf();
820 wstreambuf* __buf = __is.rdbuf();
/ndk/sources/cxx-stl/stlport/stlport/
Diostream.h59 ios::init(__s.rdbuf());
74 ios::init(__s.rdbuf());
88 ios::init(__i.rdbuf());