Home
last modified time | relevance | path

Searched defs:utf16 (Results 1 – 25 of 52) sorted by relevance

123

/third_party/skia/modules/skunicode/src/
DSkUnicode.cpp39 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
DSkUnicode_icu_bidi.cpp36 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
DSkUnicode_icu.cpp208 …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/
DFontResolvedText.cpp45 std::u16string utf16(u"Hello world"); in UNIX_ONLY_TEST() local
65 std::u16string utf16(u"English English 字典 字典 ������ ������"); in UNIX_ONLY_TEST() local
DShapedText.cpp45 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
DSelectableText.cpp98 …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
DUnicodeText.cpp57 std::u16string utf16(u"Hello word\nHello world"); in UNIX_ONLY_TEST() local
DWrappedText.cpp96 …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/
Dtest_platform_v8.cc18 std::basic_string<uint16_t> utf16 = v8_inspector::UTF8ToUTF16( in UTF8ToUTF16() local
/third_party/node/tools/inspector_protocol/encoding/
Dencoding_test_helper.h26 std::basic_string<uint16_t> utf16 = v8_inspector::UTF8ToUTF16( in UTF8ToUTF16() local
/third_party/node/test/js-native-api/test_string/
Dtest_null.c49 DECLARE_TEST(utf16, something) in DECLARE_TEST() argument
/third_party/gn/src/base/strings/
Dutf_string_conversions.cc175 std::string UTF16ToUTF8(std::u16string_view utf16) { in UTF16ToUTF8()
190 std::string UTF16ToASCII(std::u16string_view utf16) { in UTF16ToASCII()
Dutf_offset_string_conversions.cc252 std::u16string_view utf16, in UTF16ToUTF8AndAdjustOffsets()
/third_party/skia/modules/skunicode/include/
DSkUnicode.h229 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/
DSkUTF.cpp71 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/
DSkPDFUtils.h106 uint16_t utf16[2] = {0, 0}; in WriteUTF16beHex() local
/third_party/rust/crates/clap/tests/builder/
Dmain.rs47 mod utf16; module
/third_party/openssl/crypto/pkcs12/
Dp12_utl.c154 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/
Dp12_utl.c154 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/
Dunisetperf.cpp213 UChar utf16[2]; in SpanUTF16() local
264 UChar utf16[2]; in SpanBackUTF16() local
/third_party/skia/experimental/sktext/samples/
DText.cpp175 …std::u16string utf16(u"يَهْدِيْكُمُ اللَّهُ وَيُصْلِحُ بَالَكُمُيَهْدِيْكُمُ اللَّهُ وَيُصْلِحُ بَ… in onDrawContent() local
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-buffer.c33 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/
Dtest_util.cpp634 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/
Dustrtest.cpp245 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/
DSkShaper_coretext.cpp172 auto utf16 = fUtf16ToUtf8Indices.begin(); in setUTF8() local

123