Home
last modified time | relevance | path

Searched refs:__sb (Results 1 – 18 of 18) sorted by relevance

/freebsd-10-stable/contrib/libstdc++/src/
Distream.cc52 __streambuf_type* __sb = this->rdbuf(); in _GLIBCXX_BEGIN_NAMESPACE() local
53 int_type __c = __sb->sgetc(); in _GLIBCXX_BEGIN_NAMESPACE()
59 streamsize __size = std::min(streamsize(__sb->egptr() in _GLIBCXX_BEGIN_NAMESPACE()
60 - __sb->gptr()), in _GLIBCXX_BEGIN_NAMESPACE()
65 const char_type* __p = traits_type::find(__sb->gptr(), in _GLIBCXX_BEGIN_NAMESPACE()
69 __size = __p - __sb->gptr(); in _GLIBCXX_BEGIN_NAMESPACE()
70 traits_type::copy(__s, __sb->gptr(), __size); in _GLIBCXX_BEGIN_NAMESPACE()
72 __sb->gbump(__size); in _GLIBCXX_BEGIN_NAMESPACE()
74 __c = __sb->sgetc(); in _GLIBCXX_BEGIN_NAMESPACE()
80 __c = __sb->snextc(); in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
Dcompatibility.cc74 __streambuf_type* __sb = this->rdbuf(); in _GLIBCXX_BEGIN_NAMESPACE() local
75 int_type __c = __sb->sgetc(); in _GLIBCXX_BEGIN_NAMESPACE()
84 streamsize __size = std::min(streamsize(__sb->egptr() in _GLIBCXX_BEGIN_NAMESPACE()
85 - __sb->gptr()), in _GLIBCXX_BEGIN_NAMESPACE()
89 __sb->gbump(__size); in _GLIBCXX_BEGIN_NAMESPACE()
91 __c = __sb->sgetc(); in _GLIBCXX_BEGIN_NAMESPACE()
96 __c = __sb->snextc(); in _GLIBCXX_BEGIN_NAMESPACE()
140 __streambuf_type* __sb = this->rdbuf(); in ignore() local
141 int_type __c = __sb->sgetc(); in ignore()
149 streamsize __size = std::min(streamsize(__sb->egptr() in ignore()
[all …]
/freebsd-10-stable/contrib/libstdc++/include/bits/
Distream.tcc63 __streambuf_type* __sb = __in.rdbuf(); in _GLIBCXX_BEGIN_NAMESPACE() local
64 __int_type __c = __sb->sgetc(); in _GLIBCXX_BEGIN_NAMESPACE()
70 __c = __sb->snextc(); in _GLIBCXX_BEGIN_NAMESPACE()
256 __streambuf_type* __sb = this->rdbuf(); in get() local
257 int_type __c = __sb->sgetc(); in get()
265 __c = __sb->snextc(); in get()
287 get(__streambuf_type& __sb, char_type __delim) in get() argument
304 && !traits_type::eq_int_type(__sb.sputc(__c2), __eof)) in get()
337 __streambuf_type* __sb = this->rdbuf(); in getline() local
338 int_type __c = __sb->sgetc(); in getline()
[all …]
Dstreambuf_iterator.h335 streambuf_type* __sb = __first._M_sbuf; in __copy_aux() local
336 int_type __c = __sb->sgetc(); in __copy_aux()
339 const streamsize __n = __sb->egptr() - __sb->gptr(); in __copy_aux()
342 traits_type::copy(__result, __sb->gptr(), __n); in __copy_aux()
343 __sb->gbump(__n); in __copy_aux()
345 __c = __sb->underflow(); in __copy_aux()
350 __c = __sb->snextc(); in __copy_aux()
371 streambuf_type* __sb = __first._M_sbuf; in find() local
372 int_type __c = __sb->sgetc(); in find()
376 streamsize __n = __sb->egptr() - __sb->gptr(); in find()
[all …]
Dbasic_ios.tcc57 basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __sb) in rdbuf() argument
60 _M_streambuf = __sb; in rdbuf()
140 basic_ios<_CharT, _Traits>::init(basic_streambuf<_CharT, _Traits>* __sb) in init() argument
165 _M_streambuf = __sb; in init()
166 _M_streambuf_state = __sb ? goodbit : badbit; in init()
Dbasic_ios.h256 basic_ios(basic_streambuf<_CharT, _Traits>* __sb) in _GLIBCXX_BEGIN_NAMESPACE()
259 { this->init(__sb); } in _GLIBCXX_BEGIN_NAMESPACE()
333 rdbuf(basic_streambuf<_CharT, _Traits>* __sb); in _GLIBCXX_BEGIN_NAMESPACE()
456 init(basic_streambuf<_CharT, _Traits>* __sb); in _GLIBCXX_BEGIN_NAMESPACE()
/freebsd-10-stable/contrib/libc++/include/
Dstreambuf375 basic_streambuf<_CharT, _Traits>::basic_streambuf(const basic_streambuf& __sb)
376 : __loc_(__sb.__loc_),
377 __binp_(__sb.__binp_),
378 __ninp_(__sb.__ninp_),
379 __einp_(__sb.__einp_),
380 __bout_(__sb.__bout_),
381 __nout_(__sb.__nout_),
382 __eout_(__sb.__eout_)
388 basic_streambuf<_CharT, _Traits>::operator=(const basic_streambuf& __sb)
390 __loc_ = __sb.__loc_;
[all …]
Dios336 void init(void* __sb);
340 void rdbuf(void* __sb)
342 __rdbuf_ = __sb;
352 void set_rdbuf(void* __sb)
354 __rdbuf_ = __sb;
600 explicit basic_ios(basic_streambuf<char_type,traits_type>* __sb);
612 basic_streambuf<char_type, traits_type>* rdbuf(basic_streambuf<char_type, traits_type>* __sb);
634 void init(basic_streambuf<char_type, traits_type>* __sb);
645 void set_rdbuf(basic_streambuf<char_type, traits_type>* __sb);
653 basic_ios<_CharT, _Traits>::basic_ios(basic_streambuf<char_type,traits_type>* __sb)
[all …]
Distream187 explicit basic_istream(basic_streambuf<char_type, traits_type>* __sb);
220 basic_istream& operator>>(basic_streambuf<char_type, traits_type>* __sb);
242 basic_istream& get(basic_streambuf<char_type, traits_type>& __sb);
243 basic_istream& get(basic_streambuf<char_type, traits_type>& __sb, char_type __dlm);
308 basic_istream<_CharT, _Traits>::basic_istream(basic_streambuf<char_type, traits_type>* __sb)
311 this->init(__sb);
863 basic_istream<_CharT, _Traits>::operator>>(basic_streambuf<char_type, traits_type>* __sb)
873 if (__sb)
889 __sb->sputc(traits_type::to_char_type(__i)),
1018 basic_istream<_CharT, _Traits>::get(basic_streambuf<char_type, traits_type>& __sb,
[all …]
Dostream163 explicit basic_ostream(basic_streambuf<char_type, traits_type>* __sb);
208 basic_ostream& operator<<(basic_streambuf<char_type, traits_type>* __sb);
279 basic_ostream<_CharT, _Traits>::basic_ostream(basic_streambuf<char_type, traits_type>* __sb)
281 this->init(__sb);
346 basic_ostream<_CharT, _Traits>::operator<<(basic_streambuf<char_type, traits_type>* __sb)
355 if (__sb)
363 _Ip __i(__sb);
Dregex2802 __owns_one_state<_CharT>* __sb);
3072 __owns_one_state<_CharT>* __sb = __end_;
3078 __push_alternation(__sa, __sb);
4122 __owns_one_state<_CharT>* __sb = __end_;
4126 __push_alternation(__sa, __sb);
4623 __owns_one_state<_CharT>* __sb = __end_;
4628 __push_alternation(__sa, __sb);
4654 __owns_one_state<_CharT>* __sb = __end_;
4659 __push_alternation(__sa, __sb);
Dvalarray3511 const value_type* __sb;
3517 __sb = __begin_ + __i;
3524 __sb = __begin_;
3530 for (; __r.__end_ != __te; ++__r.__end_, ++__sb)
3531 ::new (__r.__end_) value_type(*__sb);
Dlocale3098 bool __sb = (__flags & ios_base::showbase) != 0;
3099 if (__sb || __more_needed)
3125 if (__sb && __sym_curr_char != __sym.end())
/freebsd-10-stable/contrib/libstdc++/include/std/
Dstd_istream.h104 basic_istream(__streambuf_type* __sb): _M_gcount(streamsize(0)) in _GLIBCXX_BEGIN_NAMESPACE()
105 { this->init(__sb); } in _GLIBCXX_BEGIN_NAMESPACE()
250 operator>>(__streambuf_type* __sb); in _GLIBCXX_BEGIN_NAMESPACE()
367 get(__streambuf_type& __sb, char_type __delim); in _GLIBCXX_BEGIN_NAMESPACE()
377 get(__streambuf_type& __sb) in _GLIBCXX_BEGIN_NAMESPACE()
378 { return this->get(__sb, this->widen('\n')); } in _GLIBCXX_BEGIN_NAMESPACE()
801 basic_iostream(basic_streambuf<_CharT, _Traits>* __sb) in basic_iostream() argument
803 { this->init(__sb); } in basic_iostream()
Dstd_streambuf.h794 basic_streambuf(const __streambuf_type& __sb) in basic_streambuf() argument
795 : _M_in_beg(__sb._M_in_beg), _M_in_cur(__sb._M_in_cur), in basic_streambuf()
796 _M_in_end(__sb._M_in_end), _M_out_beg(__sb._M_out_beg), in basic_streambuf()
797 _M_out_cur(__sb._M_out_cur), _M_out_end(__sb._M_out_cur), in basic_streambuf()
798 _M_buf_locale(__sb._M_buf_locale) in basic_streambuf()
Dstd_ostream.h86 basic_ostream(__streambuf_type* __sb) in _GLIBCXX_BEGIN_NAMESPACE()
87 { this->init(__sb); } in _GLIBCXX_BEGIN_NAMESPACE()
254 operator<<(__streambuf_type* __sb); in _GLIBCXX_BEGIN_NAMESPACE()
/freebsd-10-stable/contrib/libstdc++/include/ext/
Dvstring.tcc578 __streambuf_type* __sb = __in.rdbuf(); in _GLIBCXX_BEGIN_NAMESPACE() local
579 __int_type __c = __sb->sgetc(); in _GLIBCXX_BEGIN_NAMESPACE()
592 __c = __sb->snextc(); in _GLIBCXX_BEGIN_NAMESPACE()
645 __streambuf_type* __sb = __in.rdbuf(); in getline() local
646 __int_type __c = __sb->sgetc(); in getline()
659 __c = __sb->snextc(); in getline()
668 __sb->sbumpc(); in getline()
/freebsd-10-stable/contrib/libstdc++/
DChangeLog-1998522 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)