Lines Matching refs:__os

223     explicit sentry(basic_ostream<_CharT, _Traits>& __os);
232 basic_ostream<_CharT, _Traits>::sentry::sentry(basic_ostream<_CharT, _Traits>& __os)
234 __os_(__os)
236 if (__os.good())
238 if (__os.tie())
239 __os.tie()->flush();
732 __put_character_sequence(basic_ostream<_CharT, _Traits>& __os,
739 typename basic_ostream<_CharT, _Traits>::sentry __s(__os);
743 if (__pad_and_output(_Ip(__os),
745 (__os.flags() & ios_base::adjustfield) == ios_base::left ?
749 __os,
750 __os.fill()).failed())
751 __os.setstate(ios_base::badbit | ios_base::failbit);
757 __os.__set_badbit_and_consider_rethrow();
760 return __os;
766 operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c)
768 return _VSTD::__put_character_sequence(__os, &__c, 1);
773 operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn)
779 typename basic_ostream<_CharT, _Traits>::sentry __s(__os);
782 _CharT __c = __os.widen(__cn);
784 if (__pad_and_output(_Ip(__os),
786 (__os.flags() & ios_base::adjustfield) == ios_base::left ?
790 __os,
791 __os.fill()).failed())
792 __os.setstate(ios_base::badbit | ios_base::failbit);
798 __os.__set_badbit_and_consider_rethrow();
801 return __os;
806 operator<<(basic_ostream<char, _Traits>& __os, char __c)
808 return _VSTD::__put_character_sequence(__os, &__c, 1);
813 operator<<(basic_ostream<char, _Traits>& __os, signed char __c)
815 return _VSTD::__put_character_sequence(__os, (char *) &__c, 1);
820 operator<<(basic_ostream<char, _Traits>& __os, unsigned char __c)
822 return _VSTD::__put_character_sequence(__os, (char *) &__c, 1);
827 operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str)
829 return _VSTD::__put_character_sequence(__os, __str, _Traits::length(__str));
834 operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn)
840 typename basic_ostream<_CharT, _Traits>::sentry __s(__os);
857 *__p = __os.widen(*__strn);
858 if (__pad_and_output(_Ip(__os),
860 (__os.flags() & ios_base::adjustfield) == ios_base::left ?
864 __os,
865 __os.fill()).failed())
866 __os.setstate(ios_base::badbit | ios_base::failbit);
872 __os.__set_badbit_and_consider_rethrow();
875 return __os;
880 operator<<(basic_ostream<char, _Traits>& __os, const char* __str)
882 return _VSTD::__put_character_sequence(__os, __str, _Traits::length(__str));
887 operator<<(basic_ostream<char, _Traits>& __os, const signed char* __str)
890 return _VSTD::__put_character_sequence(__os, __s, _Traits::length(__s));
895 operator<<(basic_ostream<char, _Traits>& __os, const unsigned char* __str)
898 return _VSTD::__put_character_sequence(__os, __s, _Traits::length(__s));
1020 endl(basic_ostream<_CharT, _Traits>& __os)
1022 __os.put(__os.widen('\n'));
1023 __os.flush();
1024 return __os;
1030 ends(basic_ostream<_CharT, _Traits>& __os)
1032 __os.put(_CharT());
1033 return __os;
1039 flush(basic_ostream<_CharT, _Traits>& __os)
1041 __os.flush();
1042 return __os;
1055 operator<<(_Stream&& __os, const _Tp& __x)
1057 __os << __x;
1058 return _VSTD::move(__os);
1065 operator<<(basic_ostream<_CharT, _Traits>& __os,
1068 return _VSTD::__put_character_sequence(__os, __str.data(), __str.size());
1074 operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec)
1076 return __os << __ec.category().name() << ':' << __ec.value();
1082 operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p)
1084 return __os << __p.get();
1089 operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
1091 return __os << __x.template to_string<_CharT, _Traits>
1092 (use_facet<ctype<_CharT> >(__os.getloc()).widen('0'),
1093 use_facet<ctype<_CharT> >(__os.getloc()).widen('1'));