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

12

/external/clang/test/CXX/class.derived/class.member.lookup/
H A Dp6.cpp36 struct BaseIO { BaseIO* rdbuf() { return 0; } }; function in struct:BaseIO
37 struct Pcommon : virtual BaseIO { int rdbuf() { return 0; } }; function in struct:Pcommon
40 void f() { P p; p.rdbuf(); }
/external/stlport/test/unit/
H A Diostream_test.cpp84 CPPUNIT_CHECK( cin.rdbuf()->in_avail() == 0 );
85 CPPUNIT_CHECK( cout.rdbuf()->in_avail() == -1 );
86 CPPUNIT_CHECK( clog.rdbuf()->in_avail() == -1 );
87 CPPUNIT_CHECK( cerr.rdbuf()->in_avail() == -1 );
90 CPPUNIT_CHECK( wcin.rdbuf()->in_avail() == 0 );
91 CPPUNIT_CHECK( wcout.rdbuf()->in_avail() == 0 );
92 CPPUNIT_CHECK( wclog.rdbuf()->in_avail() == 0 );
93 CPPUNIT_CHECK( wcerr.rdbuf()->in_avail() == 0 );
H A Dioiter_test.cpp52 istreambuf_iterator<char, char_traits<char> > objIStrmbIt1( objIStrStrm1.rdbuf() );
65 istreambuf_iterator<char, char_traits<char> > objIStrmbIt2( objIStrStrm2.rdbuf() );
75 istreambuf_iterator<char, char_traits<char> > objIStrmbIt3( objIStrStrm3.rdbuf() );
102 v.assign( istreambuf_iterator<char>(s.rdbuf()), istreambuf_iterator<char>() );
H A Dfstream_test.cpp47 CPPUNIT_TEST(rdbuf);
77 void rdbuf();
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) );
321 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expected_pos) );
339 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) );
387 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) );
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) );
395 CPPUNIT_ASSERT( s.rdbuf()
491 void FstreamTest::rdbuf() function in class:FstreamTest
[all...]
H A Dsstream_test.cpp32 CPPUNIT_TEST(rdbuf);
52 void rdbuf();
313 void SstreamTest::rdbuf() function in class:SstreamTest
320 ss.get( *os.rdbuf(), '\n' );
339 out << in.rdbuf();
345 out << in.rdbuf();
350 ostr << in.rdbuf();
366 out << in.rdbuf();
373 out << in.rdbuf();
378 ostr << in.rdbuf();
[all...]
/external/zlib/src/contrib/iostream3/
H A Dtest.cc28 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n";
32 outf.rdbuf()->pubsetbuf(0,0);
41 inf.rdbuf()->pubsetbuf(0,0);
44 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n";
H A Dzfstream.h262 rdbuf() const function in class:gzifstream
351 rdbuf() const function in class:gzofstream
442 (gzs.rdbuf())->setcompression(l, s);
/external/oprofile/libutil++/
H A Dcverb.cpp33 // The right way is to use: ofstream fout; but cverb(fout.rdbuf()) receive
36 ostream null_stream(fout.rdbuf());
95 null_stream.rdbuf(cout.rdbuf());
/external/stlport/src/
H A Diostream.cpp261 delete ptr_cin->rdbuf(0);
262 delete ptr_cout->rdbuf(0);
263 delete ptr_cerr->rdbuf(0);
264 delete ptr_clog->rdbuf(0);
283 delete ptr_wcin->rdbuf(0);
284 delete ptr_wcout->rdbuf(0);
285 delete ptr_wcerr->rdbuf(0);
286 delete ptr_wclog->rdbuf(0);
339 // When streambuf passed to rdbuf is not null, rdbuf i
[all...]
H A Dstrstream.cpp316 strstreambuf* istrstream::rdbuf() const { function in class:istrstream
338 strstreambuf* ostrstream::rdbuf() const { function in class:ostrstream
371 strstreambuf* strstream::rdbuf() const { function in class:strstream
/external/stlport/stlport/
H A Diostream.h59 ios::init(__s.rdbuf());
74 ios::init(__s.rdbuf());
88 ios::init(__i.rdbuf());
/external/zlib/src/contrib/iostream/
H A Dzfstream.cpp255 ios( gzfilestream_common::rdbuf() )
286 gzfilebuf *gzfilestream_common::rdbuf() function in class:gzfilestream_common
292 ios( gzfilestream_common::rdbuf() )
298 ios( gzfilestream_common::rdbuf() )
304 ios( gzfilestream_common::rdbuf() )
312 ios( gzfilestream_common::rdbuf() )
318 ios( gzfilestream_common::rdbuf() )
324 ios( gzfilestream_common::rdbuf() )
H A Dzfstream.h62 gzfilebuf *rdbuf();
108 (s.rdbuf())->setcompressionlevel(l);
114 (s.rdbuf())->setcompressionstrategy(l);
/external/oprofile/include/
H A Dsstream249 rdbuf() const
257 return rdbuf()->str();
262 rdbuf()->str(s);
287 rdbuf() const
295 return rdbuf()->str();
300 rdbuf()->str(s);
325 rdbuf() const
333 return rdbuf()->str();
339 rdbuf()->str(s);
/external/stlport/stlport/stl/
H A D_ostream.c54 ? this->_M_copy_buffered(__from, this->rdbuf())
55 : this->_M_copy_unbuffered(__from, this->rdbuf());
202 __failed = (use_facet<_NumPut>(__os.getloc())).put(ostreambuf_iterator<_CharT, _Traits>(__os.rdbuf()),
308 __failed = this->_S_eof(this->rdbuf()->sputc(__c));
310 __failed = this->_S_eof(this->rdbuf()->sputc(__c));
312 this->rdbuf()->_M_sputnc(this->fill(), __npad) != __npad;
315 __failed = this->rdbuf()->_M_sputnc(this->fill(), __npad) != __npad;
316 __failed = __failed || this->_S_eof(this->rdbuf()->sputc(__c));
340 __failed = this->rdbuf()->sputn(__s, __n) != __n;
342 __failed = this->rdbuf()
[all...]
H A D_ostream.h135 if (this->rdbuf())
136 if (this->rdbuf()->pubsync() == -1)
142 return this->rdbuf() && !this->fail()
143 ? this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out)
148 if (this->rdbuf() && !this->fail()) {
149 if (this->rdbuf()->pubseekpos(__pos, ios_base::out) == pos_type(-1)) {
157 if (this->rdbuf() && !this->fail())
158 this->rdbuf()->pubseekoff(__off, __dir, ios_base::out);
181 : _M_str(__str), /* _M_buf(__str.rdbuf()), */ _M_ok(_STLP_PRIV __init_bostr(__str))
221 if (!__str.rdbuf())
[all...]
H A D_fstream.h498 basic_filebuf<_CharT, _Traits>* rdbuf() const function in class:basic_ifstream
502 return this->rdbuf()->is_open();
506 if (!this->rdbuf()->open(__s, __mod | ios_base::in))
511 if (!this->rdbuf()->close())
577 basic_filebuf<_CharT, _Traits>* rdbuf() const function in class:basic_ofstream
581 return this->rdbuf()->is_open();
585 if (!this->rdbuf()->open(__s, __mod | ios_base::out))
590 if (!this->rdbuf()->close())
658 basic_filebuf<_CharT, _Traits>* rdbuf() const function in class:basic_fstream
662 return this->rdbuf()
[all...]
H A D_ios.h72 basic_streambuf<_CharT, _Traits>* rdbuf() const function in class:basic_ios
76 rdbuf(basic_streambuf<char_type, traits_type>*);
92 _M_clear_nothrow(this->rdbuf() ? __state : iostate(__state|ios_base::badbit));
H A D_strstream.h110 strstreambuf* rdbuf() const;
127 strstreambuf* rdbuf() const;
150 strstreambuf* rdbuf() const;
H A D_ios.c48 basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __buf) { function in class:_Traits
99 this->rdbuf(__sb);
H A D_istream.c195 (use_facet<_Num_get>(__that.getloc())).get(istreambuf_iterator<_CharT, _Traits>(__that.rdbuf()),
324 __tmp = this->rdbuf()->sgetc();
346 __tmp = this->rdbuf()->sbumpc();
371 __tmp = this->rdbuf()->sbumpc();
402 __c = this->rdbuf()->sbumpc();
428 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf();
454 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf();
479 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf();
497 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf();
507 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf();
[all...]
H A 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();
H A D_sstream.h138 basic_stringbuf<_CharT, _Traits, _Alloc>* rdbuf() const function in class:basic_istringstream
181 basic_stringbuf<_CharT, _Traits, _Alloc>* rdbuf() const function in class:basic_ostringstream
227 basic_stringbuf<_CharT, _Traits, _Alloc>* rdbuf() const function in class:basic_stringstream
/external/stlport/test/eh/
H A Dmain.cpp158 std::streambuf* old_cout_buf = cout.rdbuf(file.rdbuf());
159 std::streambuf* old_cerr_buf = cerr.rdbuf(file.rdbuf());
400 cout.rdbuf(old_cout_buf);
401 cerr.rdbuf(old_cerr_buf);
/external/oprofile/pp/
H A Dopreport_options.cpp157 cout.rdbuf(os.rdbuf());

Completed in 1277 milliseconds

12