Home | History | Annotate | Download | only in unit

Lines Matching refs:cdecvt_type

388     typedef codecvt<wchar_t, char, mbstate_t> cdecvt_type;
389 if (has_facet<cdecvt_type>(loc)) {
390 cdecvt_type const& cdect = use_facet<cdecvt_type>(loc);
392 cdecvt_type::state_type state;
393 memset(&state, 0, sizeof(cdecvt_type::state_type));
398 cdecvt_type::result res = cdect.in(state, from.data(), from.data() + from.size(), next_from,
400 CPPUNIT_ASSERT( res == cdecvt_type::ok );
406 cdecvt_type::state_type state;
407 memset(&state, 0, sizeof(cdecvt_type::state_type));
412 cdecvt_type::result res = cdect.out(state, from.data(), from.data() + from.size(), next_from,
414 CPPUNIT_ASSERT( res == cdecvt_type::ok );
435 typedef codecvt<wchar_t, char, mbstate_t> cdecvt_type;
436 if (has_facet<cdecvt_type>(loc)) {
437 cdecvt_type const& cdect = use_facet<cdecvt_type>(loc);
439 cdecvt_type::state_type state;
440 memset(&state, 0, sizeof(cdecvt_type::state_type));