• Home
  • Raw
  • Download

Lines Matching refs:cvt

28 void test_codecvt_in_n_m(const cvt_type& cvt, size_t n, size_t m)  in test_codecvt_in_n_m()  argument
53 std::codecvt_base::result r = cvt.in(mb, from, end, from_next, to, to_end, to_next); in test_codecvt_in_n_m()
55 int count = cvt.length(mb2, from, end, to_end - to); 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() argument
115 std::codecvt_base::result r = cvt.out(mb, from, from_end, from_next, to, to_end, to_next); in test_codecvt_out_n_m()
122 TEST(to_end - to_next < cvt.max_length()); 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() local
161 test_codecvt_in_n_m(cvt, i, j); in test_codecvt_conv()
162 test_codecvt_out_n_m(cvt, i, j); in test_codecvt_conv()
177 const cvt_type& 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::ok); in test_codecvt_err()
206 TEST(cvt.in(mb, from, from_end, from_next, to, to_end, to_next) == cvt_type::partial); in test_codecvt_err()
221 cvt_type::result res = cvt.out(mb, from, from_end, from_next, to, to_end, to_next); in test_codecvt_err()
255 TEST(cvt.out(mb, from, from_end, from_next, to, to_end, to_next) == cvt_type::ok); in test_codecvt_err()
267 const cvt_type& cvt = std::use_facet<cvt_type>(l); in codecvt_to_wide() local
279 cvt_type::result res = cvt.in(mb, from, from_end, from_next, to, to_end, to_next); in codecvt_to_wide()
294 const cvt_type& cvt = std::use_facet<cvt_type>(l); in codecvt_to_narrow() local
306 cvt_type::result res = cvt.out(mb, from, from_end, from_next, to, to_end, to_next); in codecvt_to_narrow()