• Home
  • Raw
  • Download

Lines Matching refs:to_end

54         wchar_t *to_end = to + m;  in test_codecvt_in_n_m()  local
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()
108 char *to_end = to + n; in test_codecvt_out_n_m() local
116 if(to_end == to) { in test_codecvt_out_n_m()
117 to_end = to+n; in test_codecvt_out_n_m()
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()
124 to_end += n; in test_codecvt_out_n_m()
125 if(to_end > real_to_end) in test_codecvt_out_n_m()
126 to_end = real_to_end; in test_codecvt_out_n_m()
182 wchar_t *to_end = buf+2; 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()
213 char *to_end = buf+32; in test_codecvt_err() local
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()
254 char *to_end = buf+1; in test_char_char() local
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()