Lines Matching refs:frm_end
1522 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
1527 for (; fend != frm_end; ++fend) in do_out()
1532 for (frm_nxt = frm; frm != frm_end && to != to_end; frm = frm_nxt, to = to_nxt) in do_out()
1556 if (fend != frm_end) // set up next null terminated sequence in do_out()
1569 for (fend = frm_nxt; fend != frm_end; ++fend) in do_out()
1574 return frm_nxt == frm_end ? ok : partial; in do_out()
1579 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
1584 for (; fend != frm_end; ++fend) in do_in()
1589 for (frm_nxt = frm; frm != frm_end && to != to_end; frm = frm_nxt, to = to_nxt) in do_in()
1619 return frm_nxt == frm_end ? ok : partial; in do_in()
1626 if (fend != frm_end) // set up next null terminated sequence in do_in()
1635 for (fend = frm_nxt; fend != frm_end; ++fend) in do_in()
1640 return frm_nxt == frm_end ? ok : partial; in do_in()
1680 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
1683 for (size_t nwchar_t = 0; nwchar_t < mx && frm != frm_end; ++nwchar_t) in do_length()
1685 size_t n = __libcpp_mbrlen_l(frm, static_cast<size_t>(frm_end-frm), &st, __l); in do_length()
1726 utf16_to_utf8(const uint16_t* frm, const uint16_t* frm_end, const uint16_t*& frm_nxt, in utf16_to_utf8() argument
1740 for (; frm_nxt < frm_end; ++frm_nxt) in utf16_to_utf8()
1768 if (frm_end-frm_nxt < 2) in utf16_to_utf8()
1803 utf16_to_utf8(const uint32_t* frm, const uint32_t* frm_end, const uint32_t*& frm_nxt, in utf16_to_utf8() argument
1817 for (; frm_nxt < frm_end; ++frm_nxt) in utf16_to_utf8()
1845 if (frm_end-frm_nxt < 2) in utf16_to_utf8()
1880 utf8_to_utf16(const uint8_t* frm, const uint8_t* frm_end, const uint8_t*& frm_nxt, in utf8_to_utf16() argument
1888 if (frm_end-frm_nxt >= 3 && frm_nxt[0] == 0xEF && frm_nxt[1] == 0xBB && in utf8_to_utf16()
1892 for (; frm_nxt < frm_end && to_nxt < to_end; ++to_nxt) in utf8_to_utf16()
1908 if (frm_end-frm_nxt < 2) in utf8_to_utf16()
1921 if (frm_end-frm_nxt < 3) in utf8_to_utf16()
1952 if (frm_end-frm_nxt < 4) in utf8_to_utf16()
1996 return frm_nxt < frm_end ? codecvt_base::partial : codecvt_base::ok; in utf8_to_utf16()
2001 utf8_to_utf16(const uint8_t* frm, const uint8_t* frm_end, const uint8_t*& frm_nxt, in utf8_to_utf16() argument
2009 if (frm_end-frm_nxt >= 3 && frm_nxt[0] == 0xEF && frm_nxt[1] == 0xBB && in utf8_to_utf16()
2013 for (; frm_nxt < frm_end && to_nxt < to_end; ++to_nxt) in utf8_to_utf16()
2029 if (frm_end-frm_nxt < 2) in utf8_to_utf16()
2042 if (frm_end-frm_nxt < 3) in utf8_to_utf16()
2073 if (frm_end-frm_nxt < 4) in utf8_to_utf16()
2117 return frm_nxt < frm_end ? codecvt_base::partial : codecvt_base::ok; in utf8_to_utf16()
2122 utf8_to_utf16_length(const uint8_t* frm, const uint8_t* frm_end, in utf8_to_utf16_length() argument
2129 if (frm_end-frm_nxt >= 3 && frm_nxt[0] == 0xEF && frm_nxt[1] == 0xBB && in utf8_to_utf16_length()
2133 for (size_t nchar16_t = 0; frm_nxt < frm_end && nchar16_t < mx; ++nchar16_t) in utf8_to_utf16_length()
2148 if ((frm_end-frm_nxt < 2) || (frm_nxt[1] & 0xC0) != 0x80) in utf8_to_utf16_length()
2157 if (frm_end-frm_nxt < 3) in utf8_to_utf16_length()
2184 if (frm_end-frm_nxt < 4 || mx-nchar16_t < 2) in utf8_to_utf16_length()
2223 ucs4_to_utf8(const uint32_t* frm, const uint32_t* frm_end, const uint32_t*& frm_nxt, in ucs4_to_utf8() argument
2237 for (; frm_nxt < frm_end; ++frm_nxt) in ucs4_to_utf8()
2278 utf8_to_ucs4(const uint8_t* frm, const uint8_t* frm_end, const uint8_t*& frm_nxt, in utf8_to_ucs4() argument
2286 if (frm_end-frm_nxt >= 3 && frm_nxt[0] == 0xEF && frm_nxt[1] == 0xBB && in utf8_to_ucs4()
2290 for (; frm_nxt < frm_end && to_nxt < to_end; ++to_nxt) in utf8_to_ucs4()
2306 if (frm_end-frm_nxt < 2) in utf8_to_ucs4()
2320 if (frm_end-frm_nxt < 3) in utf8_to_ucs4()
2351 if (frm_end-frm_nxt < 4) in utf8_to_ucs4()
2387 return frm_nxt < frm_end ? codecvt_base::partial : codecvt_base::ok; in utf8_to_ucs4()
2392 utf8_to_ucs4_length(const uint8_t* frm, const uint8_t* frm_end, in utf8_to_ucs4_length() argument
2399 if (frm_end-frm_nxt >= 3 && frm_nxt[0] == 0xEF && frm_nxt[1] == 0xBB && in utf8_to_ucs4_length()
2403 for (size_t nchar32_t = 0; frm_nxt < frm_end && nchar32_t < mx; ++nchar32_t) in utf8_to_ucs4_length()
2418 if ((frm_end-frm_nxt < 2) || ((frm_nxt[1] & 0xC0) != 0x80)) in utf8_to_ucs4_length()
2426 if (frm_end-frm_nxt < 3) in utf8_to_ucs4_length()
2453 if (frm_end-frm_nxt < 4) in utf8_to_ucs4_length()
2490 ucs2_to_utf8(const uint16_t* frm, const uint16_t* frm_end, const uint16_t*& frm_nxt, in ucs2_to_utf8() argument
2504 for (; frm_nxt < frm_end; ++frm_nxt) in ucs2_to_utf8()
2536 utf8_to_ucs2(const uint8_t* frm, const uint8_t* frm_end, const uint8_t*& frm_nxt, in utf8_to_ucs2() argument
2544 if (frm_end-frm_nxt >= 3 && frm_nxt[0] == 0xEF && frm_nxt[1] == 0xBB && in utf8_to_ucs2()
2548 for (; frm_nxt < frm_end && to_nxt < to_end; ++to_nxt) in utf8_to_ucs2()
2564 if (frm_end-frm_nxt < 2) in utf8_to_ucs2()
2578 if (frm_end-frm_nxt < 3) in utf8_to_ucs2()
2612 return frm_nxt < frm_end ? codecvt_base::partial : codecvt_base::ok; in utf8_to_ucs2()
2617 utf8_to_ucs2_length(const uint8_t* frm, const uint8_t* frm_end, in utf8_to_ucs2_length() argument
2624 if (frm_end-frm_nxt >= 3 && frm_nxt[0] == 0xEF && frm_nxt[1] == 0xBB && in utf8_to_ucs2_length()
2628 for (size_t nchar32_t = 0; frm_nxt < frm_end && nchar32_t < mx; ++nchar32_t) in utf8_to_ucs2_length()
2643 if ((frm_end-frm_nxt < 2) || ((frm_nxt[1] & 0xC0) != 0x80)) in utf8_to_ucs2_length()
2651 if (frm_end-frm_nxt < 3) in utf8_to_ucs2_length()
2686 ucs4_to_utf16be(const uint32_t* frm, const uint32_t* frm_end, const uint32_t*& frm_nxt, in ucs4_to_utf16be() argument
2699 for (; frm_nxt < frm_end; ++frm_nxt) in ucs4_to_utf16be()
2731 utf16be_to_ucs4(const uint8_t* frm, const uint8_t* frm_end, const uint8_t*& frm_nxt, in utf16be_to_ucs4() argument
2739 if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFE && frm_nxt[1] == 0xFF) in utf16be_to_ucs4()
2742 for (; frm_nxt < frm_end - 1 && to_nxt < to_end; ++to_nxt) in utf16be_to_ucs4()
2756 if (frm_end-frm_nxt < 4) in utf16be_to_ucs4()
2771 return frm_nxt < frm_end ? codecvt_base::partial : codecvt_base::ok; in utf16be_to_ucs4()
2776 utf16be_to_ucs4_length(const uint8_t* frm, const uint8_t* frm_end, in utf16be_to_ucs4_length() argument
2783 if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFE && frm_nxt[1] == 0xFF) in utf16be_to_ucs4_length()
2786 for (size_t nchar32_t = 0; frm_nxt < frm_end - 1 && nchar32_t < mx; ++nchar32_t) in utf16be_to_ucs4_length()
2799 if (frm_end-frm_nxt < 4) in utf16be_to_ucs4_length()
2818 ucs4_to_utf16le(const uint32_t* frm, const uint32_t* frm_end, const uint32_t*& frm_nxt, in ucs4_to_utf16le() argument
2831 for (; frm_nxt < frm_end; ++frm_nxt) in ucs4_to_utf16le()
2863 utf16le_to_ucs4(const uint8_t* frm, const uint8_t* frm_end, const uint8_t*& frm_nxt, in utf16le_to_ucs4() argument
2871 if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFF && frm_nxt[1] == 0xFE) in utf16le_to_ucs4()
2874 for (; frm_nxt < frm_end - 1 && to_nxt < to_end; ++to_nxt) in utf16le_to_ucs4()
2888 if (frm_end-frm_nxt < 4) in utf16le_to_ucs4()
2903 return frm_nxt < frm_end ? codecvt_base::partial : codecvt_base::ok; in utf16le_to_ucs4()
2908 utf16le_to_ucs4_length(const uint8_t* frm, const uint8_t* frm_end, in utf16le_to_ucs4_length() argument
2915 if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFF && frm_nxt[1] == 0xFE) in utf16le_to_ucs4_length()
2918 for (size_t nchar32_t = 0; frm_nxt < frm_end - 1 && nchar32_t < mx; ++nchar32_t) in utf16le_to_ucs4_length()
2931 if (frm_end-frm_nxt < 4) in utf16le_to_ucs4_length()
2950 ucs2_to_utf16be(const uint16_t* frm, const uint16_t* frm_end, const uint16_t*& frm_nxt, in ucs2_to_utf16be() argument
2963 for (; frm_nxt < frm_end; ++frm_nxt) in ucs2_to_utf16be()
2978 utf16be_to_ucs2(const uint8_t* frm, const uint8_t* frm_end, const uint8_t*& frm_nxt, in utf16be_to_ucs2() argument
2986 if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFE && frm_nxt[1] == 0xFF) in utf16be_to_ucs2()
2989 for (; frm_nxt < frm_end - 1 && to_nxt < to_end; ++to_nxt) in utf16be_to_ucs2()
2997 return frm_nxt < frm_end ? codecvt_base::partial : codecvt_base::ok; in utf16be_to_ucs2()
3002 utf16be_to_ucs2_length(const uint8_t* frm, const uint8_t* frm_end, in utf16be_to_ucs2_length() argument
3009 if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFE && frm_nxt[1] == 0xFF) in utf16be_to_ucs2_length()
3012 for (size_t nchar16_t = 0; frm_nxt < frm_end - 1 && nchar16_t < mx; ++nchar16_t) in utf16be_to_ucs2_length()
3024 ucs2_to_utf16le(const uint16_t* frm, const uint16_t* frm_end, const uint16_t*& frm_nxt, in ucs2_to_utf16le() argument
3037 for (; frm_nxt < frm_end; ++frm_nxt) in ucs2_to_utf16le()
3052 utf16le_to_ucs2(const uint8_t* frm, const uint8_t* frm_end, const uint8_t*& frm_nxt, in utf16le_to_ucs2() argument
3060 if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFF && frm_nxt[1] == 0xFE) in utf16le_to_ucs2()
3063 for (; frm_nxt < frm_end - 1 && to_nxt < to_end; ++to_nxt) in utf16le_to_ucs2()
3071 return frm_nxt < frm_end ? codecvt_base::partial : codecvt_base::ok; in utf16le_to_ucs2()
3076 utf16le_to_ucs2_length(const uint8_t* frm, const uint8_t* frm_end, in utf16le_to_ucs2_length() argument
3084 if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFF && frm_nxt[1] == 0xFE) in utf16le_to_ucs2_length()
3087 for (size_t nchar16_t = 0; frm_nxt < frm_end - 1 && nchar16_t < mx; ++nchar16_t) in utf16le_to_ucs2_length()
3107 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3111 const uint16_t* _frm_end = reinterpret_cast<const uint16_t*>(frm_end); in do_out()
3124 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3128 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3161 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3164 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3184 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3188 const uint32_t* _frm_end = reinterpret_cast<const uint32_t*>(frm_end); in do_out()
3201 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3205 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3238 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3241 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3255 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3260 const uint16_t* _frm_end = reinterpret_cast<const uint16_t*>(frm_end); in do_out()
3264 const uint32_t* _frm_end = reinterpret_cast<const uint32_t*>(frm_end); in do_out()
3284 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3288 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3330 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3333 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3349 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3353 const uint16_t* _frm_end = reinterpret_cast<const uint16_t*>(frm_end); in do_out()
3367 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3371 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3405 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3408 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3424 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3428 const uint32_t* _frm_end = reinterpret_cast<const uint32_t*>(frm_end); in do_out()
3442 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3446 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3480 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3483 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3499 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3503 const uint32_t* _frm_end = reinterpret_cast<const uint32_t*>(frm_end); in do_out()
3517 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3521 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3555 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3558 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3574 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3578 const uint32_t* _frm_end = reinterpret_cast<const uint32_t*>(frm_end); in do_out()
3592 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3596 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3630 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3633 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3649 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3653 const uint16_t* _frm_end = reinterpret_cast<const uint16_t*>(frm_end); in do_out()
3667 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3671 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3705 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3708 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3724 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3728 const uint16_t* _frm_end = reinterpret_cast<const uint16_t*>(frm_end); in do_out()
3742 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3746 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3780 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3783 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3799 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3803 const uint32_t* _frm_end = reinterpret_cast<const uint32_t*>(frm_end); in do_out()
3817 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3821 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3855 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3858 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3874 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3878 const uint32_t* _frm_end = reinterpret_cast<const uint32_t*>(frm_end); in do_out()
3892 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3896 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
3930 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
3933 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
3949 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
3953 const uint32_t* _frm_end = reinterpret_cast<const uint32_t*>(frm_end); in do_out()
3967 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
3971 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
4005 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
4008 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
4024 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
4028 const uint16_t* _frm_end = reinterpret_cast<const uint16_t*>(frm_end); in do_out()
4042 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
4046 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
4080 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
4083 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()
4099 const intern_type* frm, const intern_type* frm_end, const intern_type*& frm_nxt, in do_out() argument
4103 const uint32_t* _frm_end = reinterpret_cast<const uint32_t*>(frm_end); in do_out()
4117 const extern_type* frm, const extern_type* frm_end, const extern_type*& frm_nxt, in do_in() argument
4121 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_in()
4155 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() argument
4158 const uint8_t* _frm_end = reinterpret_cast<const uint8_t*>(frm_end); in do_length()