Lines Matching refs:__is

271     explicit sentry(basic_istream<_CharT, _Traits>& __is, bool __noskipws = false);
280 basic_istream<_CharT, _Traits>::sentry::sentry(basic_istream<_CharT, _Traits>& __is,
284 if (__is.good())
286 if (__is.tie())
287 __is.tie()->flush();
288 if (!__noskipws && (__is.flags() & ios_base::skipws))
291 const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
292 _Ip __i(__is);
298 __is.setstate(ios_base::failbit | ios_base::eofbit);
300 __ok_ = __is.good();
303 __is.setstate(ios_base::failbit);
756 operator>>(basic_istream<_CharT, _Traits>& __is, _CharT* __s)
762 typename basic_istream<_CharT, _Traits>::sentry __sen(__is);
765 streamsize __n = __is.width();
769 const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
773 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
784 __is.rdbuf()->sbumpc();
787 __is.width(0);
790 __is.setstate(__err);
796 __is.__set_badbit_and_consider_rethrow();
799 return __is;
805 operator>>(basic_istream<char, _Traits>& __is, unsigned char* __s)
807 return __is >> (char*)__s;
813 operator>>(basic_istream<char, _Traits>& __is, signed char* __s)
815 return __is >> (char*)__s;
820 operator>>(basic_istream<_CharT, _Traits>& __is, _CharT& __c)
826 typename basic_istream<_CharT, _Traits>::sentry __sen(__is);
829 typename _Traits::int_type __i = __is.rdbuf()->sbumpc();
831 __is.setstate(ios_base::eofbit | ios_base::failbit);
839 __is.__set_badbit_and_consider_rethrow();
842 return __is;
848 operator>>(basic_istream<char, _Traits>& __is, unsigned char& __c)
850 return __is >> (char&)__c;
856 operator>>(basic_istream<char, _Traits>& __is, signed char& __c)
858 return __is >> (char&)__c;
1428 ws(basic_istream<_CharT, _Traits>& __is)
1434 typename basic_istream<_CharT, _Traits>::sentry __sen(__is, true);
1437 const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
1440 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
1443 __is.setstate(ios_base::eofbit);
1448 __is.rdbuf()->sbumpc();
1455 __is.__set_badbit_and_consider_rethrow();
1458 return __is;
1466 operator>>(basic_istream<_CharT, _Traits>&& __is, _Tp& __x)
1468 __is >> __x;
1469 return __is;
1547 operator>>(basic_istream<_CharT, _Traits>& __is,
1554 typename basic_istream<_CharT, _Traits>::sentry __sen(__is);
1558 streamsize __n = __is.width();
1564 const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
1568 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
1579 __is.rdbuf()->sbumpc();
1581 __is.width(0);
1584 __is.setstate(__err);
1587 __is.setstate(ios_base::failbit);
1592 __is.__set_badbit_and_consider_rethrow();
1595 return __is;
1600 getline(basic_istream<_CharT, _Traits>& __is,
1607 typename basic_istream<_CharT, _Traits>::sentry __sen(__is, true);
1615 typename _Traits::int_type __i = __is.rdbuf()->sbumpc();
1634 __is.setstate(__err);
1640 __is.__set_badbit_and_consider_rethrow();
1643 return __is;
1649 getline(basic_istream<_CharT, _Traits>& __is,
1652 return getline(__is, __str, __is.widen('\n'));
1660 getline(basic_istream<_CharT, _Traits>&& __is,
1663 return getline(__is, __str, __dlm);
1669 getline(basic_istream<_CharT, _Traits>&& __is,
1672 return getline(__is, __str, __is.widen('\n'));
1679 operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Size>& __x)
1685 typename basic_istream<_CharT, _Traits>::sentry __sen(__is);
1689 const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
1696 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
1707 __is.rdbuf()->sbumpc();
1712 __is.setstate(__err);
1715 __is.setstate(ios_base::failbit);
1720 __is.__set_badbit_and_consider_rethrow();
1723 return __is;