/third_party/grpc/src/core/lib/json/ |
D | json_writer.cc | 173 uint32_t utf32 = 0; in EscapeString() local 178 utf32 = c & 0x1f; in EscapeString() 181 utf32 = c & 0x0f; in EscapeString() 184 utf32 = c & 0x07; in EscapeString() 190 utf32 <<= 6; in EscapeString() 203 utf32 |= c & 0x3f; in EscapeString() 210 if (((utf32 >= 0xd800) && (utf32 <= 0xdfff)) || (utf32 >= 0x110000)) { in EscapeString() 213 if (utf32 >= 0x10000) { in EscapeString() 230 utf32 -= 0x10000; in EscapeString() 231 EscapeUtf16(static_cast<uint16_t>(0xd800 | (utf32 >> 10))); in EscapeString() [all …]
|
D | json_reader.cc | 603 uint32_t utf32; in Run() local 607 utf32 = 0x10000; in Run() 608 utf32 += static_cast<uint32_t>( in Run() 610 utf32 += static_cast<uint32_t>(unicode_char_ - 0xdc00); in Run() 611 StringAddUtf32(utf32); in Run()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/ |
D | test-buffer.c | 34 static const uint32_t utf32[7] = {'a', 'b', 0x20000, 'd', 'e', 'f', 'g'}; variable 73 for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++) in fixture_init() 74 hb_buffer_add (b, utf32[i], i); in fixture_init() 78 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); in fixture_init() 213 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents() 221 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents() 225 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents() 232 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents() 236 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents() 245 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents() [all …]
|
/third_party/harfbuzz/test/api/ |
D | test-buffer.c | 34 static const uint32_t utf32[7] = {'a', 'b', 0x20000, 'd', 'e', 'f', 'g'}; variable 73 for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++) in fixture_init() 74 hb_buffer_add (b, utf32[i], i); in fixture_init() 78 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); in fixture_init() 213 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents() 221 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents() 225 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents() 232 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents() 236 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents() 245 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-buffer.c | 34 static const uint32_t utf32[7] = {'a', 'b', 0x20000, 'd', 'e', 'f', 'g'}; variable 73 for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++) in fixture_init() 74 hb_buffer_add (b, utf32[i], i); in fixture_init() 78 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); in fixture_init() 213 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents() 221 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents() 225 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents() 232 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents() 236 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents() 245 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents() [all …]
|
/third_party/flutter/skia/src/utils/ |
D | SkUTF.cpp | 96 int SkUTF::CountUTF32(const int32_t* utf32, size_t byteLength) { in CountUTF32() argument 97 if (!is_align4(intptr_t(utf32)) || !is_align4(byteLength) || byteLength >> 2 > INT_MAX) { in CountUTF32() 101 const uint32_t* ptr = (const uint32_t*)utf32; in CountUTF32()
|
D | SkUTF.h | 28 int CountUTF32(const int32_t* utf32, size_t byteLength);
|
/third_party/skia/src/utils/ |
D | SkUTF.cpp | 97 int SkUTF::CountUTF32(const int32_t* utf32, size_t byteLength) { in CountUTF32() argument 98 if (!is_align4(intptr_t(utf32)) || !is_align4(byteLength) || !SkTFitsIn<int>(byteLength >> 2)) { in CountUTF32() 102 const uint32_t* ptr = (const uint32_t*)utf32; in CountUTF32()
|
D | SkUTF.h | 30 SK_SPI int CountUTF32(const int32_t* utf32, size_t byteLength);
|
/third_party/skia/src/pdf/ |
D | SkPDFUtils.h | 105 inline void WriteUTF16beHex(SkDynamicMemoryWStream* wStream, SkUnichar utf32) { in WriteUTF16beHex() argument 107 size_t len = SkUTF::ToUTF16(utf32, utf16); in WriteUTF16beHex()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFUtils.h | 105 inline void WriteUTF16beHex(SkDynamicMemoryWStream* wStream, SkUnichar utf32) { in WriteUTF16beHex() argument 107 size_t len = SkUTF::ToUTF16(utf32, utf16); in WriteUTF16beHex()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/ |
D | DetectingViewer.java | 312 Charset utf32 = CharsetICU.forNameICU(encoding); in show() local 318 sb.append(utf32.decode(ByteBuffer.wrap(bytes)).toString()); in show()
|
/third_party/gstreamer/gstplugins_base/gst/typefind/ |
D | gsttypefindfunctionsplugin.h | 137 GST_TYPE_FIND_REGISTER_DECLARE (utf32);
|
D | gsttypefindfunctionsplugin.c | 160 GST_TYPE_FIND_REGISTER (utf32, plugin); in plugin_init()
|
/third_party/icu/icu4c/source/common/ |
D | unistr.cpp | 450 UnicodeString UnicodeString::fromUTF32(const UChar32 *utf32, int32_t length) { in fromUTF32() argument 466 utf32, length, in fromUTF32() 1011 UnicodeString::toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const { in toUTF32() argument 1015 u_strToUTF32WithSub(utf32, capacity, &length32, in toUTF32()
|
/third_party/node/deps/icu-small/source/common/ |
D | unistr.cpp | 450 UnicodeString UnicodeString::fromUTF32(const UChar32 *utf32, int32_t length) { in fromUTF32() argument 466 utf32, length, in fromUTF32() 1011 UnicodeString::toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const { in toUTF32() argument 1015 u_strToUTF32WithSub(utf32, capacity, &length32, in toUTF32()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | unistr.cpp | 451 UnicodeString UnicodeString::fromUTF32(const UChar32 *utf32, int32_t length) { in fromUTF32() argument 467 utf32, length, in fromUTF32() 1012 UnicodeString::toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const { in toUTF32() argument 1016 u_strToUTF32WithSub(utf32, capacity, &length32, in toUTF32()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | unistr.cpp | 450 UnicodeString UnicodeString::fromUTF32(const UChar32 *utf32, int32_t length) { in fromUTF32() argument 466 utf32, length, in fromUTF32() 1011 UnicodeString::toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const { in toUTF32() argument 1015 u_strToUTF32WithSub(utf32, capacity, &length32, in toUTF32()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | ncnvtst.c | 767 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); in TestRegressionUTF32() local 780 utf32[offset32++] = currCh; in TestRegressionUTF32() 784 …(const uint8_t *)utf32, offset32*sizeof(UChar32), "UTF32_PlatformEndian", 0, TRUE, U_ZERO_ERROR ))… in TestRegressionUTF32() 787 if(!convertToU((const uint8_t *)utf32, offset32*sizeof(UChar32), in TestRegressionUTF32() 793 free(utf32); in TestRegressionUTF32()
|
D | nucnvtst.c | 1154 static const uint8_t utf32[]={ in TestNewConvertWithBufferSizes() local 1199 testConvertToU(utf32, sizeof(utf32), in TestNewConvertWithBufferSizes() 1207 static const uint8_t utf32[]={ in TestNewConvertWithBufferSizes() local 1252 testConvertToU(utf32, sizeof(utf32), in TestNewConvertWithBufferSizes()
|
/third_party/skia/src/ports/ |
D | SkFontHost_win.cpp | 1963 const uint32_t* utf32 = reinterpret_cast<const uint32_t*>(uni); in onCharsToGlyphs() local 1968 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { in onCharsToGlyphs() 1969 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); in onCharsToGlyphs() 1978 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) { in onCharsToGlyphs() 1979 SkUTF::ToUTF16(utf32[glyphIndex], reinterpret_cast<uint16_t*>(scratch)); in onCharsToGlyphs()
|
D | SkTypeface_mac_ct.cpp | 1071 const SkUnichar* utf32 = reinterpret_cast<const SkUnichar*>(uni); in onCharsToGlyphs() local 1075 utf16 += SkUTF::ToUTF16(utf32[i], utf16); in onCharsToGlyphs()
|
/third_party/flutter/skia/src/ports/ |
D | SkFontHost_win.cpp | 1967 const uint32_t* utf32 = reinterpret_cast<const uint32_t*>(uni); in onCharsToGlyphs() local 1972 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { in onCharsToGlyphs() 1973 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); in onCharsToGlyphs() 1982 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) { in onCharsToGlyphs() 1983 SkUTF::ToUTF16(utf32[glyphIndex], reinterpret_cast<uint16_t*>(scratch)); in onCharsToGlyphs()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 1827 static const UChar32 utf32[] = { in TestUTF32() local 1835 UnicodeString from32 = UnicodeString::fromUTF32(utf32, UPRV_LENGTHOF(utf32)); in TestUTF32()
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | unistr.h | 1750 int32_t toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const; 3374 static UnicodeString fromUTF32(const UChar32 *utf32, int32_t length);
|