Home
last modified time | relevance | path

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

12

/freebsd/contrib/kyua/utils/
H A Dstream.cpp70 out->rdbuf(std::cout.rdbuf()); in open_ostream()
75 out->rdbuf(std::cerr.rdbuf()); in open_ostream()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Distream489 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
498 __is.rdbuf()->sbumpc();
547 typename _Traits::int_type __i = __is.rdbuf()->sbumpc();
590 typename traits_type::int_type __i = this->rdbuf()->sgetc();
598 this->rdbuf()->sbumpc();
632 __r = this->rdbuf()->sbumpc();
661 int_type __i = this->rdbuf()->sgetc();
671 this->rdbuf()->sbumpc();
710 typename traits_type::int_type __i = this->rdbuf()->sgetc();
721 this->rdbuf()->sbumpc();
[all …]
H A Dstrstream77 strstreambuf* rdbuf() const;
93 strstreambuf* rdbuf() const;
119 strstreambuf* rdbuf() const;
204 _LIBCPP_HIDE_FROM_ABI strstreambuf* rdbuf() const { return const_cast<strstreambuf*>(&__sb_); }
224 _LIBCPP_HIDE_FROM_ABI strstreambuf* rdbuf() const { return const_cast<strstreambuf*>(&__sb_); }
254 _LIBCPP_HIDE_FROM_ABI strstreambuf* rdbuf() const { return const_cast<strstreambuf*>(&__sb_); }
H A Dios143 basic_streambuf<charT,traits>* rdbuf() const;
144 basic_streambuf<charT,traits>* rdbuf(basic_streambuf<charT,traits>* sb);
365 _LIBCPP_HIDE_FROM_ABI void* rdbuf() const { return __rdbuf_; }
367 _LIBCPP_HIDE_FROM_ABI void rdbuf(void* __sb) {
585 _LIBCPP_HIDE_FROM_ABI basic_streambuf<char_type, traits_type>* rdbuf() const;
586 …_LIBCPP_HIDE_FROM_ABI basic_streambuf<char_type, traits_type>* rdbuf(basic_streambuf<char_type, tr…
650 inline _LIBCPP_HIDE_FROM_ABI basic_streambuf<_CharT, _Traits>* basic_ios<_CharT, _Traits>::rdbuf() …
651 return static_cast<basic_streambuf<char_type, traits_type>*>(ios_base::rdbuf());
656 basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<char_type, traits_type>* __sb) {
657 basic_streambuf<char_type, traits_type>* __r = rdbuf();
[all …]
H A Dfstream88 basic_filebuf<char_type, traits_type>* rdbuf() const;
127 basic_filebuf<char_type, traits_type>* rdbuf() const;
168 basic_filebuf<char_type, traits_type>* rdbuf() const;
1049 _LIBCPP_HIDE_FROM_ABI basic_filebuf<char_type, traits_type>* rdbuf() const;
1115 inline basic_filebuf<_CharT, _Traits>* basic_ifstream<_CharT, _Traits>::rdbuf() const {
1186 _LIBCPP_HIDE_FROM_ABI basic_filebuf<char_type, traits_type>* rdbuf() const;
1252 inline basic_filebuf<_CharT, _Traits>* basic_ofstream<_CharT, _Traits>::rdbuf() const {
1328 _LIBCPP_HIDE_FROM_ABI basic_filebuf<char_type, traits_type>* rdbuf() const;
1393 inline basic_filebuf<_CharT, _Traits>* basic_fstream<_CharT, _Traits>::rdbuf() const {
H A Dsstream148 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
217 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
287 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
743 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
805 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
867 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
/freebsd/contrib/llvm-project/libcxx/include/
H A Distream497 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
506 __is.rdbuf()->sbumpc();
582 typename _Traits::int_type __i = __is.rdbuf()->sbumpc();
625 typename traits_type::int_type __i = this->rdbuf()->sgetc();
633 this->rdbuf()->sbumpc();
667 __r = this->rdbuf()->sbumpc();
696 int_type __i = this->rdbuf()->sgetc();
706 this->rdbuf()->sbumpc();
745 typename traits_type::int_type __i = this->rdbuf()->sgetc();
756 this->rdbuf()->sbumpc();
[all …]
H A Dstrstream77 strstreambuf* rdbuf() const;
93 strstreambuf* rdbuf() const;
119 strstreambuf* rdbuf() const;
267 _LIBCPP_HIDE_FROM_ABI strstreambuf* rdbuf() const { return const_cast<strstreambuf*>(&__sb_); }
300 _LIBCPP_HIDE_FROM_ABI strstreambuf* rdbuf() const { return const_cast<strstreambuf*>(&__sb_); }
343 _LIBCPP_HIDE_FROM_ABI strstreambuf* rdbuf() const { return const_cast<strstreambuf*>(&__sb_); }
H A Dios143 basic_streambuf<charT,traits>* rdbuf() const;
144 basic_streambuf<charT,traits>* rdbuf(basic_streambuf<charT,traits>* sb);
374 _LIBCPP_HIDE_FROM_ABI void* rdbuf() const { return __rdbuf_; }
376 _LIBCPP_HIDE_FROM_ABI void rdbuf(void* __sb) {
603 _LIBCPP_HIDE_FROM_ABI basic_streambuf<char_type, traits_type>* rdbuf() const;
604 …_LIBCPP_HIDE_FROM_ABI basic_streambuf<char_type, traits_type>* rdbuf(basic_streambuf<char_type, tr…
668 inline _LIBCPP_HIDE_FROM_ABI basic_streambuf<_CharT, _Traits>* basic_ios<_CharT, _Traits>::rdbuf() …
669 return static_cast<basic_streambuf<char_type, traits_type>*>(ios_base::rdbuf());
674 basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<char_type, traits_type>* __sb) {
675 basic_streambuf<char_type, traits_type>* __r = rdbuf();
[all …]
H A Dsyncstream99 : basic_osyncstream(os.rdbuf(), allocator) {}
111 syncbuf_type* rdbuf() const noexcept { return const_cast<syncbuf_type*>(addressof(sb)); }
462 : basic_osyncstream(__os.rdbuf(), __alloc) {}
501 _LIBCPP_HIDE_FROM_ABI syncbuf_type* rdbuf() const noexcept {
H A Dfstream88 basic_filebuf<char_type, traits_type>* rdbuf() const;
127 basic_filebuf<char_type, traits_type>* rdbuf() const;
168 basic_filebuf<char_type, traits_type>* rdbuf() const;
1158 _LIBCPP_HIDE_FROM_ABI basic_filebuf<char_type, traits_type>* rdbuf() const;
1160 …_LIBCPP_HIDE_FROM_ABI native_handle_type native_handle() const noexcept { return rdbuf()->native_h…
1235 inline basic_filebuf<_CharT, _Traits>* basic_ifstream<_CharT, _Traits>::rdbuf() const {
1316 _LIBCPP_HIDE_FROM_ABI basic_filebuf<char_type, traits_type>* rdbuf() const;
1318 …_LIBCPP_HIDE_FROM_ABI native_handle_type native_handle() const noexcept { return rdbuf()->native_h…
1394 inline basic_filebuf<_CharT, _Traits>* basic_ofstream<_CharT, _Traits>::rdbuf() const {
1480 _LIBCPP_HIDE_FROM_ABI basic_filebuf<char_type, traits_type>* rdbuf() const;
[all …]
H A Dlocale140 streambuf* rdbuf() const;
141 streambuf* rdbuf(streambuf* bytebuf);
H A Dsstream148 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
217 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
287 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
952 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
989 rdbuf()->str(__t);
1090 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
1127 rdbuf()->str(__t);
1230 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
1267 rdbuf()->str(__t);
/freebsd/contrib/sendmail/libsmutil/
H A Dt-lockfile.c95 rdbuf(fd, xbuf) in rdbuf() function
299 if (rdbuf(fd, FIRSTLINE))
301 if (rdbuf(fd, LASTLINE))
/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dbasic_ostream.h210 …if (__os_.rdbuf() && __os_.good() && (__os_.flags() & ios_base::unitbuf) && uncaught_exceptions() … in ~sentry()
214 if (__os_.rdbuf()->pubsync() == -1) in ~sentry()
483 if (this->rdbuf()->sputn(__s, __n) != __n) in write()
499 if (this->rdbuf()) { in flush()
502 if (this->rdbuf()->pubsync() == -1) in flush()
518 return this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out); in tellp()
525 if (this->rdbuf()->pubseekpos(__pos, ios_base::out) == pos_type(-1)) in seekp()
535 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::out) == pos_type(-1)) in seekp()
H A Dprint.h55 if (auto __rdbuf = __os.rdbuf(); in __vprint_nonunicode()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__ostream/
H A Dbasic_ostream.h143 …if (__os_.rdbuf() && __os_.good() && (__os_.flags() & ios_base::unitbuf) && !uncaught_exception())… in ~sentry()
147 if (__os_.rdbuf()->pubsync() == -1) in ~sentry()
652 if (this->rdbuf()->sputn(__s, __n) != __n) in write()
668 if (this->rdbuf()) { in flush()
671 if (this->rdbuf()->pubsync() == -1) in flush()
687 return this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out); in tellp()
694 if (this->rdbuf()->pubseekpos(__pos, ios_base::out) == pos_type(-1)) in seekp()
704 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::out) == pos_type(-1)) in seekp()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dostream.cpp28 auto* __rdbuf = __os.rdbuf(); in __get_ostream_file()
/freebsd/contrib/kyua/utils/process/
H A Dfdstream.cpp67 rdbuf(&_pimpl->_systembuf); in ifdstream()
/freebsd/contrib/kyua/os/freebsd/utils/
H A Djail.cpp225 std::cerr << child->output().rdbuf(); in create()
300 std::cerr << child->output().rdbuf(); in remove()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/
H A Dostreambuf_iterator.h45 _LIBCPP_HIDE_FROM_ABI ostreambuf_iterator(ostream_type& __s) _NOEXCEPT : __sbuf_(__s.rdbuf()) {} in ostreambuf_iterator()
H A Distreambuf_iterator.h64 _LIBCPP_HIDE_FROM_ABI istreambuf_iterator(istream_type& __s) _NOEXCEPT : __sbuf_(__s.rdbuf()) {} in istreambuf_iterator()
/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dostreambuf_iterator.h56 _LIBCPP_HIDE_FROM_ABI ostreambuf_iterator(ostream_type& __s) _NOEXCEPT : __sbuf_(__s.rdbuf()) {} in ostreambuf_iterator()
H A Distreambuf_iterator.h73 _LIBCPP_HIDE_FROM_ABI istreambuf_iterator(istream_type& __s) _NOEXCEPT : __sbuf_(__s.rdbuf()) {} in istreambuf_iterator()
/freebsd/contrib/flex/src/
H A Dflex.skl1226 yyin.rdbuf(std::cin.rdbuf());
1234 yyout.rdbuf(std::cout.rdbuf());
1304 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin.rdbuf();
1422 yyin(arg_yyin ? arg_yyin->rdbuf() : std::cin.rdbuf()),
1423 yyout(arg_yyout ? arg_yyout->rdbuf() : std::cout.rdbuf())
1431 yyin(arg_yyin.rdbuf()),
1432 yyout(arg_yyout.rdbuf())
1490 yyout.rdbuf(new_out.rdbuf());
1989 yyin.rdbuf(YY_CURRENT_BUFFER_LVALUE->yy_input_file);
2090 b->yy_input_file = file.rdbuf();

12