Lines Matching refs:from
396 string from("abcdef"); in in_out_test() local
400 cdecvt_type::result res = cdect.in(state, from.data(), from.data() + from.size(), next_from, in in_out_test()
403 CPPUNIT_ASSERT( next_from == from.data() + 1 ); in in_out_test()
410 wstring from(L"abcdef"); in in_out_test() local
414 … cdecvt_type::result res = cdect.out(state, from.data(), from.data() + from.size(), next_from, in in_out_test()
417 CPPUNIT_ASSERT( next_from == from.data() + 1 ); in in_out_test()
443 string from("abcdef"); in length_test() local
444 int res = cdect.length(state, from.data(), from.data() + from.size(), from.size()); in length_test()
445 CPPUNIT_ASSERT( (size_t)res == from.size() ); in length_test()
594 const char* from = utf8_str.data(); in special_encodings() local
595 const char* from_end = from + utf8_str.size(); in special_encodings()
599 while (from + length <= from_end) { in special_encodings()
600 res = cvt.in(state, from, from + length, from_next, in special_encodings()
605 from = from_next; in special_encodings()
611 if (from_next == from) in special_encodings()
617 from = from_next; in special_encodings()