• Home
  • Raw
  • Download

Lines Matching refs:cvt

35 void test_codecvt_in_n_m(cvt_type const &cvt,int n,int m)  in test_codecvt_in_n_m()  argument
59 std::codecvt_base::result r = cvt.in(mb,from,end,from_next,to,to_end,to_next); in test_codecvt_in_n_m()
62 int count = cvt.length(mb2,from,end,to_end - to); 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() argument
120 std::codecvt_base::result r = cvt.out(mb,from,from_end,from_next,to,to_end,to_next); in test_codecvt_out_n_m()
123 TEST(to_end - to_next < cvt.max_length()); 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() local
154 TEST(cvt.max_length()==4); in test_codecvt_conv()
159 test_codecvt_in_n_m(cvt,i,j); in test_codecvt_conv()
160 test_codecvt_out_n_m(cvt,i,j); in test_codecvt_conv()
175 cvt_type const &cvt = std::use_facet<cvt_type>(l); in test_codecvt_err() local
191 TEST(cvt.in(mb,from,from_end,from_next,to,to_end,to_next)==cvt_type::error); in test_codecvt_err()
202 TEST(cvt.in(mb,from,from_end,from_next,to,to_end,to_next)==cvt_type::error); in test_codecvt_err()
222 TEST(cvt.out(mb,from,from_end,from_next,to,to_end,to_next)==cvt_type::error); in test_codecvt_err()
234 TEST(cvt.out(mb,from,from_end,from_next,to,to_end,to_next)==cvt_type::error); in test_codecvt_err()
247 …std::codecvt<char,char,std::mbstate_t> const &cvt=std::use_facet<std::codecvt<char,char,std::mbsta… in test_char_char() local
256 TEST(cvt.always_noconv()==true); in test_char_char()
257 TEST(cvt.in(mb,from,from_end,from_next,to,to_end,to_next)==cvt_type::noconv); in test_char_char()
260 TEST(cvt.out(mb,from,from_end,from_next,to,to_end,to_next)==cvt_type::noconv); in test_char_char()
263 TEST(cvt.encoding()==1); in test_char_char()
264 TEST(cvt.max_length()==1); in test_char_char()