Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/cintltst/
Dspooftest.c439 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodLatin, -1, &status); in TestUSpoofCAPI()
447 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodCyrl, -1, &status); in TestUSpoofCAPI()
453 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, scMixed, -1, &status); in TestUSpoofCAPI()
492 u_strToUTF8(s1, sizeof(s1), NULL, scLatin, -1, &status); in TestUSpoofCAPI()
493 u_strToUTF8(s2, sizeof(s2), NULL, scMixed, -1, &status); in TestUSpoofCAPI()
499 u_strToUTF8(s1, sizeof(s1), NULL, goodGreek, -1, &status); in TestUSpoofCAPI()
500 u_strToUTF8(s2, sizeof(s2), NULL, scLatin, -1, &status); in TestUSpoofCAPI()
506 u_strToUTF8(s1, sizeof(s1), NULL, lll_Latin_a, -1, &status); in TestUSpoofCAPI()
507 u_strToUTF8(s2, sizeof(s2), NULL, lll_Latin_b, -1, &status); in TestUSpoofCAPI()
Dcdateintervalformattest.c307 u_strToUTF8(bbuf, kSizeBBuf, NULL, ubuf, ulen, &status); in TestFPos_SkelWithSeconds()
308u_strToUTF8(bebuf, kSizeBBuf, NULL, uebuf, uelen, &status); // convert back to get unescaped string in TestFPos_SkelWithSeconds()
Dnfsprep.c104 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); in nfs4_prepare()
113 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); in nfs4_prepare()
Dcustrtrn.c524 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
532 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
606 u_strToUTF8(NULL,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
612 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
686 …(err=U_ZERO_ERROR, u_strToUTF8(out8, UPRV_LENGTHOF(out8), NULL, withLead16, UPRV_LENGTHOF(withLead… in Test_UChar_UTF8_API()
687 …(err=U_ZERO_ERROR, u_strToUTF8(out8, UPRV_LENGTHOF(out8), NULL, withTrail16, -1, &err), err!=U_INV… in Test_UChar_UTF8_API()
2065 u_strToUTF8(dest8, UPRV_LENGTHOF(dest8), &length, NULL, 0, &errorCode); in TestNullEmptySource()
Dcstrcase.c975u_strToUTF8(utf8BeforeTitle, (int32_t)sizeof(utf8BeforeTitle), &utf8BeforeTitleLength, beforeTitle… in TestUCaseMapToTitle()
976u_strToUTF8(utf8TitleSentNoLower, (int32_t)sizeof(utf8TitleSentNoLower), &utf8TitleSentNoLowerLeng… in TestUCaseMapToTitle()
Dspreptst.c305 u_strToUTF8(dest, destCapacity, &destLen, b1, b1Len, status); in unescapeData()
Dcallcoll.c306 u_strToUTF8(utf8Source, 256, &utf8SourceLen, source, sLen, &status); in doTestVariant()
310 u_strToUTF8(utf8Target, 256, &utf8TargetLen, target, tLen, &status); in doTestVariant()
Dcnumtst.c2852 u_strToUTF8(bexp, kBBufSize, NULL, uexp, uexplen, &status); in TestVariousStylesAndAttributes()
2853 u_strToUTF8(bget, kBBufSize, NULL, uget, ugetlen, &status); in TestVariousStylesAndAttributes()
/external/icu/icu4c/source/test/perf/utrie2perf/
Dutrie2perf.cpp59 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); in UTrie2PerfTest()
64 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UTrie2PerfTest()
/external/icu/icu4c/source/test/thaitest/
Dthaitest.cpp409 printf("%s", u_strToUTF8(outbuf, sizeof(outbuf), &strlength, &bom, 1, &status)); in generateFile()
416 printf("%s", u_strToUTF8(outbuf, sizeof(outbuf), &strlength, &chars[prevbreak], in generateFile()
/external/icu/icu4c/source/test/perf/unisetperf/
Dunisetperf.cpp66 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); in UnicodeSetPerformanceTest()
71 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UnicodeSetPerformanceTest()
/external/icu/icu4c/source/common/
Ducasemap.cpp154 u_strToUTF8( in appendResult()
167 u_strToUTF8( in appendResult()
Dwintz.c316 u_strToUTF8(ISOcodeA, 3, NULL, ISOcodeW, 3, &status); in uprv_detectWindowsTimeZone()
Dunisetspan.cpp169 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode); in getUTF8Length()
184 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode); in appendUTF8()
Dustrtrns.cpp1241 u_strToUTF8(char *dest, in u_strToUTF8() function
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp164 u_strToUTF8(utf8Source, 256, &utf8SourceLen, src, sLen, &status); in doTestVariant()
168 u_strToUTF8(utf8Target, 256, &utf8TargetLen, trg, tLen, &status); in doTestVariant()
Dtufmtts.cpp422 u_strToUTF8(tmp, 128, &len, str.getTerminatedBuffer(), str.length(), &status); in testGreekWithFallback()
423u_strToUTF8(tmp1, 128, &len, expected[counter].unescape().getTerminatedBuffer(), expected[counter]… in testGreekWithFallback()
Dstrcase.cpp404u_strToUTF8(utf8In, (int32_t)sizeof(utf8In), &utf8InLength, input.getBuffer(), input.length(), err… in TestCasingImpl()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp438 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
562 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
653 u_strToUTF8(strBuf,200,NULL,buf.getTerminatedBuffer(),buf.length()+1,&setupStatus); in warmup()
/external/icu/icu4c/source/test/perf/utfperf/
Dutfperf.cpp88 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status); in UtfPerformanceTest()
/external/icu/icu4c/source/test/letest/
Dgendata.cpp258 u_strToUTF8(uversion_utf8, 300, NULL, uversion, -1, &status2); in main()
/external/icu/icu4c/source/common/unicode/
Dustring.h1275 u_strToUTF8(char *dest,
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp71 u_strToUTF8(NULL, in write_utf8_file()
83 u_strToUTF8(dest, in write_utf8_file()
/external/icu/icu4c/source/i18n/
Duspoof.cpp751 u_strToUTF8(dest, destCapacity, &lengthInUTF8, in uspoof_getSkeletonUTF8()
/external/icu/icu4c/source/test/perf/collperf2/
Dcollperf2.cpp1364 u_strToUTF8(NULL, 0, &length8, s16, length16, &status); in getData8FromData16()
1374 u_strToUTF8(d8->last(), capacity8, NULL, s16, length16, &status); in getData8FromData16()

12