Home
last modified time | relevance | path

Searched refs:u_strToUTF8 (Results 1 – 25 of 48) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dspooftest.c454 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodLatin, -1, &status); in TestUSpoofCAPI()
462 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodCyrl, -1, &status); in TestUSpoofCAPI()
468 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, scMixed, -1, &status); in TestUSpoofCAPI()
516 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodLatin, -1, &status); in TestUSpoofCAPI()
556 u_strToUTF8(s1, sizeof(s1), NULL, scLatin, -1, &status); in TestUSpoofCAPI()
557 u_strToUTF8(s2, sizeof(s2), NULL, scMixed, -1, &status); in TestUSpoofCAPI()
563 u_strToUTF8(s1, sizeof(s1), NULL, goodGreek, -1, &status); in TestUSpoofCAPI()
564 u_strToUTF8(s2, sizeof(s2), NULL, scLatin, -1, &status); in TestUSpoofCAPI()
570 u_strToUTF8(s1, sizeof(s1), NULL, lll_Latin_a, -1, &status); in TestUSpoofCAPI()
571 u_strToUTF8(s2, sizeof(s2), NULL, lll_Latin_b, -1, &status); in TestUSpoofCAPI()
Dnfsprep.c106 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); in nfs4_prepare()
115 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); in nfs4_prepare()
Dcustrtrn.c526 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
534 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
608 u_strToUTF8(NULL,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
614 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
689 …(err=U_ZERO_ERROR, u_strToUTF8(out8, UPRV_LENGTHOF(out8), NULL, withLead16, UPRV_LENGTHOF(withLead… in Test_UChar_UTF8_API()
690 …(err=U_ZERO_ERROR, u_strToUTF8(out8, UPRV_LENGTHOF(out8), NULL, withTrail16, -1, &err), err!=U_INV… in Test_UChar_UTF8_API()
2060 u_strToUTF8(dest8, UPRV_LENGTHOF(dest8), &length, NULL, 0, &errorCode); in TestNullEmptySource()
Dcdateintervalformattest.c350 u_strToUTF8(bbuf, kSizeBBuf, NULL, ubuf, ulen, &status); in TestFPos_SkelWithSeconds()
351u_strToUTF8(bebuf, kSizeBBuf, NULL, uebuf, uelen, &status); // convert back to get unescaped string in TestFPos_SkelWithSeconds()
Dcstrcase.c984u_strToUTF8(utf8BeforeTitle, (int32_t)sizeof(utf8BeforeTitle), &utf8BeforeTitleLength, beforeTitle… in TestUCaseMapToTitle()
985u_strToUTF8(utf8TitleSentNoLower, (int32_t)sizeof(utf8TitleSentNoLower), &utf8TitleSentNoLowerLeng… in TestUCaseMapToTitle()
Dspreptst.c309 u_strToUTF8(dest, destCapacity, &destLen, b1, b1Len, status); in unescapeData()
Dcallcoll.c311 u_strToUTF8(utf8Source, 256, &utf8SourceLen, source, sLen, &status); in doTestVariant()
315 u_strToUTF8(utf8Target, 256, &utf8TargetLen, target, tLen, &status); in doTestVariant()
/external/icu/icu4c/source/test/perf/utrie2perf/
Dutrie2perf.cpp63 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); in UTrie2PerfTest()
68 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UTrie2PerfTest()
/external/icu/icu4c/source/test/thaitest/
Dthaitest.cpp411 printf("%s", u_strToUTF8(outbuf, sizeof(outbuf), &strlength, &bom, 1, &status)); in generateFile()
418 printf("%s", u_strToUTF8(outbuf, sizeof(outbuf), &strlength, &chars[prevbreak], in generateFile()
/external/icing/icing/util/
Di18n-utils.cc57 u_strToUTF8(&utf8_string[0], utf8_string.length(), &result_length, in Utf16ToUtf8()
/external/icu/icu4c/source/test/perf/unisetperf/
Dunisetperf.cpp70 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); in UnicodeSetPerformanceTest()
75 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UnicodeSetPerformanceTest()
/external/icu/tools/icu4c_srcgen/
Dlibandroidicu_allowlisted_api.txt56 u_strToUTF8
Dlibicu_export.txt100 u_strToUTF8
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp166 u_strToUTF8(utf8Source, 256, &utf8SourceLen, src, sLen, &status); in doTestVariant()
170 u_strToUTF8(utf8Target, 256, &utf8TargetLen, trg, tLen, &status); in doTestVariant()
Dtufmtts.cpp423 u_strToUTF8(tmp, 128, &len, str.getTerminatedBuffer(), str.length(), &status); in testGreekWithFallback()
424u_strToUTF8(tmp1, 128, &len, expected[counter].unescape().getTerminatedBuffer(), expected[counter]… in testGreekWithFallback()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp443 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
567 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
658 u_strToUTF8(strBuf,200,NULL,buf.getTerminatedBuffer(),buf.length()+1,&setupStatus); in warmup()
/external/icu/libicu/
Dlibicu.map.txt99 u_strToUTF8;
/external/icu/icu4c/source/test/perf/utfperf/
Dutfperf.cpp92 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status); in UtfPerformanceTest()
/external/icu/icu4c/source/test/letest/
Dgendata.cpp260 u_strToUTF8(uversion_utf8, 300, NULL, uversion, -1, &status2); in main()
/external/icu/libicu/ndk_headers/unicode/
Dustring.h1137 u_strToUTF8(char *dest,
/external/icu/icu4c/source/common/unicode/
Dustring.h1264 u_strToUTF8(char *dest,
/external/icu/libandroidicu/include/unicode/
Dustring.h1264 u_strToUTF8(char *dest,
/external/icu/libicu/cts_headers/unicode/
Dustring.h1264 u_strToUTF8(char *dest,
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp73 u_strToUTF8(NULL, in write_utf8_file()
85 u_strToUTF8(dest, in write_utf8_file()
/external/icu/icu4c/source/common/
Dunisetspan.cpp171 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode); in getUTF8Length()
186 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode); in appendUTF8()

12