Searched refs:cnv1 (Results 1 – 6 of 6) sorted by relevance
/third_party/boost/libs/convert/example/ |
D | stream.cpp | 79 boost::cnv::cstream cnv1; in example6() local 83 string s1 = convert<string>(chg, cnv1, "bad"); // Input type (change) deduced in example6() 84 string s2 = convert<string, change>(change::dn, cnv1, "bad"); // Input type (change) enforced in example6() 86 BOOST_TEST(convert<change>("up", cnv1, change::no) == change::up); in example6()
|
D | getting_started.cpp | 101 boost::cnv::lexical_cast cnv1; in getting_started_example3() local 105 int i1 = convert<int>("123", cnv1).value(); in getting_started_example3()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | convtest.cpp | 716 LocalUConverterPointer cnv1(ucnv_open("UTF-8", errorCode)); in TestUTF8ToUTF8Overflow() local 732 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 742 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 754 ucnv_reset(cnv1.getAlias()); in TestUTF8ToUTF8Overflow() 765 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 775 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 787 ucnv_reset(cnv1.getAlias()); in TestUTF8ToUTF8Overflow() 796 …ucnv_setToUCallBack(cnv1.getAlias(), UCNV_TO_U_CALLBACK_STOP, nullptr, nullptr, nullptr, errorCode… in TestUTF8ToUTF8Overflow() 802 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 810 ucnv_getInvalidChars(cnv1.getAlias(), errorBytes, &errorLength, errorCode); in TestUTF8ToUTF8Overflow() [all …]
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | ccapitst.c | 2284 UConverter *cnv1, *cnv2; in TestConvertEx() local 2288 cnv1=ucnv_open("UTF-8", &errorCode); in TestConvertEx() 2297 ucnv_close(cnv1); in TestConvertEx() 2302 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx() 2306 convertExMultiStreaming(cnv2, cnv1, in TestConvertEx() 2311 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx() 2323 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx() 2339 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(shiftJIS), &src, NULL, in TestConvertEx() 2354 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx() 2363 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx() [all …]
|
D | nucnvtst.c | 4879 UConverter *cnv1; in TestLMBCS() local 4887 cnv1=ucnv_open(NAME_LMBCS_1, &errorCode); in TestLMBCS() 4899 get_name = ucnv_getName (cnv1, &errorCode); in TestLMBCS() 4909 ucnv_getSubstChars (cnv1, get_subchars, &len, &errorCode); in TestLMBCS() 4933 ucnv_close(cnv1); in TestLMBCS()
|
/third_party/boost/libs/convert/test/ |
D | strtol_converter.cpp | 294 boost::cnv::strtol cnv1; in compare() local 297 string s1 = convert<string>(pair.first, cnv1(arg::precision = pair.second)).value(); in compare()
|