Home | History | Annotate | Download | only in unit

Lines Matching full:from_next

518     const char *from_next;
521 CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc, to_next) == codecvt_base::ok );
523 CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc + 1, to_next) == codecvt_base::ok );
544 const char *from_next;
546 res = cvt.in(state, cp936_str.data(), cp936_str.data() + cp936_str.size(), from_next,
549 CPPUNIT_ASSERT( from_next == cp936_str.data() + cp936_str.size() );
554 const wchar_t *from_next;
557 res = cvt.out(state, cp936_wstr.data(), cp936_wstr.data() + cp936_wstr.size(), from_next,
584 const char *from_next;
586 res = cvt.in(state, utf8_str.data(), utf8_str.data() + utf8_str.size(), from_next,
589 CPPUNIT_ASSERT( from_next == utf8_str.data() + utf8_str.size() );
596 from_next = utf8_str.data();
600 res = cvt.in(state, from, from + length, from_next,
605 from = from_next;
611 if (from_next == from)
612 // from_next hasn't move so we have to pass more chars
615 // char between from and from_next has been eaten, we simply restart
616 // conversion from from_next:
617 from = from_next;
629 const wchar_t *from_next;
632 res = cvt.out(state, utf8_wstr.data(), utf8_wstr.data() + utf8_wstr.size(), from_next,
642 const char *from_next;
644 res = cvt.in(state, bad_utf8_str.data(), bad_utf8_str.data() + bad_utf8_str.size(), from_next,