Lines Matching refs:to_end
49 wchar_t* to_end = to + m; in test_codecvt_in_n_m() local
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()
101 char* to_end = to + n; in test_codecvt_out_n_m() local
110 if(to_end == to) in test_codecvt_out_n_m()
112 to_end = to + n; in test_codecvt_out_n_m()
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()
123 to_end += n; in test_codecvt_out_n_m()
124 if(to_end > real_to_end) in test_codecvt_out_n_m()
125 to_end = real_to_end; in test_codecvt_out_n_m()
184 wchar_t* const to_end = buf + 4; 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()
194 TEST(std::wstring(to, to_end) == boost::nowide::widen(err_utf)); in test_codecvt_err()
199 wchar_t* const to_end = buf + 4; in test_codecvt_err() local
206 TEST(cvt.in(mb, from, from_end, from_next, to, to_end, to_next) == cvt_type::partial); in test_codecvt_err()
214 char* const to_end = buf + 4; in test_codecvt_err() local
221 cvt_type::result res = cvt.out(mb, from, from_end, from_next, to, to_end, to_next); in test_codecvt_err()
246 char* to_end = buf + 32; in test_codecvt_err() local
255 TEST(cvt.out(mb, from, from_end, from_next, to, to_end, to_next) == cvt_type::ok); in test_codecvt_err()
276 wchar_t* const to_end = to + buf.size(); 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()
282 TEST(to_next < to_end); in codecvt_to_wide()
303 char* const to_end = to + buf.size(); 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()
309 TEST(to_next < to_end); in codecvt_to_narrow()