Lines Matching refs:__b
233 // Scans [__b, __e) until a match is found in the basic_strings range
235 // __b will be incremented (visibly), consuming CharT until a match is found
244 // If on exit __b == __e, eofbit is set in __err. If __case_sensitive is false,
253 __scan_keyword(_InputIterator& __b, _InputIterator __e,
289 for (size_t __indx = 0; __b != __e && __n_might_match > 0; ++__indx)
292 _CharT __c = *__b;
330 ++__b;
349 if (__b == __e)
582 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
585 return do_get(__b, __e, __iob, __err, __v);
589 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
592 return do_get(__b, __e, __iob, __err, __v);
596 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
599 return do_get(__b, __e, __iob, __err, __v);
603 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
606 return do_get(__b, __e, __iob, __err, __v);
610 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
613 return do_get(__b, __e, __iob, __err, __v);
617 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
620 return do_get(__b, __e, __iob, __err, __v);
624 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
627 return do_get(__b, __e, __iob, __err, __v);
631 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
634 return do_get(__b, __e, __iob, __err, __v);
638 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
641 return do_get(__b, __e, __iob, __err, __v);
645 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
648 return do_get(__b, __e, __iob, __err, __v);
652 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
655 return do_get(__b, __e, __iob, __err, __v);
667 (iter_type __b, iter_type __e, ios_base& __iob,
673 (iter_type __b, iter_type __e, ios_base& __iob,
679 (iter_type __b, iter_type __e, ios_base& __iob,
683 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
686 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
688 { return this->__do_get_signed ( __b, __e, __iob, __err, __v ); }
690 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
692 { return this->__do_get_signed ( __b, __e, __iob, __err, __v ); }
694 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
696 { return this->__do_get_unsigned ( __b, __e, __iob, __err, __v ); }
698 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
700 { return this->__do_get_unsigned ( __b, __e, __iob, __err, __v ); }
702 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
704 { return this->__do_get_unsigned ( __b, __e, __iob, __err, __v ); }
706 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
708 { return this->__do_get_unsigned ( __b, __e, __iob, __err, __v ); }
710 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
712 { return this->__do_get_floating_point ( __b, __e, __iob, __err, __v ); }
714 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
716 { return this->__do_get_floating_point ( __b, __e, __iob, __err, __v ); }
718 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
720 { return this->__do_get_floating_point ( __b, __e, __iob, __err, __v ); }
722 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
853 num_get<_CharT, _InputIterator>::do_get(iter_type __b, iter_type __e,
861 __b = do_get(__b, __e, __iob, __err, __lv);
875 return __b;
881 const string_type* __i = __scan_keyword(__b, __e, __names, __names+2,
884 return __b;
892 num_get<_CharT, _InputIterator>::__do_get_signed(iter_type __b, iter_type __e,
917 for (; __b != __e; ++__b)
927 if (this->__stage2_int_loop(*__b, __base, __a, __a_end, __dc,
939 if (__b == __e)
941 return __b;
949 num_get<_CharT, _InputIterator>::__do_get_unsigned(iter_type __b, iter_type __e,
974 for (; __b != __e; ++__b)
984 if (this->__stage2_int_loop(*__b, __base, __a, __a_end, __dc,
996 if (__b == __e)
998 return __b;
1006 num_get<_CharT, _InputIterator>::__do_get_floating_point(iter_type __b, iter_type __e,
1028 for (; __b != __e; ++__b)
1038 if (this->__stage2_float_loop(*__b, __in_units, __exp, __a, __a_end,
1051 if (__b == __e)
1053 return __b;
1058 num_get<_CharT, _InputIterator>::do_get(iter_type __b, iter_type __e,
1078 for (; __b != __e; ++__b)
1088 if (this->__stage2_int_loop(*__b, __base, __a, __a_end, __dc,
1098 if (__b == __e)
1100 return __b;
1692 __get_up_to_n_digits(_InputIterator& __b, _InputIterator __e,
1696 if (__b == __e)
1702 _CharT __c = *__b;
1709 for (++__b, (void) --__n; __b != __e && __n > 0; ++__b, (void) --__n)
1712 __c = *__b;
1717 if (__b == __e)
1785 iter_type get_time(iter_type __b, iter_type __e, ios_base& __iob,
1788 return do_get_time(__b, __e, __iob, __err, __tm);
1792 iter_type get_date(iter_type __b, iter_type __e, ios_base& __iob,
1795 return do_get_date(__b, __e, __iob, __err, __tm);
1799 iter_type get_weekday(iter_type __b, iter_type __e, ios_base& __iob,
1802 return do_get_weekday(__b, __e, __iob, __err, __tm);
1806 iter_type get_monthname(iter_type __b, iter_type __e, ios_base& __iob,
1809 return do_get_monthname(__b, __e, __iob, __err, __tm);
1813 iter_type get_year(iter_type __b, iter_type __e, ios_base& __iob,
1816 return do_get_year(__b, __e, __iob, __err, __tm);
1820 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
1824 return do_get(__b, __e, __iob, __err, __tm, __fmt, __mod);
1827 iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
1838 virtual iter_type do_get_time(iter_type __b, iter_type __e, ios_base& __iob,
1840 virtual iter_type do_get_date(iter_type __b, iter_type __e, ios_base& __iob,
1842 virtual iter_type do_get_weekday(iter_type __b, iter_type __e, ios_base& __iob,
1844 virtual iter_type do_get_monthname(iter_type __b, iter_type __e, ios_base& __iob,
1846 virtual iter_type do_get_year(iter_type __b, iter_type __e, ios_base& __iob,
1848 virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob,
1852 void __get_white_space(iter_type& __b, iter_type __e,
1854 void __get_percent(iter_type& __b, iter_type __e, ios_base::iostate& __err,
1858 iter_type& __b, iter_type __e,
1862 iter_type& __b, iter_type __e,
1866 iter_type& __b, iter_type __e,
1870 iter_type& __b, iter_type __e,
1874 iter_type& __b, iter_type __e,
1878 iter_type& __b, iter_type __e,
1882 iter_type& __b, iter_type __e,
1886 iter_type& __b, iter_type __e,
1890 iter_type& __b, iter_type __e,
1894 iter_type& __b, iter_type __e,
1898 iter_type& __b, iter_type __e,
1902 iter_type& __b, iter_type __e,
1906 iter_type& __b, iter_type __e,
1920 iter_type& __b, iter_type __e,
1926 ptrdiff_t __i = __scan_keyword(__b, __e, __wk, __wk+14, __ct, __err, false) - __wk;
1934 iter_type& __b, iter_type __e,
1940 ptrdiff_t __i = __scan_keyword(__b, __e, __month, __month+24, __ct, __err, false) - __month;
1948 iter_type& __b, iter_type __e,
1952 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 2);
1962 iter_type& __b, iter_type __e,
1966 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 2) - 1;
1976 iter_type& __b, iter_type __e,
1980 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 4);
1994 iter_type& __b, iter_type __e,
1998 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 4);
2006 iter_type& __b, iter_type __e,
2010 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 2);
2020 iter_type& __b, iter_type __e,
2024 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 2);
2034 iter_type& __b, iter_type __e,
2038 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 2);
2048 iter_type& __b, iter_type __e,
2052 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 2);
2062 iter_type& __b, iter_type __e,
2066 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 1);
2076 iter_type& __b, iter_type __e,
2080 int __t = __get_up_to_n_digits(__b, __e, __err, __ct, 3);
2089 time_get<_CharT, _InputIterator>::__get_white_space(iter_type& __b, iter_type __e,
2093 for (; __b != __e && __ct.is(ctype_base::space, *__b); ++__b)
2095 if (__b == __e)
2102 iter_type& __b, iter_type __e,
2112 ptrdiff_t __i = __scan_keyword(__b, __e, __ap, __ap+2, __ct, __err, false) - __ap;
2121 time_get<_CharT, _InputIterator>::__get_percent(iter_type& __b, iter_type __e,
2125 if (__b == __e)
2130 if (__ct.narrow(*__b, 0) != '%')
2132 else if(++__b == __e)
2140 time_get<_CharT, _InputIterator>::get(iter_type __b, iter_type __e,
2149 if (__b == __e)
2173 __b = do_get(__b, __e, __iob, __err, __tm, __cmd, __opt);
2180 for ( ; __b != __e && __ct.is(ctype_base::space, *__b); ++__b)
2183 else if (__ct.toupper(*__b) == __ct.toupper(*__fmtb))
2185 ++__b;
2191 if (__b == __e)
2193 return __b;
2205 time_get<_CharT, _InputIterator>::do_get_time(iter_type __b, iter_type __e,
2211 return get(__b, __e, __iob, __err, __tm, __fmt, __fmt + sizeof(__fmt)/sizeof(__fmt[0]));
2216 time_get<_CharT, _InputIterator>::do_get_date(iter_type __b, iter_type __e,
2222 return get(__b, __e, __iob, __err, __tm, __fmt.data(), __fmt.data() + __fmt.size());
2227 time_get<_CharT, _InputIterator>::do_get_weekday(iter_type __b, iter_type __e,
2233 __get_weekdayname(__tm->tm_wday, __b, __e, __err, __ct);
2234 return __b;
2239 time_get<_CharT, _InputIterator>::do_get_monthname(iter_type __b, iter_type __e,
2245 __get_monthname(__tm->tm_mon, __b, __e, __err, __ct);
2246 return __b;
2251 time_get<_CharT, _InputIterator>::do_get_year(iter_type __b, iter_type __e,
2257 __get_year(__tm->tm_year, __b, __e, __err, __ct);
2258 return __b;
2263 time_get<_CharT, _InputIterator>::do_get(iter_type __b, iter_type __e,
2274 __get_weekdayname(__tm->tm_wday, __b, __e, __err, __ct);
2279 __get_monthname(__tm->tm_mon, __b, __e, __err, __ct);
2284 __b = get(__b, __e, __iob, __err, __tm, __fm.data(), __fm.data() + __fm.size());
2289 __get_day(__tm->tm_mday, __b, __e, __err, __ct);
2294 __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm)/sizeof(__fm[0]));
2300 __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm)/sizeof(__fm[0]));
2304 __get_hour(__tm->tm_hour, __b, __e, __err, __ct);
2307 __get_12_hour(__tm->tm_hour, __b, __e, __err, __ct);
2310 __get_day_year_num(__tm->tm_yday, __b, __e, __err, __ct);
2313 __get_month(__tm->tm_mon, __b, __e, __err, __ct);
2316 __get_minute(__tm->tm_min, __b, __e, __err, __ct);
2320 __get_white_space(__b, __e, __err, __ct);
2323 __get_am_pm(__tm->tm_hour, __b, __e, __err, __ct);
2328 __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm)/sizeof(__fm[0]));
2334 __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm)/sizeof(__fm[0]));
2338 __get_second(__tm->tm_sec, __b, __e, __err, __ct);
2343 __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm)/sizeof(__fm[0]));
2347 __get_weekday(__tm->tm_wday, __b, __e, __err, __ct);
2350 return do_get_date(__b, __e, __iob, __err, __tm);
2354 __b = get(__b, __e, __iob, __err, __tm, __fm.data(), __fm.data() + __fm.size());
2358 __get_year(__tm->tm_year, __b, __e, __err, __ct);
2361 __get_year4(__tm->tm_year, __b, __e, __err, __ct);
2364 __get_percent(__b, __e, __err, __ct);
2369 return __b;
2807 iter_type get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob,
2810 return do_get(__b, __e, __intl, __iob, __err, __v);
2814 iter_type get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob,
2817 return do_get(__b, __e, __intl, __iob, __err, __v);
2827 virtual iter_type do_get(iter_type __b, iter_type __e, bool __intl,
2830 virtual iter_type do_get(iter_type __b, iter_type __e, bool __intl,
2835 static bool __do_get(iter_type& __b, iter_type __e,
2852 __double_or_nothing(unique_ptr<_Tp, void(*)(void*)>& __b, _Tp*& __n, _Tp*& __e)
2854 bool __owns = __b.get_deleter() != __do_nothing;
2855 size_t __cur_cap = static_cast<size_t>(__e-__b.get()) * sizeof(_Tp);
2860 size_t __n_off = static_cast<size_t>(__n - __b.get());
2861 _Tp* __t = (_Tp*)realloc(__owns ? __b.get() : 0, __new_cap);
2865 __b.release();
2866 __b = unique_ptr<_Tp, void(*)(void*)>(__t, free);
2868 __n = __b.get() + __n_off;
2869 __e = __b.get() + __new_cap;
2875 money_get<_CharT, _InputIterator>::__do_get(iter_type& __b, iter_type __e,
2904 for (unsigned __p = 0; __p < 4 && __b != __e; ++__p)
2911 if (__ct.is(ctype_base::space, *__b))
2912 __spaces.push_back(*__b++);
2923 while (__b != __e && __ct.is(ctype_base::space, *__b))
2924 __spaces.push_back(*__b++);
2934 if (*__b == __psn[0])
2936 ++__b;
2943 else if (*__b == __nsn[0]) // __nsn.size() > 0 && __psn.size() == 0
2945 ++__b;
2953 if (*__b == __psn[0])
2955 ++__b;
2959 else if (*__b == __nsn[0])
2961 ++__b;
3001 while (__sym_curr_char != __sym.end() && __b != __e &&
3002 *__b == *__sym_curr_char) {
3003 ++__b;
3017 for (; __b != __e; ++__b)
3019 char_type __c = *__b;
3045 if (__b == __e || *__b != __dp)
3050 for (++__b; __fd > 0; --__fd, ++__b)
3052 if (__b == __e || !__ct.is(ctype_base::digit, *__b))
3059 *__wn++ = *__b;
3073 for (unsigned __i = 1; __i < __trailing_sign->size(); ++__i, ++__b)
3075 if (__b == __e || *__b != (*__trailing_sign)[__i])
3097 money_get<_CharT, _InputIterator>::do_get(iter_type __b, iter_type __e,
3110 if (__do_get(__b, __e, __intl, __loc, __iob.flags(), __err, __neg, __ct,
3134 if (__b == __e)
3136 return __b;
3141 money_get<_CharT, _InputIterator>::do_get(iter_type __b, iter_type __e,
3154 if (__do_get(__b, __e, __intl, __loc, __iob.flags(), __err, __neg, __ct,
3167 if (__b == __e)
3169 return __b;