Lines Matching refs:cdecvt_type
390 typedef codecvt<wchar_t, char, mbstate_t> cdecvt_type;
391 if (has_facet<cdecvt_type>(loc)) {
392 cdecvt_type const& cdect = use_facet<cdecvt_type>(loc);
394 cdecvt_type::state_type state;
395 memset(&state, 0, sizeof(cdecvt_type::state_type));
400 cdecvt_type::result res = cdect.in(state, from.data(), from.data() + from.size(), next_from,
402 CPPUNIT_ASSERT( res == cdecvt_type::ok );
408 cdecvt_type::state_type state;
409 memset(&state, 0, sizeof(cdecvt_type::state_type));
414 cdecvt_type::result res = cdect.out(state, from.data(), from.data() + from.size(), next_from,
416 CPPUNIT_ASSERT( res == cdecvt_type::ok );
437 typedef codecvt<wchar_t, char, mbstate_t> cdecvt_type;
438 if (has_facet<cdecvt_type>(loc)) {
439 cdecvt_type const& cdect = use_facet<cdecvt_type>(loc);
441 cdecvt_type::state_type state;
442 memset(&state, 0, sizeof(cdecvt_type::state_type));