/external/skia/src/sfnt/ |
D | SkOTTable_name.cpp | 28 SkUnichar c = SkEndian_SwapBE16(leading); in next_unichar_UTF16BE() 40 SkUnichar c2 = SkEndian_SwapBE16(trailing); in next_unichar_UTF16BE() 468 const size_t stringTableOffset = SkEndian_SwapBE16(nameTable.stringOffset); in next() 477 const size_t nameRecordsCount = SkEndian_SwapBE16(nameTable.count); in next() 491 const size_t nameOffset = SkEndian_SwapBE16(nameRecord.offset); in next() 492 const size_t nameLength = SkEndian_SwapBE16(nameRecord.length); in next() 534 const uint16_t languageID = SkEndian_SwapBE16(nameRecord.languageID.languageTagID); in next() 553 if (languageTagRecordIndex < SkEndian_SwapBE16(format1ext.langTagCount)) { in next() 562 uint16_t languageOffset = SkEndian_SwapBE16(languageTagRecord.offset); in next() 563 uint16_t languageLength = SkEndian_SwapBE16(languageTagRecord.length); in next()
|
D | SkOTUtils.cpp | 50 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont() 133 nameTable->count = SkEndian_SwapBE16(encodings.size() * names.size()); in RenameFont() 134 nameTable->stringOffset = SkEndian_SwapBE16(stringOffset); in RenameFont() 143 nameRecord->offset = SkEndian_SwapBE16(0); in RenameFont() 144 nameRecord->length = SkEndian_SwapBE16(SkToU16(fontNameLen * sizeof(SK_OT_USHORT))); in RenameFont() 151 nameString[i] = SkEndian_SwapBE16(fontName[i]); in RenameFont()
|
D | SkOTTable_glyf.h | 42 … : uint32_t(SkEndian_SwapBE16(*fLocaPtr.shortOffset) << 1); in advance()
|
/external/skqp/src/sfnt/ |
D | SkOTTable_name.cpp | 28 SkUnichar c = SkEndian_SwapBE16(leading); in next_unichar_UTF16BE() 40 SkUnichar c2 = SkEndian_SwapBE16(trailing); in next_unichar_UTF16BE() 468 const size_t stringTableOffset = SkEndian_SwapBE16(nameTable.stringOffset); in next() 477 const size_t nameRecordsCount = SkEndian_SwapBE16(nameTable.count); in next() 491 const size_t nameOffset = SkEndian_SwapBE16(nameRecord.offset); in next() 492 const size_t nameLength = SkEndian_SwapBE16(nameRecord.length); in next() 534 const uint16_t languageID = SkEndian_SwapBE16(nameRecord.languageID.languageTagID); in next() 553 if (languageTagRecordIndex < SkEndian_SwapBE16(format1ext.langTagCount)) { in next() 562 uint16_t languageOffset = SkEndian_SwapBE16(languageTagRecord.offset); in next() 563 uint16_t languageLength = SkEndian_SwapBE16(languageTagRecord.length); in next()
|
D | SkOTUtils.cpp | 50 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont() 125 nameTable->count = SkEndian_SwapBE16(namesCount); in RenameFont() 126 nameTable->stringOffset = SkEndian_SwapBE16(stringOffset); in RenameFont() 134 nameRecords[i].offset = SkEndian_SwapBE16(0); in RenameFont() 135 nameRecords[i].length = SkEndian_SwapBE16(SkToU16(fontNameLen * sizeof(wchar_t))); in RenameFont() 140 nameString[i] = SkEndian_SwapBE16(fontName[i]); in RenameFont()
|
D | SkOTTable_glyf.h | 42 … : uint32_t(SkEndian_SwapBE16(*fLocaPtr.shortOffset) << 1); in advance()
|
/external/skia/src/ports/ |
D | SkTypeface_win_dw.cpp | 490 (1 == SkEndian_SwapBE16(hheaTable->numberOfHMetrics))); in onGetAdvancedMetrics() 522 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedMetrics() 523 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedMetrics() 524 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedMetrics() 525 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedMetrics()
|
D | SkScalerContext_win_dw.cpp | 111 range->fVersion = SkEndian_SwapBE16(gasp->version); in get_gasp_range() 781 metrics->fTop = -fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->yMax) / upem; in generateFontMetrics() 782 metrics->fBottom = -fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->yMin) / upem; in generateFontMetrics() 783 metrics->fXMin = fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->xMin) / upem; in generateFontMetrics() 784 metrics->fXMax = fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->xMax) / upem; in generateFontMetrics()
|
D | SkFontHost_mac.cpp | 1672 uint16_t xHeight = SkEndian_SwapBE16(heights.sxHeight); in generateFontMetrics() 1676 uint16_t capHeight = SkEndian_SwapBE16(heights.sCapHeight); in generateFontMetrics() 2019 header->numTables = SkEndian_SwapBE16(numTables); in onOpenStream() 2020 header->searchRange = SkEndian_SwapBE16(searchRange); in onOpenStream() 2021 header->entrySelector = SkEndian_SwapBE16(entrySelector); in onOpenStream() 2022 header->rangeShift = SkEndian_SwapBE16(rangeShift); in onOpenStream()
|
D | SkFontHost_win.cpp | 169 return SkEndian_SwapBE16(glyphs); in calculateGlyphCount() 2031 int numTables = SkEndian_SwapBE16(header.numTables); in onGetTableTags()
|
/external/skia/src/core/ |
D | SkEndian.h | 116 #define SkEndian_SwapBE16(n) SkEndianSwap16(n) macro 130 #define SkEndian_SwapBE16(n) (n) macro
|
D | SkFontStream.cpp | 99 return SkEndian_SwapBE16(header->fSingle.fNumTables); in count_tables()
|
D | SkICC.cpp | 186 ptr[2] = (uint32_t) (SkEndian_SwapBE16(kGABCDEF_ParaCurveType)); in write_trc_tag()
|
/external/skqp/src/core/ |
D | SkEndian.h | 116 #define SkEndian_SwapBE16(n) SkEndianSwap16(n) macro 130 #define SkEndian_SwapBE16(n) (n) macro
|
D | SkFontStream.cpp | 99 return SkEndian_SwapBE16(header->fSingle.fNumTables); in count_tables()
|
D | SkICC.cpp | 186 ptr[2] = (uint32_t) (SkEndian_SwapBE16(kGABCDEF_ParaCurveType)); in write_trc_tag()
|
/external/skqp/src/ports/ |
D | SkTypeface_win_dw.cpp | 534 (1 == SkEndian_SwapBE16(hheaTable->numberOfHMetrics))); in onGetAdvancedMetrics() 566 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedMetrics() 567 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedMetrics() 568 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedMetrics() 569 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedMetrics()
|
D | SkScalerContext_win_dw.cpp | 110 range->fVersion = SkEndian_SwapBE16(gasp->version); in get_gasp_range() 784 metrics->fTop = -fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->yMax) / upem; in generateFontMetrics() 785 metrics->fBottom = -fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->yMin) / upem; in generateFontMetrics() 786 metrics->fXMin = fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->xMin) / upem; in generateFontMetrics() 787 metrics->fXMax = fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->xMax) / upem; in generateFontMetrics()
|
D | SkFontHost_mac.cpp | 1508 uint16_t xHeight = SkEndian_SwapBE16(heights.sxHeight); in generateFontMetrics() 1512 uint16_t capHeight = SkEndian_SwapBE16(heights.sCapHeight); in generateFontMetrics() 1861 header->numTables = SkEndian_SwapBE16(numTables); in onOpenStream() 1862 header->searchRange = SkEndian_SwapBE16(searchRange); in onOpenStream() 1863 header->entrySelector = SkEndian_SwapBE16(entrySelector); in onOpenStream() 1864 header->rangeShift = SkEndian_SwapBE16(rangeShift); in onOpenStream()
|
D | SkFontHost_win.cpp | 168 return SkEndian_SwapBE16(glyphs); in calculateGlyphCount() 2150 int numTables = SkEndian_SwapBE16(header.numTables); in onGetTableTags()
|
/external/skqp/tests/ |
D | TypefaceTest.cpp | 39 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test() 50 os2Table->usWeightClass.value = SkEndian_SwapBE16(weight); in TypefaceStyle_test() 52 os2Table->usWidthClass.value = static_cast<WidthType>(SkEndian_SwapBE16(width)); in TypefaceStyle_test()
|
D | FontHostTest.cpp | 45 tableUPEM = SkEndian_SwapBE16(rawUPEM); in test_unitsPerEm() 64 tableGlyphs = SkEndian_SwapBE16(rawGlyphs); in test_countGlyphs()
|
/external/skia/tests/ |
D | TypefaceTest.cpp | 43 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test() 54 os2Table->usWeightClass.value = SkEndian_SwapBE16(weight); in TypefaceStyle_test() 56 os2Table->usWidthClass.value = static_cast<WidthType>(SkEndian_SwapBE16(width)); in TypefaceStyle_test()
|
D | FontHostTest.cpp | 45 tableUPEM = SkEndian_SwapBE16(rawUPEM); in test_unitsPerEm() 64 tableGlyphs = SkEndian_SwapBE16(rawGlyphs); in test_countGlyphs()
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 380 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in subset_typeface()
|