Lines Matching defs:to_nxt

1301     extern_type*& to_nxt) const {
1303 to_nxt = to;
1314 intern_type*& to_nxt) const {
1316 to_nxt = to;
1321 codecvt<char, char, mbstate_t>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
1322 to_nxt = to;
1366 extern_type*& to_nxt) const {
1373 to_nxt = to;
1374 for (frm_nxt = frm; frm != frm_end && to != to_end; frm = frm_nxt, to = to_nxt) {
1375 // save state in case it is needed to recover to_nxt on error
1380 // need to recover to_nxt
1381 for (to_nxt = to; frm != frm_nxt; ++frm) {
1382 n = __locale::__wcrtomb(to_nxt, *frm, &save_state, __l_);
1385 to_nxt += n;
1392 to_nxt += n;
1393 if (to_nxt == to_end)
1402 if (n > static_cast<size_t>(to_end - to_nxt)) // is there room?
1405 *to_nxt++ = *p++;
1423 intern_type*& to_nxt) const {
1430 to_nxt = to;
1431 for (frm_nxt = frm; frm != frm_end && to != to_end; frm = frm_nxt, to = to_nxt) {
1432 // save state in case it is needed to recover to_nxt on error
1437 // need to recover to_nxt
1438 for (to_nxt = to; frm != frm_nxt; ++to_nxt) {
1439 n = __locale::__mbrtowc(to_nxt, frm, static_cast<size_t>(fend - frm), &save_state, __l_);
1460 to_nxt += n;
1461 if (to_nxt == to_end)
1466 n = __locale::__mbrtowc(to_nxt, frm_nxt, 1, &st, __l_);
1469 ++to_nxt;
1481 state_type& st, extern_type* to, extern_type* to_end, extern_type*& to_nxt) const {
1482 to_nxt = to;
1488 if (n > static_cast<size_t>(to_end - to_nxt)) // is there room?
1491 *to_nxt++ = *p++;
1555 uint8_t*& to_nxt,
1559 to_nxt = to;
1561 if (to_end - to_nxt < 3)
1563 *to_nxt++ = static_cast<uint8_t>(0xEF);
1564 *to_nxt++ = static_cast<uint8_t>(0xBB);
1565 *to_nxt++ = static_cast<uint8_t>(0xBF);
1572 if (to_end - to_nxt < 1)
1574 *to_nxt++ = static_cast<uint8_t>(wc1);
1576 if (to_end - to_nxt < 2)
1578 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc1 >> 6));
1579 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x03F));
1581 if (to_end - to_nxt < 3)
1583 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12));
1584 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6));
1585 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x003F));
1592 if (to_end - to_nxt < 4)
1598 *to_nxt++ = static_cast<uint8_t>(0xF0 | (z >> 2));
1599 *to_nxt++ = static_cast<uint8_t>(0x80 | ((z & 0x03) << 4) | ((wc1 & 0x003C) >> 2));
1600 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6));
1601 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F));
1605 if (to_end - to_nxt < 3)
1607 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12));
1608 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6));
1609 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x003F));
1621 uint8_t*& to_nxt,
1625 to_nxt = to;
1627 if (to_end - to_nxt < 3)
1629 *to_nxt++ = static_cast<uint8_t>(0xEF);
1630 *to_nxt++ = static_cast<uint8_t>(0xBB);
1631 *to_nxt++ = static_cast<uint8_t>(0xBF);
1638 if (to_end - to_nxt < 1)
1640 *to_nxt++ = static_cast<uint8_t>(wc1);
1642 if (to_end - to_nxt < 2)
1644 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc1 >> 6));
1645 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x03F));
1647 if (to_end - to_nxt < 3)
1649 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12));
1650 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6));
1651 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x003F));
1658 if (to_end - to_nxt < 4)
1664 *to_nxt++ = static_cast<uint8_t>(0xF0 | (z >> 2));
1665 *to_nxt++ = static_cast<uint8_t>(0x80 | ((z & 0x03) << 4) | ((wc1 & 0x003C) >> 2));
1666 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6));
1667 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F));
1671 if (to_end - to_nxt < 3)
1673 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12));
1674 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6));
1675 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x003F));
1687 uint16_t*& to_nxt,
1691 to_nxt = to;
1696 for (; frm_nxt < frm_end && to_nxt < to_end; ++to_nxt) {
1701 *to_nxt = static_cast<uint16_t>(c1);
1714 *to_nxt = t;
1742 *to_nxt = t;
1772 if (to_end - to_nxt < 2)
1776 *to_nxt = static_cast<uint16_t>(
1778 *++to_nxt = static_cast<uint16_t>(0xDC00 | ((c3 & 0x0F) << 6) | (c4 & 0x3F));
1793 uint32_t*& to_nxt,
1797 to_nxt = to;
1802 for (; frm_nxt < frm_end && to_nxt < to_end; ++to_nxt) {
1807 *to_nxt = static_cast<uint32_t>(c1);
1820 *to_nxt = static_cast<uint32_t>(t);
1848 *to_nxt = static_cast<uint32_t>(t);
1878 if (to_end - to_nxt < 2)
1882 *to_nxt = static_cast<uint32_t>(
1884 *++to_nxt = static_cast<uint32_t>(0xDC00 | ((c3 & 0x0F) << 6) | (c4 & 0x3F));
1982 uint8_t*& to_nxt,
1986 to_nxt = to;
1988 if (to_end - to_nxt < 3)
1990 *to_nxt++ = static_cast<uint8_t>(0xEF);
1991 *to_nxt++ = static_cast<uint8_t>(0xBB);
1992 *to_nxt++ = static_cast<uint8_t>(0xBF);
1999 if (to_end - to_nxt < 1)
2001 *to_nxt++ = static_cast<uint8_t>(wc);
2003 if (to_end - to_nxt < 2)
2005 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc >> 6));
2006 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x03F));
2008 if (to_end - to_nxt < 3)
2010 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc >> 12));
2011 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x0FC0) >> 6));
2012 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x003F));
2015 if (to_end - to_nxt < 4)
2017 *to_nxt++ = static_cast<uint8_t>(0xF0 | (wc >> 18));
2018 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x03F000) >> 12));
2019 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x000FC0) >> 6));
2020 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x00003F));
2032 uint32_t*& to_nxt,
2036 to_nxt = to;
2041 for (; frm_nxt < frm_end && to_nxt < to_end; ++to_nxt) {
2046 *to_nxt = static_cast<uint32_t>(c1);
2059 *to_nxt = t;
2087 *to_nxt = t;
2120 *to_nxt = t;
2216 uint8_t*& to_nxt,
2220 to_nxt = to;
2222 if (to_end - to_nxt < 3)
2224 *to_nxt++ = static_cast<uint8_t>(0xEF);
2225 *to_nxt++ = static_cast<uint8_t>(0xBB);
2226 *to_nxt++ = static_cast<uint8_t>(0xBF);
2233 if (to_end - to_nxt < 1)
2235 *to_nxt++ = static_cast<uint8_t>(wc);
2237 if (to_end - to_nxt < 2)
2239 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc >> 6));
2240 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x03F));
2243 if (to_end - to_nxt < 3)
2245 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc >> 12));
2246 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x0FC0) >> 6));
2247 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x003F));
2259 uint16_t*& to_nxt,
2263 to_nxt = to;
2268 for (; frm_nxt < frm_end && to_nxt < to_end; ++to_nxt) {
2273 *to_nxt = static_cast<uint16_t>(c1);
2286 *to_nxt = t;
2314 *to_nxt = t;
2385 uint8_t*& to_nxt,
2389 to_nxt = to;
2391 if (to_end - to_nxt < 2)
2393 *to_nxt++ = static_cast<uint8_t>(0xFE);
2394 *to_nxt++ = static_cast<uint8_t>(0xFF);
2401 if (to_end - to_nxt < 2)
2403 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
2404 *to_nxt++ = static_cast<uint8_t>(wc);
2406 if (to_end - to_nxt < 4)
2409 *to_nxt++ = static_cast<uint8_t>(t >> 8);
2410 *to_nxt++ = static_cast<uint8_t>(t);
2412 *to_nxt++ = static_cast<uint8_t>(t >> 8);
2413 *to_nxt++ = static_cast<uint8_t>(t);
2425 uint32_t*& to_nxt,
2429 to_nxt = to;
2434 for (; frm_nxt < frm_end - 1 && to_nxt < to_end; ++to_nxt) {
2441 *to_nxt = static_cast<uint32_t>(c1);
2452 *to_nxt = t;
2499 uint8_t*& to_nxt,
2503 to_nxt = to;
2505 if (to_end - to_nxt < 2)
2507 *to_nxt++ = static_cast<uint8_t>(0xFF);
2508 *to_nxt++ = static_cast<uint8_t>(0xFE);
2515 if (to_end - to_nxt < 2)
2517 *to_nxt++ = static_cast<uint8_t>(wc);
2518 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
2520 if (to_end - to_nxt < 4)
2523 *to_nxt++ = static_cast<uint8_t>(t);
2524 *to_nxt++ = static_cast<uint8_t>(t >> 8);
2526 *to_nxt++ = static_cast<uint8_t>(t);
2527 *to_nxt++ = static_cast<uint8_t>(t >> 8);
2539 uint32_t*& to_nxt,
2543 to_nxt = to;
2548 for (; frm_nxt < frm_end - 1 && to_nxt < to_end; ++to_nxt) {
2555 *to_nxt = static_cast<uint32_t>(c1);
2566 *to_nxt = t;
2613 uint8_t*& to_nxt,
2617 to_nxt = to;
2619 if (to_end - to_nxt < 2)
2621 *to_nxt++ = static_cast<uint8_t>(0xFE);
2622 *to_nxt++ = static_cast<uint8_t>(0xFF);
2628 if (to_end - to_nxt < 2)
2630 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
2631 *to_nxt++ = static_cast<uint8_t>(wc);
2642 uint16_t*& to_nxt,
2646 to_nxt = to;
2651 for (; frm_nxt < frm_end - 1 && to_nxt < to_end; ++to_nxt) {
2655 *to_nxt = c1;
2687 uint8_t*& to_nxt,
2691 to_nxt = to;
2693 if (to_end - to_nxt < 2)
2695 *to_nxt++ = static_cast<uint8_t>(0xFF);
2696 *to_nxt++ = static_cast<uint8_t>(0xFE);
2702 if (to_end - to_nxt < 2)
2704 *to_nxt++ = static_cast<uint8_t>(wc);
2705 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
2716 uint16_t*& to_nxt,
2720 to_nxt = to;
2725 for (; frm_nxt < frm_end - 1 && to_nxt < to_end; ++to_nxt) {
2729 *to_nxt = c1;
2771 extern_type*& to_nxt) const {
2780 to_nxt = to + (_to_nxt - _to);
2791 intern_type*& to_nxt) const {
2800 to_nxt = to + (_to_nxt - _to);
2805 codecvt<char16_t, char, mbstate_t>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
2806 to_nxt = to;
2838 extern_type*& to_nxt) const {
2847 to_nxt = to + (_to_nxt - _to);
2858 intern_type*& to_nxt) const {
2867 to_nxt = to + (_to_nxt - _to);
2872 state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
2873 to_nxt = to;
2905 extern_type*& to_nxt) const {
2914 to_nxt = to + (_to_nxt - _to);
2925 intern_type*& to_nxt) const {
2934 to_nxt = to + (_to_nxt - _to);
2939 codecvt<char32_t, char, mbstate_t>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
2940 to_nxt = to;
2972 extern_type*& to_nxt) const {
2981 to_nxt = to + (_to_nxt - _to);
2992 intern_type*& to_nxt) const {
3001 to_nxt = to + (_to_nxt - _to);
3006 state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3007 to_nxt = to;
3036 extern_type*& to_nxt) const {
3055 to_nxt = to + (_to_nxt - _to);
3066 intern_type*& to_nxt) const {
3082 to_nxt = to + (_to_nxt - _to);
3087 __codecvt_utf8<wchar_t>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3088 to_nxt = to;
3130 extern_type*& to_nxt) const {
3139 to_nxt = to + (_to_nxt - _to);
3150 intern_type*& to_nxt) const {
3159 to_nxt = to + (_to_nxt - _to);
3164 __codecvt_utf8<char16_t>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3165 to_nxt = to;
3197 extern_type*& to_nxt) const {
3206 to_nxt = to + (_to_nxt - _to);
3217 intern_type*& to_nxt) const {
3226 to_nxt = to + (_to_nxt - _to);
3231 __codecvt_utf8<char32_t>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3232 to_nxt = to;
3265 extern_type*& to_nxt) const {
3284 to_nxt = to + (_to_nxt - _to);
3295 intern_type*& to_nxt) const {
3311 to_nxt = to + (_to_nxt - _to);
3316 __codecvt_utf16<wchar_t, false>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3317 to_nxt = to;
3357 extern_type*& to_nxt) const {
3376 to_nxt = to + (_to_nxt - _to);
3387 intern_type*& to_nxt) const {
3403 to_nxt = to + (_to_nxt - _to);
3408 __codecvt_utf16<wchar_t, true>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3409 to_nxt = to;
3450 extern_type*& to_nxt) const {
3459 to_nxt = to + (_to_nxt - _to);
3470 intern_type*& to_nxt) const {
3479 to_nxt = to + (_to_nxt - _to);
3484 __codecvt_utf16<char16_t, false>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3485 to_nxt = to;
3517 extern_type*& to_nxt) const {
3526 to_nxt = to + (_to_nxt - _to);
3537 intern_type*& to_nxt) const {
3546 to_nxt = to + (_to_nxt - _to);
3551 __codecvt_utf16<char16_t, true>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3552 to_nxt = to;
3584 extern_type*& to_nxt) const {
3593 to_nxt = to + (_to_nxt - _to);
3604 intern_type*& to_nxt) const {
3613 to_nxt = to + (_to_nxt - _to);
3618 __codecvt_utf16<char32_t, false>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3619 to_nxt = to;
3651 extern_type*& to_nxt) const {
3660 to_nxt = to + (_to_nxt - _to);
3671 intern_type*& to_nxt) const {
3680 to_nxt = to + (_to_nxt - _to);
3685 __codecvt_utf16<char32_t, true>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3686 to_nxt = to;
3719 extern_type*& to_nxt) const {
3734 to_nxt = to + (_to_nxt - _to);
3745 intern_type*& to_nxt) const {
3760 to_nxt = to + (_to_nxt - _to);
3765 __codecvt_utf8_utf16<wchar_t>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3766 to_nxt = to;
3797 extern_type*& to_nxt) const {
3806 to_nxt = to + (_to_nxt - _to);
3817 intern_type*& to_nxt) const {
3826 to_nxt = to + (_to_nxt - _to);
3831 __codecvt_utf8_utf16<char16_t>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3832 to_nxt = to;
3864 extern_type*& to_nxt) const {
3873 to_nxt = to + (_to_nxt - _to);
3884 intern_type*& to_nxt) const {
3893 to_nxt = to + (_to_nxt - _to);
3898 __codecvt_utf8_utf16<char32_t>::do_unshift(state_type&, extern_type* to, extern_type*, extern_type*& to_nxt) const {
3899 to_nxt = to;