Home
last modified time | relevance | path

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

12

/external/stlport/test/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();
281 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) ); in tellp()
289 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(9) ); in tellp()
321 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expe… in tellp()
339 …CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) … in tellp()
387 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); in seek()
390 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); in seek()
391 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); in seek()
395 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()
/external/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
/external/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
/external/zlib/src/contrib/iostream3/
Dtest.cc28 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; in main()
32 outf.rdbuf()->pubsetbuf(0,0); in main()
41 inf.rdbuf()->pubsetbuf(0,0); in main()
44 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; in main()
Dzfstream.h262 rdbuf() const in rdbuf() function
351 rdbuf() const in rdbuf() function
442 (gzs.rdbuf())->setcompression(l, s);
DTODO17 of stream buffer to stream ( i.e. os << is.rdbuf(); )
/external/zlib/src/contrib/iostream/
Dzfstream.cpp255 ios( gzfilestream_common::rdbuf() ) in gzfilestream_common()
286 gzfilebuf *gzfilestream_common::rdbuf() in rdbuf() function in gzfilestream_common
292 ios( gzfilestream_common::rdbuf() ) in gzifstream()
298 ios( gzfilestream_common::rdbuf() ) in gzifstream()
304 ios( gzfilestream_common::rdbuf() ) in gzifstream()
312 ios( gzfilestream_common::rdbuf() ) in gzofstream()
318 ios( gzfilestream_common::rdbuf() ) in gzofstream()
324 ios( gzfilestream_common::rdbuf() ) in gzofstream()
Dzfstream.h62 gzfilebuf *rdbuf();
108 (s.rdbuf())->setcompressionlevel(l); in setcompressionlevel()
114 (s.rdbuf())->setcompressionstrategy(l); in setcompressionstrategy()
/external/clang/test/CXX/class.derived/class.member.lookup/
Dp6.cpp36 struct BaseIO { BaseIO* rdbuf() { return 0; } }; in rdbuf() function
37 struct Pcommon : virtual BaseIO { int rdbuf() { return 0; } }; in rdbuf() function
40 void f() { P p; p.rdbuf(); } in f()
/external/stlport/test/eh/
Dmain.cpp158 std::streambuf* old_cout_buf = cout.rdbuf(file.rdbuf()); in main()
159 std::streambuf* old_cerr_buf = cerr.rdbuf(file.rdbuf()); in main()
400 cout.rdbuf(old_cout_buf); in main()
401 cerr.rdbuf(old_cerr_buf); in main()
/external/stlport/stlport/
Diostream.h59 ios::init(__s.rdbuf());
74 ios::init(__s.rdbuf());
88 ios::init(__i.rdbuf());
/external/oprofile/libutil++/
Dcverb.cpp36 ostream null_stream(fout.rdbuf());
95 null_stream.rdbuf(cout.rdbuf()); in setup()
/external/oprofile/include/
Dsstream248 rdbuf() const
256 return rdbuf()->str();
261 rdbuf()->str(s);
285 rdbuf() const
293 return rdbuf()->str();
298 rdbuf()->str(s);
322 rdbuf() const
330 return rdbuf()->str();
336 rdbuf()->str(s);

12