Lines Matching refs:mbstate_t

55 struct eater_codecvt : public codecvt<char, char, mbstate_t> {
56 typedef codecvt<char,char,mbstate_t> base;
62 do_in(mbstate_t& mb, in do_in()
116 virtual int do_length(mbstate_t &state, in do_length()
121 mbstate_t tmp = state; in do_length()
148 struct generator_codecvt : public codecvt<char, char, mbstate_t> {
149 typedef codecvt<char,char,mbstate_t> base;
155 do_in(mbstate_t& mb, in do_in()
236 virtual int do_length(mbstate_t &mb, in do_length()
248 mbstate_t tmpState = mb; in do_length()
390 typedef codecvt<wchar_t, char, mbstate_t> cdecvt_type; in in_out_test()
437 typedef codecvt<wchar_t, char, mbstate_t> cdecvt_type; in length_test()
458 typedef std::codecvt<wchar_t, char, mbstate_t> my_codecvt_base;
513 locale loc(locale::classic(), new codecvt_byname<wchar_t, char, mbstate_t>("C")); in special_encodings()
514 … codecvt<wchar_t, char, mbstate_t> const& cvt = use_facet<codecvt<wchar_t, char, mbstate_t> >(loc); in special_encodings()
515 mbstate_t state; in special_encodings()
516 memset(&state, 0, sizeof(mbstate_t)); in special_encodings()
532 … codecvt<wchar_t, char, mbstate_t> const& cvt = use_facet<codecvt<wchar_t, char, mbstate_t> >(loc); in special_encodings()
533 mbstate_t state; in special_encodings()
534 memset(&state, 0, sizeof(mbstate_t)); in special_encodings()
571 locale loc(locale::classic(), new codecvt_byname<wchar_t, char, mbstate_t>(".utf8")); in special_encodings()
572 … codecvt<wchar_t, char, mbstate_t> const& cvt = use_facet<codecvt<wchar_t, char, mbstate_t> >(loc); in special_encodings()
573 mbstate_t state; in special_encodings()
574 memset(&state, 0, sizeof(mbstate_t)); in special_encodings()