Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/cintltst/
Dspooftest.c442 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodLatin, -1, &status); in TestUSpoofCAPI()
450 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodCyrl, -1, &status); in TestUSpoofCAPI()
456 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, scMixed, -1, &status); in TestUSpoofCAPI()
504 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodLatin, -1, &status); in TestUSpoofCAPI()
544 u_strToUTF8(s1, sizeof(s1), NULL, scLatin, -1, &status); in TestUSpoofCAPI()
545 u_strToUTF8(s2, sizeof(s2), NULL, scMixed, -1, &status); in TestUSpoofCAPI()
551 u_strToUTF8(s1, sizeof(s1), NULL, goodGreek, -1, &status); in TestUSpoofCAPI()
552 u_strToUTF8(s2, sizeof(s2), NULL, scLatin, -1, &status); in TestUSpoofCAPI()
558 u_strToUTF8(s1, sizeof(s1), NULL, lll_Latin_a, -1, &status); in TestUSpoofCAPI()
559 u_strToUTF8(s2, sizeof(s2), NULL, lll_Latin_b, -1, &status); in TestUSpoofCAPI()
Dcdateintervalformattest.c306 u_strToUTF8(bbuf, kSizeBBuf, NULL, ubuf, ulen, &status); in TestFPos_SkelWithSeconds()
307u_strToUTF8(bebuf, kSizeBBuf, NULL, uebuf, uelen, &status); // convert back to get unescaped string in TestFPos_SkelWithSeconds()
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()
Dcstrcase.c979u_strToUTF8(utf8BeforeTitle, (int32_t)sizeof(utf8BeforeTitle), &utf8BeforeTitleLength, beforeTitle… in TestUCaseMapToTitle()
980u_strToUTF8(utf8TitleSentNoLower, (int32_t)sizeof(utf8TitleSentNoLower), &utf8TitleSentNoLowerLeng… in TestUCaseMapToTitle()
Dspreptst.c308 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()
Dcapitst.c188 u_strToUTF8(srcU8, UTF8_BUF_SIZE, &len, src, srcLen, &err); in doStrcoll()
196 u_strToUTF8(tgtU8, UTF8_BUF_SIZE, &len, tgt, tgtLen, &err); in doStrcoll()
/external/icu/icu4c/source/common/
Dwintz.cpp74 u_strToUTF8(ISOcode, UPRV_LENGTHOF(ISOcode), nullptr, in uprv_detectWindowsTimeZone()
81 u_strToUTF8(dynamicTZKeyName, UPRV_LENGTHOF(dynamicTZKeyName), nullptr, in uprv_detectWindowsTimeZone()
Dunisetspan.cpp171 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode); in getUTF8Length()
186 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode); in appendUTF8()
Dustrtrns.cpp1057 u_strToUTF8(char *dest, in u_strToUTF8() function
/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/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/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.cpp424 u_strToUTF8(tmp, 128, &len, str.getTerminatedBuffer(), str.length(), &status); in testGreekWithFallback()
425u_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/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/libandroidicu/include/unicode/
Dustring.h1264 u_strToUTF8(char *dest,
/external/icu/icu4c/source/common/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/i18n/
Duspoof.cpp744 u_strToUTF8(dest, destCapacity, &lengthInUTF8, in uspoof_getSkeletonUTF8()
/external/icu/icu4c/source/test/perf/collperf2/
Dcollperf2.cpp1368 u_strToUTF8(NULL, 0, &length8, s16, length16, &status); in getData8FromData16()
1378 u_strToUTF8(d8->last(), capacity8, NULL, s16, length16, &status); in getData8FromData16()
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp157 u_strToUTF8(NULL, 0, NULL, toUCharPtr(s.getBuffer()), s.length(), &errorCode); in isWellFormed()

12