/third_party/icu/icu4c/source/tools/icuexportdata/ |
H A D | icuexportdata.cpp | 329 UChar32 utf32[DECOMPOSITION_BUFFER_SIZE]; in writeCanonicalCompositions() local 341 int32_t len = decomposition.toUTF32(utf32, DECOMPOSITION_BUFFER_SIZE, status); in writeCanonicalCompositions() 345 UChar32 starter = utf32[0]; in writeCanonicalCompositions() 346 UChar32 second = utf32[1]; in writeCanonicalCompositions() 568 UChar32 utf32[DECOMPOSITION_BUFFER_SIZE]; in computeDecompositions() local 616 int32_t len = dst.toUTF32(utf32, DECOMPOSITION_BUFFER_SIZE, status); in computeDecompositions() 617 if (!len || (len == 1 && utf32[0] == 0xFFFD && c != 0xFFFD)) { in computeDecompositions() 631 len = dst.toUTF32(utf32, DECOMPOSITION_BUFFER_SIZE, status); in computeDecompositions() 632 if (!len || (len == 1 && utf32[0] == 0xFFFD && c != 0xFFFD)) { in computeDecompositions() 641 uint8_t firstCombiningClass = u_getCombiningClass(utf32[ in computeDecompositions() [all...] |
/third_party/node/deps/icu-small/source/tools/icuexportdata/ |
H A D | icuexportdata.cpp | 506 UChar32 utf32[DECOMPOSITION_BUFFER_SIZE]; in writeCanonicalCompositions() local 518 int32_t len = decomposition.toUTF32(utf32, DECOMPOSITION_BUFFER_SIZE, status); in writeCanonicalCompositions() 522 UChar32 starter = utf32[0]; in writeCanonicalCompositions() 523 UChar32 second = utf32[1]; in writeCanonicalCompositions() 772 UChar32 utf32[DECOMPOSITION_BUFFER_SIZE]; in computeDecompositions() local 820 int32_t len = dst.toUTF32(utf32, DECOMPOSITION_BUFFER_SIZE, status); in computeDecompositions() 821 if (!len || (len == 1 && utf32[0] == 0xFFFD && c != 0xFFFD)) { in computeDecompositions() 835 len = dst.toUTF32(utf32, DECOMPOSITION_BUFFER_SIZE, status); in computeDecompositions() 836 if (!len || (len == 1 && utf32[0] == 0xFFFD && c != 0xFFFD)) { in computeDecompositions() 845 uint8_t firstCombiningClass = u_getCombiningClass(utf32[ in computeDecompositions() [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-buffer.c | 34 static const uint32_t utf32[7] = {'a', 'b', 0x20000, 'd', 'e', 'f', 'g'}; variable 49 "utf32", 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[ in test_buffer_contents() 762 const uint32_t utf32[8]; global() member [all...] |
/third_party/skia/src/utils/ |
H A 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()
|
H A D | SkUTF.h | 30 SK_SPI int CountUTF32(const int32_t* utf32, size_t byteLength);
|
/third_party/skia/src/pdf/ |
H A 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/ |
H A D | DetectingViewer.java | 312 Charset utf32 = CharsetICU.forNameICU(encoding); in show() 318 sb.append(utf32.decode(ByteBuffer.wrap(bytes)).toString()); in show()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | collationdatabuilder.cpp | 627 UChar32 utf32[4]; in addCE32() local 628 int32_t len = prefix.toUTF32(utf32, 4, errorCode); in addCE32() 633 UChar32 c = utf32[0]; in addCE32() 650 if ((len > 1) && !(utf32[1] == 0x3099 || utf32[1] == 0x309A)) { in addCE32()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationdatabuilder.cpp | 627 UChar32 utf32[4]; in addCE32() local 628 int32_t len = prefix.toUTF32(utf32, 4, errorCode); in addCE32() 633 UChar32 c = utf32[0]; in addCE32() 650 if ((len > 1) && !(utf32[1] == 0x3099 || utf32[1] == 0x309A)) { in addCE32()
|
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/ |
H A D | utf32.js | 188 // Encoder/decoder default can be changed: iconv.decode(buf, 'utf32', {defaultEncoding: 'utf-32be'}); 192 exports.utf32 = Utf32AutoCodec; 193 exports.ucs4 = 'utf32';
|
/third_party/icu/icu4c/source/common/ |
H A 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/node/deps/icu-small/source/common/ |
H A D | unistr.cpp | 451 UnicodeString UnicodeString::fromUTF32(const UChar32 *utf32, int32_t length) { in fromUTF32() argument 467 utf32, length, in fromUTF32() 1054 UnicodeString::toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const { in toUTF32() argument 1058 u_strToUTF32WithSub(utf32, capacity, &length32, in toUTF32()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A 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/ |
H A D | ncnvtst.c | 768 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); in TestRegressionUTF32() local 781 utf32[offset32++] = currCh; in TestRegressionUTF32() 785 (const uint8_t *)utf32, offset32*sizeof(UChar32), "UTF32_PlatformEndian", 0, true, U_ZERO_ERROR )) { in TestRegressionUTF32() 788 if(!convertToU((const uint8_t *)utf32, offset32*sizeof(UChar32), in TestRegressionUTF32() 794 free(utf32); in TestRegressionUTF32()
|
H A D | nucnvtst.c | 1155 static const uint8_t utf32[]={ in TestNewConvertWithBufferSizes() local 1200 testConvertToU(utf32, sizeof(utf32), in TestNewConvertWithBufferSizes() 1208 static const uint8_t utf32[]={ in TestNewConvertWithBufferSizes() local 1253 testConvertToU(utf32, sizeof(utf32), in TestNewConvertWithBufferSizes()
|
H A D | ccapitst.c | 2938 static const uint8_t utf32[]={ in TestConvertAlgorithmic() local 3013 length=ucnv_fromAlgorithmic(cnv, UCNV_UTF32, target, 0, (const char *)utf32, 4, &errorCode); in TestConvertAlgorithmic()
|
/third_party/skia/src/ports/ |
H A D | SkFontHost_win.cpp | 1963 const uint32_t* utf32 = reinterpret_cast<const uint32_t*>(uni); 1968 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { 1969 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); 1978 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) { 1979 SkUTF::ToUTF16(utf32[glyphIndex], reinterpret_cast<uint16_t*>(scratch));
|
H A D | SkTypeface_mac_ct.cpp | 1071 const SkUnichar* utf32 = reinterpret_cast<const SkUnichar*>(uni); 1075 utf16 += SkUTF::ToUTF16(utf32[i], utf16);
|
/third_party/node/deps/simdutf/ |
H A D | simdutf.cpp | 10644 /* begin file src/scalar/utf32.h */ 10651 namespace utf32 { namespace 10707 return len; // a utf32 codepoint will always represent 1 latin1 character in latin1_length_from_utf32() 10712 } // utf32 namespace 10718 /* end file src/scalar/utf32.h */ 10730 return len; // a utf32 unit will always represent 1 latin1 character in utf32_length_from_latin1() 10746 } // utf32 namespace 12871 if (vmaxvq_u32(is_zero) == 0 && scalar::utf32::validate(reinterpret_cast<const char32_t*>(buf), (len - (buf - start))/4)) { in arm_detect_encodings() 13461 // Convert up to 12 bytes from utf8 to utf32 using a mask indicating the 16812 return scalar::utf32 [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | ustrtest.cpp | 1843 static const UChar32 utf32[] = { in TestUTF32() local 1851 UnicodeString from32 = UnicodeString::fromUTF32(utf32, UPRV_LENGTHOF(utf32)); in TestUTF32()
|
/third_party/icu/icu4c/source/common/unicode/ |
H A D | unistr.h | 1740 * @param utf32 destination string buffer, can be NULL if capacity==0 1741 * @param capacity the number of UChar32s available at utf32 1750 int32_t toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const; 3368 * @param utf32 UTF-32 input string. Must not be NULL. 3374 static UnicodeString fromUTF32(const UChar32 *utf32, int32_t length);
|
/third_party/node/deps/icu-small/source/common/unicode/ |
H A D | unistr.h | 1740 * @param utf32 destination string buffer, can be nullptr if capacity==0 1741 * @param capacity the number of UChar32s available at utf32 1750 int32_t toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const; 3368 * @param utf32 UTF-32 input string. Must not be nullptr. 3374 static UnicodeString fromUTF32(const UChar32 *utf32, int32_t length);
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | unistr.h | 1740 * @param utf32 destination string buffer, can be NULL if capacity==0 1741 * @param capacity the number of UChar32s available at utf32 1750 int32_t toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const; 3368 * @param utf32 UTF-32 input string. Must not be NULL. 3374 static UnicodeString fromUTF32(const UChar32 *utf32, int32_t length);
|
/third_party/node/deps/ada/ |
H A D | ada.cpp | 9648 std::u32string utf32(utf32_length, '\0'); 9650 ut8_string.data(), ut8_string.size(), utf32.data()); 9655 utf32 = ada::idna::map(utf32); 9656 normalize(utf32); 9660 while (label_start != utf32.size()) { 9661 size_t loc_dot = utf32.find('.', label_start); 9664 is_last_label ? utf32.size() - label_start : loc_dot - label_start; 9666 std::u32string_view label_view(utf32.data() + label_start, label_size);
|
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A D | api.js | [all...] |