Home | History | Annotate | Download | only in unit

Lines Matching defs:from_next

516     const char *from_next;
519 CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc, to_next) == codecvt_base::ok );
521 CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc + 1, to_next) == codecvt_base::ok );
542 const char *from_next;
544 res = cvt.in(state, cp936_str.data(), cp936_str.data() + cp936_str.size(), from_next,
547 CPPUNIT_ASSERT( from_next == cp936_str.data() + cp936_str.size() );
552 const wchar_t *from_next;
555 res = cvt.out(state, cp936_wstr.data(), cp936_wstr.data() + cp936_wstr.size(), from_next,
582 const char *from_next;
584 res = cvt.in(state, utf8_str.data(), utf8_str.data() + utf8_str.size(), from_next,
587 CPPUNIT_ASSERT( from_next == utf8_str.data() + utf8_str.size() );
594 from_next = utf8_str.data();
598 res = cvt.in(state, from, from + length, from_next,
603 from = from_next;
609 if (from_next == from)
610 // from_next hasn't move so we have to pass more chars
613 // char between from and from_next has been eaten, we simply restart
614 // conversion from from_next:
615 from = from_next;
627 const wchar_t *from_next;
630 res = cvt.out(state, utf8_wstr.data(), utf8_wstr.data() + utf8_wstr.size(), from_next,
640 const char *from_next;
642 res = cvt.in(state, bad_utf8_str.data(), bad_utf8_str.data() + bad_utf8_str.size(), from_next,