Home | History | Annotate | Download | only in src

Lines Matching full:static_cast

110     return static_cast<size_t>(end - begin);
158 {return static_cast<size_t>(id) < facets_.size() && facets_[static_cast<size_t>(id)];}
343 install(const_cast<F*>(static_cast<const F*>(one.use_facet(id))), id);
441 if (static_cast<size_t>(id) >= facets_.size())
442 facets_.resize(static_cast<size_t>(id+1));
443 if (facets_[static_cast<size_t>(id)])
444 facets_[static_cast<size_t>(id)]->__release_shared();
445 facets_[static_cast<size_t>(id)] = hold.release();
455 return facets_[static_cast<size_t>(id)];
790 *vec = static_cast<mask>(isascii(*low) ?
885 return static_cast<char>(c);
894 *dest = static_cast<char>(*low);
924 static_cast<char>(_DefaultRuneLocale.__mapupper[static_cast<ptrdiff_t>(c)]) : c;
926 return static_cast<char>(__classic_upper_table()[static_cast<unsigned char>(c)]);
929 static_cast<char>(__classic_upper_table()[static_cast<unsigned char>(c)]) : c;
941 static_cast<char>(_DefaultRuneLocale.__mapupper[static_cast<ptrdiff_t>(*low)]) : *low;
943 *low = static_cast<char>(__classic_upper_table()[static_cast<unsigned char>(*low)]);
946 static_cast<char>(__classic_upper_table()[static_cast<size_t>(*low)]) : *low;
958 static_cast<char>(_DefaultRuneLocale.__maplower[static_cast<ptrdiff_t>(c)]) : c;
960 return static_cast<char>(__classic_lower_table()[static_cast<unsigned char>(c)]);
963 static_cast<char>(__classic_lower_table()[static_cast<size_t>(c)]) : c;
974 *low = isascii(*low) ? static_cast<char>(_DefaultRuneLocale.__maplower[static_cast<ptrdiff_t>(*low)]) : *low;
976 *low = static_cast<char>(__classic_lower_table()[static_cast<unsigned char>(*low)]);
978 *low = isascii(*low) ? static_cast<char>(__classic_lower_table()[static_cast<size_t>(*low)]) : *low;
1003 return static_cast<char>(c);
1209 return static_cast<char>(toupper_l(static_cast<unsigned char>(c), __l));
1216 *low = static_cast<char>(toupper_l(static_cast<unsigned char>(*low), __l));
1223 return static_cast<char>(tolower_l(static_cast<unsigned char>(c), __l));
1230 *low = static_cast<char>(tolower_l(static_cast<unsigned char>(*low), __l));
1267 return static_cast<bool>(iswctype_l(c, m, __l));
1270 wint_t ch = static_cast<wint_t>(c);
1291 *vec = static_cast<mask>(ctype<char>::classic_table()[*low]);
1295 wint_t ch = static_cast<wint_t>(*low);
1338 wint_t ch = static_cast<wint_t>(*low);
1363 wint_t ch = static_cast<wint_t>(*low);
1438 return r != static_cast<int>(WEOF) ? static_cast<char>(r) : dfault;
1451 *dest = r != static_cast<int>(WEOF) ? static_cast<char>(r) : dfault;
1508 return static_cast<int>(min<size_t>(mx, static_cast<size_t>(end-frm)));
1561 size_t n = wcsnrtombs_l(to, &frm_nxt, static_cast<size_t>(fend-frm),
1562 static_cast<size_t>(to_end-to), &st, __l);
1599 if (n > static_cast<size_t>(to_end-to_nxt)) // is there room?
1630 size_t n = mbsnrtowcs_l(to, &frm_nxt, static_cast<size_t>(fend-frm),
1631 static_cast<size_t>(to_end-to), &st, __l);
1641 n = mbrtowc_l(to_nxt, frm, static_cast<size_t>(fend-frm),
1705 if (n > static_cast<size_t>(to_end-to_nxt)) // is there room?
1748 size_t n = mbrlen_l(frm, static_cast<size_t>(frm_end-frm), &st, __l);
1774 return __l == 0 ? 1 : static_cast<int>( MB_CUR_MAX_L(__l));
1776 return __l == 0 ? 1 : static_cast<int>(__mb_cur_max_l(__l));
1806 *to_nxt++ = static_cast<uint8_t>(0xEF);
1807 *to_nxt++ = static_cast<uint8_t>(0xBB);
1808 *to_nxt++ = static_cast<uint8_t>(0xBF);
1819 *to_nxt++ = static_cast<uint8_t>(wc1);
1825 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc1 >> 6));
1826 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x03F));
1832 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12));
1833 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6));
1834 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x003F));
1850 *to_nxt++ = static_cast<uint8_t>(0xF0 | (z >> 2));
1851 *to_nxt++ = static_cast<uint8_t>(0x80 | ((z & 0x03) << 4) | ((wc1 & 0x003C) >> 2));
1852 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6));
1853 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F));
1863 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12));
1864 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6));
1865 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x003F));
1883 *to_nxt++ = static_cast<uint8_t>(0xEF);
1884 *to_nxt++ = static_cast<uint8_t>(0xBB);
1885 *to_nxt++ = static_cast<uint8_t>(0xBF);
1889 uint16_t wc1 = static_cast<uint16_t>(*frm_nxt);
1896 *to_nxt++ = static_cast<uint8_t>(wc1);
1902 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc1 >> 6));
1903 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x03F));
1909 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12));
1910 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6));
1911 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x003F));
1917 uint16_t wc2 = static_cast<uint16_t>(frm_nxt[1]);
1927 *to_nxt++ = static_cast<uint8_t>(0xF0 | (z >> 2));
1928 *to_nxt++ = static_cast<uint8_t>(0x80 | ((z & 0x03) << 4) | ((wc1 & 0x003C) >> 2));
1929 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6));
1930 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F));
1940 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12));
1941 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6));
1942 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x003F));
1969 *to_nxt = static_cast<uint16_t>(c1);
1983 uint16_t t = static_cast<uint16_t>(((c1 & 0x1F) << 6) | (c2 & 0x3F));
2012 uint16_t t = static_cast<uint16_t>(((c1 & 0x0F) << 12)
2050 *to_nxt = static_cast<uint16_t>(
2055 *++to_nxt = static_cast<uint16_t>(
2090 *to_nxt = static_cast<uint32_t>(c1);
2104 uint16_t t = static_cast<uint16_t>(((c1 & 0x1F) << 6) | (c2 & 0x3F));
2107 *to_nxt = static_cast<uint32_t>(t);
2133 uint16_t t = static_cast<uint16_t>(((c1 & 0x0F) << 12)
2138 *to_nxt = static_cast<uint32_t>(t);
2171 *to_nxt = static_cast<uint32_t>(
2176 *++to_nxt = static_cast<uint32_t>(
2220 uint16_t t = static_cast<uint16_t>(((c1 & 0x1F) << 6) | (frm_nxt[1] & 0x3F));
2235 return static_cast<int>(frm_nxt - frm);
2239 return static_cast<int>(frm_nxt - frm);
2243 return static_cast<int>(frm_nxt - frm);
2263 return static_cast<int>(frm_nxt - frm);
2267 return static_cast<int>(frm_nxt - frm);
2271 return static_cast<int>(frm_nxt - frm);
2288 return static_cast<int>(frm_nxt - frm);
2303 *to_nxt++ = static_cast<uint8_t>(0xEF);
2304 *to_nxt++ = static_cast<uint8_t>(0xBB);
2305 *to_nxt++ = static_cast<uint8_t>(0xBF);
2316 *to_nxt++ = static_cast<uint8_t>(wc);
2322 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc >> 6));
2323 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x03F));
2329 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc >> 12));
2330 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x0FC0) >> 6));
2331 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x003F));
2337 *to_nxt++ = static_cast<uint8_t>(0xF0 | (wc >> 18));
2338 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x03F000) >> 12));
2339 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x000FC0) >> 6));
2340 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x00003F));
2362 uint8_t c1 = static_cast<uint8_t>(*frm_nxt);
2367 *to_nxt = static_cast<uint32_t>(c1);
2381 uint32_t t = static_cast<uint32_t>(((c1 & 0x1F) << 6)
2411 uint32_t t = static_cast<uint32_t>(((c1 & 0x0F) << 12)
2443 uint32_t t = static_cast<uint32_t>(((c1 & 0x07) << 18)
2475 uint8_t c1 = static_cast<uint8_t>(*frm_nxt);
2504 return static_cast<int>(frm_nxt - frm);
2508 return static_cast<int>(frm_nxt - frm);
2512 return static_cast<int>(frm_nxt - frm);
2532 return static_cast<int>(frm_nxt - frm);
2536 return static_cast<int>(frm_nxt - frm);
2540 return static_cast<int>(frm_nxt - frm);
2555 return static_cast<int>(frm_nxt - frm);
2570 *to_nxt++ = static_cast<uint8_t>(0xEF);
2571 *to_nxt++ = static_cast<uint8_t>(0xBB);
2572 *to_nxt++ = static_cast<uint8_t>(0xBF);
2583 *to_nxt++ = static_cast<uint8_t>(wc);
2589 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc >> 6));
2590 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x03F));
2596 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc >> 12));
2597 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x0FC0) >> 6));
2598 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x003F));
2620 uint8_t c1 = static_cast<uint8_t>(*frm_nxt);
2625 *to_nxt = static_cast
2639 uint16_t t = static_cast<uint16_t>(((c1 & 0x1F) << 6)
2669 uint16_t t = static_cast<uint16_t>(((c1 & 0x0F) << 12)
2700 uint8_t c1 = static_cast<uint8_t>(*frm_nxt);
2729 return static_cast<int>(frm_nxt - frm);
2733 return static_cast<int>(frm_nxt - frm);
2737 return static_cast<int>(frm_nxt - frm);
2751 return static_cast<int>(frm_nxt - frm);
2766 *to_nxt++ = static_cast<uint8_t>(0xFE);
2767 *to_nxt++ = static_cast<uint8_t>(0xFF);
2778 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
2779 *to_nxt++ = static_cast<uint8_t>(wc);
2785 uint16_t t = static_cast<uint16_t>(
2789 *to_nxt++ = static_cast<uint8_t>(t >> 8);
2790 *to_nxt++ = static_cast<uint8_t>(t);
2791 t = static_cast<uint16_t>(0xDC00 | (wc & 0x03FF));
2792 *to_nxt++ = static_cast<uint8_t>(t >> 8);
2793 *to_nxt++ = static_cast<uint8_t>(t);
2814 uint16_t c1 = static_cast<uint16_t>(frm_nxt[0] << 8 | frm_nxt[1]);
2821 *to_nxt = static_cast<uint32_t>(c1);
2828 uint16_t c2 = static_cast<uint16_t>(frm_nxt[2] << 8 | frm_nxt[3]);
2831 uint32_t t = static_cast<uint32_t>(
2858 uint16_t c1 = static_cast<uint16_t>(frm_nxt[0] << 8 | frm_nxt[1]);
2871 uint16_t c2 = static_cast<uint16_t>(frm_nxt[2] << 8 | frm_nxt[3]);
2874 uint32_t t = static_cast<uint32_t>(
2883 return static_cast<int>(frm_nxt - frm);
2898 *to_nxt++ = static_cast<uint8_t>(0xFF);
2899 *to_nxt++ = static_cast<uint8_t>(0xFE);
2910 *to_nxt++ = static_cast<uint8_t>(wc);
2911 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
2917 uint16_t t = static_cast<uint16_t>(
2921 *to_nxt++ = static_cast<uint8_t>(t);
2922 *to_nxt++ = static_cast<uint8_t>(t >> 8);
2923 t = static_cast<uint16_t>(0xDC00 | (wc & 0x03FF));
2924 *to_nxt++ = static_cast<uint8_t>(t);
2925 *to_nxt++ = static_cast<uint8_t>(t >> 8);
2946 uint16_t c1 = static_cast<uint16_t>(frm_nxt[1] << 8 | frm_nxt[0]);
2953 *to_nxt = static_cast<uint32_t>(c1);
2960 uint16_t c2 = static_cast<uint16_t>(frm_nxt[3] << 8 | frm_nxt[2]);
2963 uint32_t t = static_cast<uint32_t>(
2990 uint16_t c1 = static_cast<uint16_t>(frm_nxt[1] << 8 | frm_nxt[0]);
3003 uint16_t c2 = static_cast<uint16_t>(frm_nxt[3] << 8 | frm_nxt[2]);
3006 uint32_t t = static_cast<uint32_t>(
3015 return static_cast<int>(frm_nxt - frm);
3030 *to_nxt++ = static_cast<uint8_t>(0xFE);
3031 *to_nxt++ = static_cast<uint8_t>(0xFF);
3040 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
3041 *to_nxt++ = static_cast<uint8_t>(wc);
3061 uint16_t c1 = static_cast<uint16_t>(frm_nxt[0] << 8 | frm_nxt[1]);
3084 uint16_t c1 = static_cast<uint16_t>(frm_nxt[0] << 8 | frm_nxt[1]);
3089 return static_cast<int>(frm_nxt - frm);
3104 *to_nxt++ = static_cast<uint8_t>(0xFF);
3105 *to_nxt++ = static_cast<uint8_t>(0xFE);
3114 *to_nxt++ = static_cast<uint8_t>(wc);
3115 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
3135 uint16_t c1 = static_cast<uint16_t>(frm_nxt[1] << 8 | frm_nxt[0]);
3159 uint16_t c1 = static_cast<uint16_t>(frm_nxt[1] << 8 | frm_nxt[0]);
3164 return static_cast<int>(frm_nxt - frm);
4422 if (static_cast<unsigned>(*__ig) != *__r)
4433 if (static_cast<unsigned>(*__ig) < __g_end[-1] || __g_end[-1] == 0)
5534 const char sign = static_cast<char>(money_base::sign);
5535 const char space = static_cast<char>(money_base::space);
5536 const char none = static_cast<char>(money_base::none);
5537 const char symbol = static_cast<char>(money_base::symbol);
5538 const char value = static_cast<char>(money_base::value);
6029 __decimal_point_ = static_cast<wchar_t>(*lc->mon_decimal_point);
6033 __thousands_sep_ = static_cast<wchar_t>(*lc->mon_thousands_sep);
6112 __decimal_point_ = static_cast<wchar_t>(*lc->mon_decimal_point);
6116 __thousands_sep_ = static_cast<wchar_t>(*lc->mon_thousands_sep);