/external/skia/include/core/ |
D | SkUtils.h | 90 SkUnichar SkUTF8_ToUnichar(const char utf8[]); 91 SkUnichar SkUTF8_NextUnichar(const char**); 92 SkUnichar SkUTF8_PrevUnichar(const char**); 98 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[] = NULL); 108 SkUnichar SkUTF16_NextUnichar(const uint16_t**); 110 SkUnichar SkUTF16_PrevUnichar(const uint16_t**); 111 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t utf16[] = NULL); 116 inline bool SkUnichar_IsVariationSelector(SkUnichar uni) { in SkUnichar_IsVariationSelector()
|
D | SkString.h | 182 void insertUnichar(size_t offset, SkUnichar); 193 void appendUnichar(SkUnichar uni) { this->insertUnichar((size_t)-1, uni); } in appendUnichar() 204 void prependUnichar(SkUnichar uni) { this->insertUnichar(0, uni); } in prependUnichar()
|
/external/skia/src/core/ |
D | SkUtils.cpp | 208 SkUnichar SkUTF8_ToUnichar(const char utf8[]) { in SkUTF8_ToUnichar() 229 SkUnichar SkUTF8_NextUnichar(const char** ptr) { in SkUTF8_NextUnichar() 251 SkUnichar SkUTF8_PrevUnichar(const char** ptr) { in SkUTF8_PrevUnichar() 266 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[]) { in SkUTF8_FromUnichar() 283 SkDEBUGCODE(SkUnichar orig = uni;) in SkUTF8_FromUnichar() 340 SkUnichar SkUTF16_NextUnichar(const uint16_t** srcPtr) { in SkUTF16_NextUnichar() 344 SkUnichar c = *src++; in SkUTF16_NextUnichar() 359 SkUnichar SkUTF16_PrevUnichar(const uint16_t** srcPtr) { in SkUTF16_PrevUnichar() 363 SkUnichar c = *--src; in SkUTF16_PrevUnichar() 375 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t dst[]) { in SkUTF16_FromUnichar()
|
D | SkGlyphCache.h | 46 const SkGlyph& getUnicharAdvance(SkUnichar); 56 const SkGlyph& getUnicharMetrics(SkUnichar); 64 const SkGlyph& getUnicharMetrics(SkUnichar, SkFixed x, SkFixed y); 71 uint16_t unicharToGlyph(SkUnichar); 76 SkUnichar glyphToUnichar(uint16_t); 195 SkGlyph* lookupByChar(SkUnichar id, MetricsType type, SkFixed x = 0, SkFixed y = 0);
|
D | SkScalerContext.h | 211 uint16_t charToGlyphID(SkUnichar uni) { in charToGlyphID() 218 SkUnichar glyphIDToChar(uint16_t glyphID) { in glyphIDToChar() 292 virtual uint16_t generateCharToGlyph(SkUnichar unichar) = 0; 298 virtual SkUnichar generateGlyphToChar(uint16_t glyphId); 321 SkScalerContext* getContextFromChar(SkUnichar uni, uint16_t* glyphID);
|
D | SkFontMgr.cpp | 61 SkUnichar character) const override { in onMatchFamilyStyleCharacter() 113 SkUnichar character) const { in matchFamilyStyleCharacter()
|
D | SkGlyphCache.cpp | 165 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph() 177 SkUnichar SkGlyphCache::glyphToUnichar(uint16_t glyphID) { in glyphToUnichar() 187 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() 200 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics() 205 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode, in getUnicharMetrics() 223 SkGlyph* SkGlyphCache::lookupByChar(SkUnichar charCode, MetricsType type, SkFixed x, SkFixed y) { in lookupByChar()
|
/external/skia/include/views/ |
D | SkOSMenu.h | 65 void setKeyEquivalent(SkUnichar key) { fKey = key; } in setKeyEquivalent() 66 SkUnichar getKeyEquivalent() const { return fKey; } in getKeyEquivalent() 89 SkUnichar fKey; 103 void assignKeyEquivalentToItem(int itemID, SkUnichar key); 112 bool handleKeyEquivalent(SkUnichar key);
|
D | SkWindow.h | 63 bool handleChar(SkUnichar); 87 virtual bool onHandleChar(SkUnichar);
|
/external/skia/src/ports/ |
D | SkTypeface_win_dw.cpp | 49 static SkUnichar next_utf8(const void** chars) { in next_utf8() 53 static SkUnichar next_utf16(const void** chars) { in next_utf16() 57 static SkUnichar next_utf32(const void** chars) { in next_utf32() 58 const SkUnichar** uniChars = (const SkUnichar**)chars; in next_utf32() 59 SkUnichar uni = **uniChars; in next_utf32() 64 typedef SkUnichar (*EncodingProc)(const void**); 80 const SkUnichar c = next_ucs4_proc(&chars); in onCharsToGlyphs() 289 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() 293 SkAutoTMalloc<SkUnichar> glyphToUni(glyphCount); in populate_glyph_to_unicode() 305 SkTDArray<SkUnichar>(glyphToUni, maxGlyph + 1).swap(*glyphToUnicode); in populate_glyph_to_unicode()
|
D | SkFontHost_FreeType.cpp | 197 uint16_t generateCharToGlyph(SkUnichar uni) override; 203 SkUnichar generateGlyphToChar(uint16_t glyph) override; 413 static void populate_glyph_to_unicode(FT_Face& face, SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() 446 sizeof(SkUnichar) * face->num_glyphs); in populate_glyph_to_unicode() 451 for (SkUnichar charCode = FT_Get_First_Char(face, &glyphIndex); in populate_glyph_to_unicode() 979 uint16_t SkScalerContext_FreeType::generateCharToGlyph(SkUnichar uni) { in generateCharToGlyph() 983 SkUnichar SkScalerContext_FreeType::generateGlyphToChar(uint16_t glyph) { in generateGlyphToChar() 986 SkUnichar charCode = FT_Get_First_Char( fFace, &glyphIndex ); in generateGlyphToChar() 1449 static SkUnichar next_utf8(const void** chars) { in next_utf8() 1453 static SkUnichar next_utf16(const void** chars) { in next_utf16() [all …]
|
D | SkScalerContext_win_dw.h | 28 uint16_t generateCharToGlyph(SkUnichar uni) override;
|
D | SkFontHost_mac.cpp | 622 uint16_t generateCharToGlyph(SkUnichar uni) override; 993 uint16_t SkScalerContext_Mac::generateCharToGlyph(SkUnichar uni) { in generateCharToGlyph() 1462 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode_slow() 1464 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode_slow() 1465 sk_bzero(out, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode_slow() 1483 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() 1508 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode() 1509 sk_bzero(out, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode() 1961 SkUnichar uni = SkUTF8_NextUnichar(&utf8); in onCharsToGlyphs() 1979 const SkUnichar* utf32 = reinterpret_cast<const SkUnichar*>(chars); in onCharsToGlyphs() [all …]
|
/external/skia/tests/ |
D | PaintTest.cpp | 21 static size_t uni_to_utf8(const SkUnichar src[], void* dst, int count) { in uni_to_utf8() 30 static size_t uni_to_utf16(const SkUnichar src[], void* dst, int count) { in uni_to_utf16() 39 static size_t uni_to_utf32(const SkUnichar src[], void* dst, int count) { in uni_to_utf32() 40 SkUnichar* u32 = (SkUnichar*)dst; in uni_to_utf32() 42 memcpy(u32, src, count * sizeof(SkUnichar)); in uni_to_utf32() 44 return count * sizeof(SkUnichar); in uni_to_utf32() 69 SkUnichar src[NGLYPHS]; in DEF_TEST() 70 SkUnichar dst[NGLYPHS]; // used for utf8, utf16, utf32 storage in DEF_TEST() 73 size_t (*fSeedTextProc)(const SkUnichar[], void* dst, int count); in DEF_TEST()
|
D | UtilsTest.cpp | 168 static const SkUnichar gUni[] = { in test_utf16() 180 SkUnichar c = SkUTF16_NextUnichar(&ptr); in test_utf16() 189 SkUnichar fUni; in DEF_TEST() 207 SkUnichar u0 = SkUTF8_ToUnichar(gTest[i].fUtf8); in DEF_TEST() 208 SkUnichar u1 = SkUTF8_NextUnichar(&p); in DEF_TEST()
|
D | UnicodeTest.cpp | 20 static bool isUVS(SkUnichar uni) { in isUVS() 28 static const SkUnichar gRanges[] = { in test_uvs() 33 for (SkUnichar uni = gRanges[i] - 8; uni <= gRanges[i+1] + 8; ++uni) { in test_uvs()
|
D | ToUnicodeTest.cpp | 26 void append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode, 34 SkTDArray<SkUnichar> glyphToUnicode; in DEF_TEST() 152 for (SkUnichar i = 0; i < 100; ++i) { in DEF_TEST()
|
/external/skia/src/utils/debugger/ |
D | SkObjectParser.cpp | 344 const SkUnichar* begin = (const SkUnichar*)text; in TextToString() 345 const SkUnichar* end = (const SkUnichar*)((const char*)text + byteLength); in TextToString() 346 for (const SkUnichar* unichar = begin; unichar < end; ++unichar) { in TextToString()
|
/external/skia/src/fonts/ |
D | SkGScalerContext.cpp | 20 uint16_t generateCharToGlyph(SkUnichar) override; 74 uint16_t SkGScalerContext::generateCharToGlyph(SkUnichar uni) { in generateCharToGlyph() 235 int unicharToGlyph(SkUnichar) const; 251 SkUnichar fUni;
|
D | SkTestScalerContext.h | 37 int codeToIndex(SkUnichar charCode) const; 41 mutable SkUnichar fDebugOverage[8];
|
D | SkTestScalerContext.cpp | 50 int SkTestFont::codeToIndex(SkUnichar charCode) const { in codeToIndex() 172 SkUnichar ch = ((SkUnichar*) chars)[index]; in onCharsToGlyphs() 208 uint16_t generateCharToGlyph(SkUnichar uni) override { in generateCharToGlyph()
|
/external/skia/include/ports/ |
D | SkFontMgr.h | 79 SkUnichar character) const; 126 SkUnichar character) const = 0;
|
D | SkRemotableFontMgr.h | 139 SkUnichar character) const=0;
|
/external/skia/src/sfnt/ |
D | SkOTTable_name.cpp | 16 static SkUnichar SkUTF16BE_NextUnichar(const uint16_t** srcPtr) { in SkUTF16BE_NextUnichar() 20 SkUnichar c = SkEndian_SwapBE16(*src++); in SkUTF16BE_NextUnichar()
|
/external/skia/example/ |
D | HelloWorld.h | 55 bool onHandleChar(SkUnichar unichar) override;
|