Searched refs:cvt_type (Results 1 – 3 of 3) sorted by relevance
/third_party/boost/libs/nowide/test/ |
D | test_codecvt.cpp | 26 typedef std::codecvt<wchar_t, char, std::mbstate_t> cvt_type; typedef 28 void test_codecvt_in_n_m(const cvt_type& cvt, size_t n, size_t m) in test_codecvt_in_n_m() 67 if(r == cvt_type::partial) in test_codecvt_in_n_m() 73 TEST(r == cvt_type::ok); in test_codecvt_in_n_m() 87 void test_codecvt_out_n_m(const cvt_type& cvt, size_t n, size_t m) in test_codecvt_out_n_m() 116 if(r == cvt_type::partial) in test_codecvt_out_n_m() 129 TEST(r == cvt_type::ok); in test_codecvt_out_n_m() 142 TEST(cvt.unshift(mb, to, to + n, to_next) == cvt_type::ok); in test_codecvt_out_n_m() 151 const cvt_type& cvt = std::use_facet<cvt_type>(l); in test_codecvt_conv() 177 const cvt_type& cvt = std::use_facet<cvt_type>(l); in test_codecvt_err() [all …]
|
/third_party/boost/libs/locale/test/ |
D | test_codecvt.cpp | 33 typedef std::codecvt<wchar_t,char,std::mbstate_t> cvt_type; typedef 35 void test_codecvt_in_n_m(cvt_type const &cvt,int n,int m) in test_codecvt_in_n_m() 74 if(r == cvt_type::partial) { in test_codecvt_in_n_m() 80 TEST(r == cvt_type::ok); in test_codecvt_in_n_m() 94 void test_codecvt_out_n_m(cvt_type const &cvt,int n,int m) in test_codecvt_out_n_m() 122 if(r == cvt_type::partial) { in test_codecvt_out_n_m() 129 TEST(r == cvt_type::ok); in test_codecvt_out_n_m() 141 TEST(cvt.unshift(mb,to,to+n,to_next)==cvt_type::ok); in test_codecvt_out_n_m() 152 cvt_type const &cvt = std::use_facet<cvt_type>(l); in test_codecvt_conv() 175 cvt_type const &cvt = std::use_facet<cvt_type>(l); in test_codecvt_err() [all …]
|
/third_party/boost/libs/locale/src/icu/ |
D | uconv.hpp | 72 icu_std_converter(std::string charset,cpcvt_type cvt_type = cvt_skip) : in icu_std_converter() argument 74 cvt_type_(cvt_type) in icu_std_converter() 76 uconv cvt(charset_,cvt_type); in icu_std_converter() 92 uconv(std::string const &charset,cpcvt_type cvt_type=cvt_skip) in uconv() 103 if(cvt_type==cvt_skip) { in uconv()
|