Home
last modified time | relevance | path

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

123

/third_party/node/src/inspector/
Dnode_string.cc17 icu::UnicodeString utf16 = icu::UnicodeString::fromUTF8( in builderAppendQuotedString()
31 icu::UnicodeString::fromUTF8(icu::StringPiece(string.data(), in parseJSON()
106 String fromUTF8(const uint8_t* data, size_t length) { in fromUTF8() function
122 icu::UnicodeString::fromUTF8(icu::StringPiece(s.data(), s.length())); in CharacterCount()
Dnode_string.h74 String fromUTF8(const uint8_t* data, size_t length);
/third_party/flutter/engine/flutter/third_party/txt/benchmarks/
Dparagraph_builder_benchmarks.cc93 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphBuilderAddTextU16stringShort()
125 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphBuilderAddTextU16stringLong()
143 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphBuilderShortParagraphConstruct()
181 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphBuilderLongParagraphConstruct()
Dparagraph_benchmarks.cc39 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphShortLayout()
80 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphLongLayout()
122 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphJustifyLayout()
148 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphManyStylesLayout()
203 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphStylesBigO()
233 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphPaintSimple()
280 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphPaintLarge()
311 auto icu_text = icu::UnicodeString::fromUTF8(text); in BM_ParagraphPaintDecoration()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/
Dregex_replace_op.h36 : pattern_(icu::UnicodeString::fromUTF8(pattern)), in pattern_()
37 replace_(icu::UnicodeString::fromUTF8(replace)), in pattern_()
Dregex_tokenizer_op.h39 delim_pattern_(icu::UnicodeString::fromUTF8(delim_pattern)), in TokenizerOp()
40 keep_delim_pattern_(icu::UnicodeString::fromUTF8(keep_delim_pattern)), in TokenizerOp()
Dregex_replace_op.cc28 icu::UnicodeString unicode_text = icu::UnicodeString::fromUTF8(text); in RegexReplace()
Dregex_tokenizer_op.cc55 icu::UnicodeString utext(icu::UnicodeString::fromUTF8(text)); in GetRegexTokens()
/third_party/flutter/engine/flutter/third_party/txt/tests/
Dparagraph_unittests.cc39 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
76 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
201 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
276 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
352 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
427 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
501 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
575 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
650 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
724 auto icu_text = icu::UnicodeString::fromUTF8(text); in TEST_F()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dstrcase.cpp755 UnicodeString result16From8 = UnicodeString::fromUTF8(result8); in assertGreekUpper()
1342 UnicodeString::fromUTF8(StringPiece(dest, length))); in TestCaseMapUTF8WithEdits()
1359 UnicodeString::fromUTF8(StringPiece(dest, length))); in TestCaseMapUTF8WithEdits()
1382 UnicodeString::fromUTF8(StringPiece(dest, length))); in TestCaseMapUTF8WithEdits()
1400 UnicodeString::fromUTF8(StringPiece(dest, length))); in TestCaseMapUTF8WithEdits()
1483 assertEquals(u"toLower(IstanBul)", UnicodeString(u"ıb"), UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
1487 UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
1494 UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
1500 UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
1506 UnicodeString::fromUTF8(dest)); in TestCaseMapUTF8ToString()
[all …]
Duts46test.cpp975 UnicodeString aT16(UnicodeString::fromUTF8(aT8)); in TestSomeCases()
976 UnicodeString uT16(UnicodeString::fromUTF8(uT8)); in TestSomeCases()
977 UnicodeString aN16(UnicodeString::fromUTF8(aN8)); in TestSomeCases()
978 UnicodeString uN16(UnicodeString::fromUTF8(uN8)); in TestSomeCases()
1025 return UnicodeString::fromUTF8(StringPiece(field[0], length)).trim().unescape(); in s16FromField()
/third_party/flutter/skia/third_party/externals/icu/fuzzers/
Dfuzzer_utils.h39 return icu::UnicodeString::fromUTF8( in UnicodeStringFromUtf8()
/third_party/skia/third_party/externals/icu/fuzzers/
Dicu_appendable_fuzzer.cc32 auto str(icu::UnicodeString::fromUTF8( in LLVMFuzzerTestOneInput()
Dfuzzer_utils.h39 return icu::UnicodeString::fromUTF8( in UnicodeStringFromUtf8()
/third_party/skia/third_party/externals/icu/source/i18n/
Duspoof.cpp426 …UnicodeString idStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<int… in uspoof_check2UTF8()
465 …UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : static_cast<… in uspoof_areConfusableUTF8()
466 …UnicodeString id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : static_cast<… in uspoof_areConfusableUTF8()
743 …UnicodeString srcStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<in… in uspoof_getSkeletonUTF8()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Duspoof.cpp423 …UnicodeString idStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<int… in uspoof_check2UTF8()
462 …UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : static_cast<… in uspoof_areConfusableUTF8()
463 …UnicodeString id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : static_cast<… in uspoof_areConfusableUTF8()
736 …UnicodeString srcStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<in… in uspoof_getSkeletonUTF8()
/third_party/icu/icu4c/source/i18n/
Duspoof.cpp426 …UnicodeString idStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<int… in uspoof_check2UTF8()
465 …UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : static_cast<… in uspoof_areConfusableUTF8()
466 …UnicodeString id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : static_cast<… in uspoof_areConfusableUTF8()
743 …UnicodeString srcStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<in… in uspoof_getSkeletonUTF8()
/third_party/node/deps/icu-small/source/i18n/
Duspoof.cpp429 …UnicodeString idStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<int… in uspoof_check2UTF8()
468 …UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : static_cast<… in uspoof_areConfusableUTF8()
469 …UnicodeString id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : static_cast<… in uspoof_areConfusableUTF8()
746 …UnicodeString srcStr = UnicodeString::fromUTF8(StringPiece(id, length>=0 ? length : static_cast<in… in uspoof_getSkeletonUTF8()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/node/deps/icu-small/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
/third_party/skia/third_party/externals/icu/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()
/third_party/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
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumbermatcher_test.cc639 EXPECT_TRUE(IsLatinLetter(UnicodeString::fromUTF8("\xC3\x89" /* "É" */)[0])); in TEST_F()
641 EXPECT_TRUE(IsLatinLetter(UnicodeString::fromUTF8("\xCC\x81")[0])); in TEST_F()
648 IsLatinLetter(UnicodeString::fromUTF8("\xE6\x88\x91" /* "我" */)[0])); in TEST_F()
651 EXPECT_FALSE(IsLatinLetter(UnicodeString::fromUTF8("\xE3\x81\xAE")[0])); in TEST_F()
652 EXPECT_FALSE(IsLatinLetter(UnicodeString::fromUTF8("\xE3\x81\xAE")[2])); in TEST_F()

123