| /third_party/skia/modules/skunicode/src/ |
| D | SkUnicode.cpp | 39 SkString SkUnicode::convertUtf16ToUtf8(const char16_t* utf16, int utf16Units) { in convertUtf16ToUtf8() 53 SkString SkUnicode::convertUtf16ToUtf8(const std::u16string& utf16) { in convertUtf16ToUtf8() 65 SkAutoTArray<uint16_t> utf16(utf16Units); in convertUtf8ToUtf16() local
|
| D | SkUnicode_icu_bidi.cpp | 36 std::unique_ptr<SkBidiIterator> SkUnicode::makeBidiIterator(const uint16_t utf16[], in makeBidiIterator() 72 std::unique_ptr<uint16_t[]> utf16(new uint16_t[utf16Units]); in makeBidiIterator() local 90 auto utf16 = SkUnicode::convertUtf8ToUtf16(utf8, utf8Units); in extractBidi() local
|
| D | SkUnicode_icu.cpp | 208 …static bool extractWords(uint16_t utf16[], int utf16Units, const char* locale, std::vector<Positi… in extractWords() 385 auto utf16 = convertUtf8ToUtf16(utf8, utf8Units); in getWords() local 446 bool computeCodeUnitFlags(char16_t utf16[], int utf16Units, bool replaceTabs, in computeCodeUnitFlags()
|
| /third_party/skia/experimental/sktext/tests/ |
| D | FontResolvedText.cpp | 45 std::u16string utf16(u"Hello world"); in UNIX_ONLY_TEST() local 65 std::u16string utf16(u"English English 字典 字典 "); in UNIX_ONLY_TEST() local
|
| D | ShapedText.cpp | 45 std::u16string utf16(u"Hello world\nHello world"); in UNIX_ONLY_TEST() local 64 std::u16string utf16(u"\u202EHELLO WORLD\nHELLO WORLD"); in UNIX_ONLY_TEST() local
|
| D | SelectableText.cpp | 98 …std::u16string utf16(u" Leading spaces\nTrailing spaces \nLong text with collapsed spac… in UNIX_ONLY_TEST() local 146 …std::u16string utf16(u" Leading spaces\nTrailing spaces \nLong text with collapsed spac… in UNIX_ONLY_TEST() local 188 std::u16string utf16(u" Small Text \n"); in UNIX_ONLY_TEST() local 229 std::u16string utf16(u" Small Text \n"); in UNIX_ONLY_TEST() local 270 …std::u16string utf16(u" Leading spaces\nTrailing spaces \nLong text with collapsed spac… in UNIX_ONLY_TEST() local
|
| D | UnicodeText.cpp | 57 std::u16string utf16(u"Hello word\nHello world"); in UNIX_ONLY_TEST() local
|
| D | WrappedText.cpp | 96 …std::u16string utf16(u" Leading spaces\nTrailing spaces \nLong text with collapsed spac… in UNIX_ONLY_TEST() local 145 …std::u16string utf16(u"يَهْدِيْكُمُ اللَّهُ وَيُصْلِحُ بَالَكُمُيَهْدِيْكُمُ اللَّهُ وَيُصْلِحُ بَ… in UNIX_ONLY_TEST() local
|
| /third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
| D | test_platform_v8.cc | 18 std::basic_string<uint16_t> utf16 = v8_inspector::UTF8ToUTF16( in UTF8ToUTF16() local
|
| /third_party/node/tools/inspector_protocol/encoding/ |
| D | encoding_test_helper.h | 26 std::basic_string<uint16_t> utf16 = v8_inspector::UTF8ToUTF16( in UTF8ToUTF16() local
|
| /third_party/node/test/js-native-api/test_string/ |
| D | test_null.c | 49 DECLARE_TEST(utf16, something) in DECLARE_TEST() argument
|
| /third_party/gn/src/base/strings/ |
| D | utf_string_conversions.cc | 175 std::string UTF16ToUTF8(std::u16string_view utf16) { in UTF16ToUTF8() 190 std::string UTF16ToASCII(std::u16string_view utf16) { in UTF16ToASCII()
|
| D | utf_offset_string_conversions.cc | 252 std::u16string_view utf16, in UTF16ToUTF8AndAdjustOffsets()
|
| /third_party/skia/modules/skunicode/include/ |
| D | SkUnicode.h | 229 void forEachCodepoint(const char16_t* utf16, int32_t utf16Units, Callback&& callback) { in forEachCodepoint() 241 …void forEachBidiRegion(const uint16_t utf16[], int utf16Units, SkBidiIterator::Direction dir, Call… in forEachBidiRegion() 265 …void forEachBreak(const char16_t utf16[], int utf16Units, SkUnicode::BreakType type, Callback&& ca… in forEachBreak()
|
| /third_party/skia/src/utils/ |
| D | SkUTF.cpp | 71 int SkUTF::CountUTF16(const uint16_t* utf16, size_t byteLength) { in CountUTF16() 269 uint16_t utf16[2]; in UTF8ToUTF16() local
|
| /third_party/skia/src/pdf/ |
| D | SkPDFUtils.h | 106 uint16_t utf16[2] = {0, 0}; in WriteUTF16beHex() local
|
| /third_party/rust/crates/clap/tests/builder/ |
| D | main.rs | 47 mod utf16; module
|
| /third_party/openssl/crypto/pkcs12/ |
| D | p12_utl.c | 154 static int bmp_to_utf8(char *str, const unsigned char *utf16, int len) in bmp_to_utf8()
|
| /third_party/node/deps/openssl/openssl/crypto/pkcs12/ |
| D | p12_utl.c | 154 static int bmp_to_utf8(char *str, const unsigned char *utf16, int len) in bmp_to_utf8()
|
| /third_party/icu/icu4c/source/test/perf/unisetperf/ |
| D | unisetperf.cpp | 213 UChar utf16[2]; in SpanUTF16() local 264 UChar utf16[2]; in SpanBackUTF16() local
|
| /third_party/skia/experimental/sktext/samples/ |
| D | Text.cpp | 175 …std::u16string utf16(u"يَهْدِيْكُمُ اللَّهُ وَيُصْلِحُ بَالَكُمُيَهْدِيْكُمُ اللَّهُ وَيُصْلِحُ بَ… in onDrawContent() local
|
| /third_party/skia/third_party/externals/harfbuzz/test/api/ |
| D | test-buffer.c | 33 static const uint16_t utf16[8] = {'a', 'b', 0xD840, 0xDC00, 'd', 'e', 'f', 'g'}; variable 711 const uint16_t utf16[8]; member
|
| /third_party/vulkan-loader/tests/framework/ |
| D | test_util.cpp | 634 std::string narrow(const std::wstring& utf16) { in narrow() 657 std::wstring utf16(size, L'\0'); in widen() local
|
| /third_party/icu/icu4c/source/test/intltest/ |
| D | ustrtest.cpp | 245 static const UChar utf16[]={ 0x61, 0xE4, 0xDF, 0x4E00 }; in TestBasicManipulation() local 1857 static const UChar utf16[] = { in TestUTF32() local 1921 static const UChar utf16[] = { in TestUTF8() local
|
| /third_party/skia/modules/skshaper/src/ |
| D | SkShaper_coretext.cpp | 172 auto utf16 = fUtf16ToUtf8Indices.begin(); in setUTF8() local
|