Home
last modified time | relevance | path

Searched refs:fromUTF8 (Results 1 – 23 of 23) sorted by relevance

/external/libtextclassifier/util/utf8/
Dunilib-icu.cc30 icu::UnicodeString utf8_string = icu::UnicodeString::fromUTF8( in ParseInt32()
83 pattern_.get(), icu::UnicodeString::fromUTF8( in Matcher()
248 : text_(icu::UnicodeString::fromUTF8( in BreakIterator()
277 icu::RegexPattern::compile(icu::UnicodeString::fromUTF8(icu::StringPiece( in CreateRegexPattern()
/external/icu/icu4c/source/test/intltest/
Dstrcase.cpp749 UnicodeString result16From8 = UnicodeString::fromUTF8(result8); in assertGreekUpper()
1315 UnicodeString::fromUTF8(StringPiece(dest, length))); in TestCaseMapUTF8WithEdits()
1331 UnicodeString::fromUTF8(StringPiece(dest, length))); in TestCaseMapUTF8WithEdits()
1354 UnicodeString::fromUTF8(StringPiece(dest, length))); in TestCaseMapUTF8WithEdits()
1371 UnicodeString::fromUTF8(StringPiece(dest, length))); in TestCaseMapUTF8WithEdits()
1454 assertEquals(u"toLower(IstanBul)", UnicodeString(u"ıb"), UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
1458 UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
1465 UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
1471 UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
1477 UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
[all …]
Duts46test.cpp860 UnicodeString aT16(UnicodeString::fromUTF8(aT8)); in TestSomeCases()
861 UnicodeString uT16(UnicodeString::fromUTF8(uT8)); in TestSomeCases()
862 UnicodeString aN16(UnicodeString::fromUTF8(aN8)); in TestSomeCases()
863 UnicodeString uN16(UnicodeString::fromUTF8(uN8)); in TestSomeCases()
942 UnicodeString source16 = UnicodeString::fromUTF8(StringPiece(fields[1][0], length)). in idnaTestOneLine()
948 UnicodeString unicode16 = UnicodeString::fromUTF8(StringPiece(fields[2][0], length)). in idnaTestOneLine()
957 UnicodeString ascii16 = UnicodeString::fromUTF8(StringPiece(fields[3][0], length)). in idnaTestOneLine()
Ditspoof.cpp347 … UnicodeString confusablesTxt = UnicodeString::fromUTF8(StringPiece(fileBuf.getAlias(), fileSize)); in testConfData()
Dustrtest.cpp1891 …UnicodeString from8 = UnicodeString::fromUTF8(StringPiece((const char *)utf8, (int32_t)sizeof(utf8… in TestUTF8()
1898 UnicodeString from8b = UnicodeString::fromUTF8(utf8_string); in TestUTF8()
Dnumfmtst.cpp422 UnicodeString resultStr(UnicodeString::fromUTF8(result.getDecimalNumber(status))); in isParsePass()
485 UnicodeString resultStr(UnicodeString::fromUTF8(resultFormattable.getDecimalNumber(status))); in isParseCurrencyPass()
/external/icu/icu4c/source/i18n/
Duspoof.cpp377 …UnicodeString idStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<int… in uspoof_check2UTF8()
416 …UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : static_cast<… in uspoof_areConfusableUTF8()
417 …UnicodeString id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : static_cast<… in uspoof_areConfusableUTF8()
683 …UnicodeString srcStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<in… in uspoof_getSkeletonUTF8()
/external/libmojo/mojo/public/cpp/bindings/lib/
Dstring_traits_wtf.cc79 WTF::String result = WTF::String::fromUTF8(input.storage(), input.size()); in Read()
/external/icu/icu4c/source/common/
Duts46.cpp77 labelToASCII(UnicodeString::fromUTF8(label), destString, in labelToASCII_UTF8()
87 labelToUnicode(UnicodeString::fromUTF8(label), destString, in labelToUnicodeUTF8()
97 nameToASCII(UnicodeString::fromUTF8(name), destString, in nameToASCII_UTF8()
107 nameToUnicode(UnicodeString::fromUTF8(name), destString, in nameToUnicodeUTF8()
495 destString=UnicodeString::fromUTF8(StringPiece(destArray+labelStart, mappingStart)); in processUTF8()
498 processUnicode(UnicodeString::fromUTF8(StringPiece(src, labelStart)), 0, mappingStart, in processUTF8()
503 processUnicode(UnicodeString::fromUTF8(src), 0, 0, in processUTF8()
Ducnv_cnv.h255 UConverterConvert fromUTF8; member
Dnormalizer2.cpp57 UnicodeString src16 = UnicodeString::fromUTF8(src); in normalizeUTF8()
78 return U_SUCCESS(errorCode) && isNormalized(UnicodeString::fromUTF8(s), errorCode); in isNormalizedUTF8()
Ducnv.cpp2144 targetCnv->sharedData->impl->fromUTF8!=NULL in ucnv_convertEx()
2146 convert=targetCnv->sharedData->impl->fromUTF8; in ucnv_convertEx()
Dunistr.cpp445 UnicodeString UnicodeString::fromUTF8(StringPiece utf8) { in fromUTF8() function in UnicodeString
/external/libmojo/mojo/public/cpp/bindings/tests/
Dwtf_types_unittest.cc70 strs[3] = WTF::String::fromUTF8(kUTF8HelloWorld); in ConstructStringArray()
80 str_map.add("2", WTF::String::fromUTF8(kUTF8HelloWorld)); in ConstructStringMap()
/external/v8/src/inspector/
Dstring-16.h81 static String16 fromUTF8(const char* stringStart, size_t length);
Dstring-16.cc471 String16 String16::fromUTF8(const char* stringStart, size_t length) { in fromUTF8() function in v8_inspector::String16
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc94 UnicodeString font_string = UnicodeString::fromUTF8(font_name); in HasName()
97 UnicodeString regular_suffix = UnicodeString::fromUTF8(" Regular"); in HasName()
/external/libtextclassifier/util/calendar/
Dcalendar-icu.cc304 icu::UnicodeString::fromUTF8(reference_timezone))); in InterpretParseData()
/external/skia/tools/shape/
DSkShaper_harfbuzz.cpp108 icu::UnicodeString utf16 = icu::UnicodeString::fromUTF8(icu::StringPiece(utf8, utf8Bytes)); in Make()
/external/skqp/tools/shape/
DSkShaper_harfbuzz.cpp106 icu::UnicodeString utf16 = icu::UnicodeString::fromUTF8(icu::StringPiece(utf8, utf8Bytes)); in Make()
/external/v8/src/
Di18n.cc55 *setting = icu::UnicodeString::fromUTF8(*utf8_string); in ExtractStringSetting()
/external/icu/icu4c/source/test/cintltst/
Dnccbtst.c2414 static const int32_t fromUTF8[] = { in TestSubWithValue() local
2526 UCNV_TO_U_CALLBACK_ESCAPE, fromUTF8, NULL, 0)) in TestSubWithValue()
/external/icu/icu4c/source/common/unicode/
Dunistr.h3413 static UnicodeString fromUTF8(StringPiece utf8);