Lines Matching refs:cvt
514 … codecvt<wchar_t, char, mbstate_t> const& cvt = use_facet<codecvt<wchar_t, char, mbstate_t> >(loc); in special_encodings() local
521 CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc, to_next) == codecvt_base::ok ); in special_encodings()
523 … CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc + 1, to_next) == codecvt_base::ok ); in special_encodings()
532 … codecvt<wchar_t, char, mbstate_t> const& cvt = use_facet<codecvt<wchar_t, char, mbstate_t> >(loc); in special_encodings() local
541 …int len = cvt.length(state, cp936_str.data(), cp936_str.data() + cp936_str.size(), sizeof(wbuf) / … in special_encodings()
546 res = cvt.in(state, cp936_str.data(), cp936_str.data() + cp936_str.size(), from_next, in special_encodings()
557 res = cvt.out(state, cp936_wstr.data(), cp936_wstr.data() + cp936_wstr.size(), from_next, in special_encodings()
572 … codecvt<wchar_t, char, mbstate_t> const& cvt = use_facet<codecvt<wchar_t, char, mbstate_t> >(loc); in special_encodings() local
581 …int len = cvt.length(state, utf8_str.data(), utf8_str.data() + utf8_str.size(), sizeof(wbuf) / siz… in special_encodings()
586 res = cvt.in(state, utf8_str.data(), utf8_str.data() + utf8_str.size(), from_next, in special_encodings()
600 res = cvt.in(state, from, from + length, from_next, in special_encodings()
632 res = cvt.out(state, utf8_wstr.data(), utf8_wstr.data() + utf8_wstr.size(), from_next, in special_encodings()
644 res = cvt.in(state, bad_utf8_str.data(), bad_utf8_str.data() + bad_utf8_str.size(), from_next, in special_encodings()