Lines Matching refs:ios_base
32 … explicit basic_stringbuf(ios_base::openmode which = ios_base::in | ios_base::out); // before C++20
33 basic_stringbuf() : basic_stringbuf(ios_base::in | ios_base::out) {} // C++20
34 explicit basic_stringbuf(ios_base::openmode which); // C++20
36 ios_base::openmode which = ios_base::in | ios_base::out);
38 : basic_stringbuf(ios_base::in | ios_base::out, a) {} // C++20
39 basic_stringbuf(ios_base::openmode which, const allocator_type& a); // C++20
41 ios_base::openmode which = ios_base::in | ios_base::out); // C++20
44 : basic_stringbuf(s, ios_base::in | ios_base::out, a) {} // C++20
47 ios_base::openmode which, const allocator_type& a); // C++20
50 ios_base::openmode which = ios_base::in | ios_base::out); // C++20
53 … ios_base::openmode which = ios_base::in | ios_base::out); // Since C++26
57 … basic_stringbuf(const T& t, ios_base::openmode which, const Allocator& a); // Since C++26
88 virtual pos_type seekoff(off_type off, ios_base::seekdir way,
89 ios_base::openmode which = ios_base::in | ios_base::out);
91 ios_base::openmode which = ios_base::in | ios_base::out);
116 … explicit basic_istringstream(ios_base::openmode which = ios_base::in); // before C++20
117 basic_istringstream() : basic_istringstream(ios_base::in) {} // C++20
118 explicit basic_istringstream(ios_base::openmode which); // C++20
120 ios_base::openmode which = ios_base::in);
121 basic_istringstream(ios_base::openmode which, const allocator_type& a); // C++20
123 ios_base::openmode which = ios_base::in); // C++20
126 : basic_istringstream(s, ios_base::in, a) {} // C++20
129 ios_base::openmode which, const allocator_type& a); // C++20
132 ios_base::openmode which = ios_base::in); // C++20
134 … explicit basic_istringstream(const T& t, ios_base::openmode which = ios_base::in); // Since C++26
138 … basic_istringstream(const T& t, ios_base::openmode which, const Allocator& a); // Since C++26
185 … explicit basic_ostringstream(ios_base::openmode which = ios_base::out); // before C++20
186 basic_ostringstream() : basic_ostringstream(ios_base::out) {} // C++20
187 explicit basic_ostringstream(ios_base::openmode which); // C++20
189 ios_base::openmode which = ios_base::out);
190 basic_ostringstream(ios_base::openmode which, const allocator_type& a); // C++20
192 ios_base::openmode which = ios_base::out); // C++20
195 : basic_ostringstream(s, ios_base::out, a) {} // C++20
198 ios_base::openmode which, const allocator_type& a); // C++20
201 ios_base::openmode which = ios_base::out); // C++20
203 … explicit basic_ostringstream(const T& t, ios_base::openmode which = ios_base::out); // Since C++26
207 … basic_ostringstream(const T& t, ios_base::openmode which, const Allocator& a); // Since C++26
254 …explicit basic_stringstream(ios_base::openmode which = ios_base::out | ios_base::in); // before C+…
255 basic_stringstream() : basic_stringstream(ios_base::out | ios_base::in) {} // C++20
256 explicit basic_stringstream(ios_base::openmode which); // C++20
258 ios_base::openmode which = ios_base::out | ios_base::in);
259 basic_stringstream(ios_base::openmode which, const allocator_type& a); // C++20
261 ios_base::openmode which = ios_base::out | ios_base::in); // C++20
264 : basic_stringstream(s, ios_base::out | ios_base::in, a) {} // C++20
267 ios_base::openmode which, const allocator_type& a); // C++20
270 ios_base::openmode which = ios_base::out | ios_base::in); // C++20
273 … ios_base::openmode which = ios_base::out | ios_base::in); // Since C++26
277 …basic_stringstream(const T& t, ios_base::openmode which, const Allocator& a); // Since C++…
351 ios_base::openmode __mode_;
357 _LIBCPP_HIDE_FROM_ABI basic_stringbuf() : __hm_(nullptr), __mode_(ios_base::in | ios_base::out) {}
359 …_LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(ios_base::openmode __wch) : __hm_(nullptr), __mode_…
362 … ios_base::openmode __wch = ios_base::in | ios_base::out)
369 : basic_stringbuf(ios_base::in | ios_base::out, __a) {}
371 _LIBCPP_HIDE_FROM_ABI basic_stringbuf(ios_base::openmode __wch, const allocator_type& __a)
375 … ios_base::openmode __wch = ios_base::in | ios_base::out)
383 : basic_stringbuf(__s, ios_base::in | ios_base::out, __a) {}
387 …const basic_string<char_type, traits_type, _SAlloc>& __s, ios_base::openmode __wch, const allocato…
395 … ios_base::openmode __wch = ios_base::in | ios_base::out)
406 … ios_base::openmode __which = ios_base::in | ios_base::out)
412 : basic_stringbuf(__t, ios_base::in | ios_base::out, __a) {}
416 …_LIBCPP_HIDE_FROM_ABI basic_stringbuf(const _Tp& __t, ios_base::openmode __which, const _Allocator…
516 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_bas…
518 …pos_type seekpos(pos_type __sp, ios_base::openmode __wch = ios_base::in | ios_base::out) override {
519 return seekoff(__sp, ios_base::beg, __wch);
687 if (__mode_ & ios_base::out) {
691 } else if (__mode_ & ios_base::in)
702 if (__mode_ & ios_base::in) {
706 if (__mode_ & ios_base::out) {
710 if (__mode_ & (ios_base::app | ios_base::ate)) {
725 if (__mode_ & ios_base::out) {
729 } else if (__mode_ & ios_base::in)
740 if (__mode_ & ios_base::in) {
759 …if ((__mode_ & ios_base::out) || traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1])…
774 if (!(__mode_ & ios_base::out))
794 if (__mode_ & ios_base::in) {
805 off_type __off, ios_base::seekdir __way, ios_base::openmode __wch) {
808 if ((__wch & (ios_base::in | ios_base::out)) == 0)
810 …if ((__wch & (ios_base::in | ios_base::out)) == (ios_base::in | ios_base::out) && __way == ios_bas…
815 case ios_base::beg:
818 case ios_base::cur:
819 if (__wch & ios_base::in)
824 case ios_base::end:
834 if ((__wch & ios_base::in) && this->gptr() == nullptr)
836 if ((__wch & ios_base::out) && this->pptr() == nullptr)
839 if (__wch & ios_base::in)
841 if (__wch & ios_base::out) {
867 …IDE_FROM_ABI basic_istringstream() : basic_istream<_CharT, _Traits>(&__sb_), __sb_(ios_base::in) {}
869 _LIBCPP_HIDE_FROM_ABI explicit basic_istringstream(ios_base::openmode __wch)
870 : basic_istream<_CharT, _Traits>(&__sb_), __sb_(__wch | ios_base::in) {}
872 …M_ABI explicit basic_istringstream(const string_type& __s, ios_base::openmode __wch = ios_base::in)
873 : basic_istream<_CharT, _Traits>(&__sb_), __sb_(__s, __wch | ios_base::in) {}
876 _LIBCPP_HIDE_FROM_ABI basic_istringstream(ios_base::openmode __wch, const _Allocator& __a)
877 : basic_istream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(__wch | ios_base::in, __a) {}
879 …E_FROM_ABI explicit basic_istringstream(string_type&& __s, ios_base::openmode __wch = ios_base::in)
880 …sic_istream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(std::move(__s), __wch | ios_base::in) {}
884 : basic_istringstream(__s, ios_base::in, __a) {}
888 …const basic_string<_CharT, _Traits, _SAlloc>& __s, ios_base::openmode __wch, const _Allocator& __a)
889 … : basic_istream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(__s, __wch | ios_base::in, __a) {}
893 ios_base::openmode __wch = ios_base::in)
894 : basic_istream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(__s, __wch | ios_base::in) {}
901 …IDE_FROM_ABI explicit basic_istringstream(const _Tp& __t, ios_base::openmode __which = ios_base::i…
907 : basic_istringstream(__t, ios_base::in, __a) {}
911 …_LIBCPP_HIDE_FROM_ABI basic_istringstream(const _Tp& __t, ios_base::openmode __which, const _Alloc…
912 …: basic_istream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(__t, __which | ios_base::in, __a) {}
1002 …DE_FROM_ABI basic_ostringstream() : basic_ostream<_CharT, _Traits>(&__sb_), __sb_(ios_base::out) {}
1004 _LIBCPP_HIDE_FROM_ABI explicit basic_ostringstream(ios_base::openmode __wch)
1005 : basic_ostream<_CharT, _Traits>(&__sb_), __sb_(__wch | ios_base::out) {}
1007 …M_ABI explicit basic_ostringstream(const string_type& __s, ios_base::openmode __wch = ios_base::ou…
1008 : basic_ostream<_CharT, _Traits>(&__sb_), __sb_(__s, __wch | ios_base::out) {}
1011 _LIBCPP_HIDE_FROM_ABI basic_ostringstream(ios_base::openmode __wch, const _Allocator& __a)
1012 : basic_ostream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(__wch | ios_base::out, __a) {}
1014 …E_FROM_ABI explicit basic_ostringstream(string_type&& __s, ios_base::openmode __wch = ios_base::ou…
1015 …ic_ostream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(std::move(__s), __wch | ios_base::out) {}
1019 : basic_ostringstream(__s, ios_base::out, __a) {}
1023 …const basic_string<_CharT, _Traits, _SAlloc>& __s, ios_base::openmode __wch, const _Allocator& __a)
1024 … : basic_ostream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(__s, __wch | ios_base::out, __a) {}
1029 ios_base::openmode __wch = ios_base::out)
1030 : basic_ostream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(__s, __wch | ios_base::out) {}
1037 …IDE_FROM_ABI explicit basic_ostringstream(const _Tp& __t, ios_base::openmode __which = ios_base::o…
1038 : basic_ostringstream(__t, __which | ios_base::out, _Allocator()) {}
1043 : basic_ostringstream(__t, ios_base::out, __a) {}
1047 …_LIBCPP_HIDE_FROM_ABI basic_ostringstream(const _Tp& __t, ios_base::openmode __which, const _Alloc…
1048 …: basic_ostream<_CharT, _Traits>(std::addressof(__sb_)), __sb_(__t, __which | ios_base::out, __a) …
1140 : basic_iostream<_CharT, _Traits>(&__sb_), __sb_(ios_base::in | ios_base::out) {}
1142 _LIBCPP_HIDE_FROM_ABI explicit basic_stringstream(ios_base::openmode __wch)
1146 … ios_base::openmode __wch = ios_base::in | ios_base::out)
1150 _LIBCPP_HIDE_FROM_ABI basic_stringstream(ios_base::openmode __wch, const _Allocator& __a)
1154 … ios_base::openmode __wch = ios_base::out | ios_base::in)
1159 : basic_stringstream(__s, ios_base::out | ios_base::in, __a) {}
1163 …basic_stringstream(const basic_string<_CharT, _Traits, _SAlloc>& __s, ios_base::openmode __wch, co…
1169 … ios_base::openmode __wch = ios_base::out | ios_base::in)
1178 … ios_base::openmode __which = ios_base::out | ios_base::in)
1184 : basic_stringstream(__t, ios_base::out | ios_base::in, __a) {}
1188 …_LIBCPP_HIDE_FROM_ABI basic_stringstream(const _Tp& __t, ios_base::openmode __which, const _Alloca…