/external/harfbuzz_ng/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++) 74 hb_buffer_add (b, utf32[i], i); 78 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); 213 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 221 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); 225 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[ 761 const uint32_t utf32[8]; member in struct:__anon7823 [all...] |
/external/icu/icu4c/source/common/unicode/ |
H A D | unistr.h | 1733 * @param utf32 destination string buffer, can be NULL if capacity==0 1734 * @param capacity the number of UChar32s available at utf32 1743 int32_t toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const; 3420 * @param utf32 UTF-32 input string. Must not be NULL. 3426 static UnicodeString fromUTF32(const UChar32 *utf32, int32_t length);
|
/external/icu/icu4c/source/common/ |
H A D | unistr.cpp | 451 UnicodeString UnicodeString::fromUTF32(const UChar32 *utf32, int32_t length) { argument 467 utf32, length, 1012 UnicodeString::toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const { argument 1016 u_strToUTF32WithSub(utf32, capacity, &length32,
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | ccapitst.c | 2784 static const uint8_t utf32[]={ local 2859 length=ucnv_fromAlgorithmic(cnv, UCNV_UTF32, target, 0, (const char *)utf32, 4, &errorCode);
|
H A D | ncnvtst.c | 779 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); local 792 utf32[offset32++] = currCh; 796 (const uint8_t *)utf32, offset32*sizeof(UChar32), "UTF32_PlatformEndian", 0, TRUE, U_ZERO_ERROR )) { 799 if(!convertToU((const uint8_t *)utf32, offset32*sizeof(UChar32), 805 free(utf32);
|
H A D | nucnvtst.c | 1153 static const uint8_t utf32[]={ local 1198 testConvertToU(utf32, sizeof(utf32), 1206 static const uint8_t utf32[]={ local 1251 testConvertToU(utf32, sizeof(utf32),
|
/external/icu/icu4c/source/test/intltest/ |
H A D | ustrtest.cpp | 1825 static const UChar32 utf32[] = { local 1833 UnicodeString from32 = UnicodeString::fromUTF32(utf32, UPRV_LENGTHOF(utf32));
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/ |
H A D | DetectingViewer.java | 312 Charset utf32 = CharsetICU.forNameICU(encoding); 318 sb.append(utf32.decode(ByteBuffer.wrap(bytes)).toString());
|
/external/libchrome/base/strings/ |
H A D | utf_string_conversions_unittest.cc | 158 const wchar_t* utf32; member in struct:base::WideToUTF8Case 179 WideToUTF8(test.utf32, wcslen(test.utf32), &converted));
|
/external/skia/src/core/ |
H A D | SkUtils.h | 49 int SkUTF32_CountUnichars(const void* utf32, size_t byteLength);
|
/external/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 1258 const SkUnichar* utf32 = (const SkUnichar*)sourceText; local 1262 utf8ByteCount += SkToU32(SkUTF8_FromUnichar(utf32[i])); 1269 txtPtr += SkUTF8_FromUnichar(utf32[i], txtPtr);
|
H A D | SkPDFUtils.h | 104 inline void WriteUTF16beHex(SkDynamicMemoryWStream* wStream, SkUnichar utf32) { argument 106 size_t len = SkUTF16_FromUnichar(utf32, utf16);
|
/external/skia/src/ports/ |
H A D | SkFontHost_mac.cpp | 2152 const SkUnichar* utf32 = reinterpret_cast<const SkUnichar*>(chars); 2156 utf16 += SkUTF16_FromUnichar(utf32[i], utf16);
|
H A D | SkFontHost_win.cpp | 788 uint16_t SkScalerContext_GDI::generateCharToGlyph(SkUnichar utf32) { argument 792 if (SkUTF16_FromUnichar(utf32, (uint16_t*)utf16) == 1) { 2114 const uint32_t* utf32 = reinterpret_cast<const uint32_t*>(chars); 2119 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { 2120 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); 2129 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) { 2130 SkUTF16_FromUnichar(utf32[glyphIndex], reinterpret_cast<uint16_t*>(scratch));
|
H A D | SkTypeface_win_dw.cpp | 111 const UINT32* utf32 = reinterpret_cast<const UINT32*>(chars); local 112 fDWriteFontFace->GetGlyphIndices(utf32, glyphCount, glyphs);
|
/external/skia/tools/fonts/ |
H A D | SkTestScalerContext.cpp | 145 auto utf32 = (const SkUnichar*)chars; local 152 case kUTF32_Encoding: ch = *utf32++; break;
|
/external/skqp/src/core/ |
H A D | SkUtils.h | 49 int SkUTF32_CountUnichars(const void* utf32, size_t byteLength);
|
/external/skqp/src/pdf/ |
H A D | SkPDFDevice.cpp | 1258 const SkUnichar* utf32 = (const SkUnichar*)sourceText; local 1262 utf8ByteCount += SkToU32(SkUTF8_FromUnichar(utf32[i])); 1269 txtPtr += SkUTF8_FromUnichar(utf32[i], txtPtr);
|
H A D | SkPDFUtils.h | 104 inline void WriteUTF16beHex(SkDynamicMemoryWStream* wStream, SkUnichar utf32) { argument 106 size_t len = SkUTF16_FromUnichar(utf32, utf16);
|
/external/skqp/src/ports/ |
H A D | SkFontHost_mac.cpp | 2152 const SkUnichar* utf32 = reinterpret_cast<const SkUnichar*>(chars); 2156 utf16 += SkUTF16_FromUnichar(utf32[i], utf16);
|
H A D | SkFontHost_win.cpp | 788 uint16_t SkScalerContext_GDI::generateCharToGlyph(SkUnichar utf32) { argument 792 if (SkUTF16_FromUnichar(utf32, (uint16_t*)utf16) == 1) { 2114 const uint32_t* utf32 = reinterpret_cast<const uint32_t*>(chars); 2119 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { 2120 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); 2129 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) { 2130 SkUTF16_FromUnichar(utf32[glyphIndex], reinterpret_cast<uint16_t*>(scratch));
|
H A D | SkTypeface_win_dw.cpp | 111 const UINT32* utf32 = reinterpret_cast<const UINT32*>(chars); local 112 fDWriteFontFace->GetGlyphIndices(utf32, glyphCount, glyphs);
|
/external/skqp/tools/ |
H A D | SkTestScalerContext.cpp | 145 auto utf32 = (const SkUnichar*)chars; local 152 case kUTF32_Encoding: ch = *utf32++; break;
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
H A D | PVRTPrint3D.cpp | 714 const CPVRTArray<PVRTuint32>& utf32) 717 if(utf32.GetSize() == 0) { 730 for(PVRTuint32 uiIndex = 0; uiIndex < utf32.GetSize(); uiIndex++) 732 if(utf32[uiIndex] == 0x0D || utf32[uiIndex] == 0x0A) 740 uiIdx = FindCharacter(utf32[uiIndex]); 747 txNextChar = utf32[uiIndex + 1]; 749 ApplyKerning(utf32[uiIndex], txNextChar, fKernOffset); 710 MeasureText( float * const pfWidth, float * const pfHeight, float fScale, const CPVRTArray<PVRTuint32>& utf32) argument
|
H A D | PVRTPrint3D.h | 345 @param[in] utf32 UTF32 string to take the size of. 351 const CPVRTArray<PVRTuint32>& utf32);
|