Home
last modified time | relevance | path

Searched refs:SkEndian_SwapBE16 (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/third_party/skia/src/sfnt/
DSkOTTable_name.cpp20 SkUnichar c = SkEndian_SwapBE16(*src++); in SkUTF16BE_NextUnichar()
24 unsigned c2 = SkEndian_SwapBE16(*src++); in SkUTF16BE_NextUnichar()
441 const size_t nameRecordsCount = SkEndian_SwapBE16(fName.count); in next()
457 const uint16_t stringTableOffset = SkEndian_SwapBE16(fName.stringOffset); in next()
461 const uint16_t nameOffset = SkEndian_SwapBE16(nameRecord->offset); in next()
462 const uint16_t nameLength = SkEndian_SwapBE16(nameRecord->length); in next()
501 const uint16_t languageID = SkEndian_SwapBE16(nameRecord->languageID.languageTagID); in next()
510 if (languageTagRecordIndex < SkEndian_SwapBE16(format1ext->langTagCount)) { in next()
514 uint16_t offset = SkEndian_SwapBE16(languageTagRecord[languageTagRecordIndex].offset); in next()
515 uint16_t length = SkEndian_SwapBE16(languageTagRecord[languageTagRecordIndex].length); in next()
DSkOTUtils.cpp47 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont()
122 nameTable->count = SkEndian_SwapBE16(namesCount); in RenameFont()
123 nameTable->stringOffset = SkEndian_SwapBE16(stringOffset); in RenameFont()
131 nameRecords[i].offset = SkEndian_SwapBE16(0); in RenameFont()
132 nameRecords[i].length = SkEndian_SwapBE16(fontNameLen * sizeof(wchar_t)); in RenameFont()
137 nameString[i] = SkEndian_SwapBE16(fontName[i]); in RenameFont()
DSkOTTable_glyf.h43 … : uint32_t(SkEndian_SwapBE16(*fLocaPtr.shortOffset) << 1); in advance()
/external/skia/src/sfnt/
DSkOTTable_name.cpp20 SkUnichar c = SkEndian_SwapBE16(*src++); in SkUTF16BE_NextUnichar()
24 unsigned c2 = SkEndian_SwapBE16(*src++); in SkUTF16BE_NextUnichar()
441 const size_t nameRecordsCount = SkEndian_SwapBE16(fName.count); in next()
457 const uint16_t stringTableOffset = SkEndian_SwapBE16(fName.stringOffset); in next()
461 const uint16_t nameOffset = SkEndian_SwapBE16(nameRecord->offset); in next()
462 const uint16_t nameLength = SkEndian_SwapBE16(nameRecord->length); in next()
501 const uint16_t languageID = SkEndian_SwapBE16(nameRecord->languageID.languageTagID); in next()
510 if (languageTagRecordIndex < SkEndian_SwapBE16(format1ext->langTagCount)) { in next()
514 uint16_t offset = SkEndian_SwapBE16(languageTagRecord[languageTagRecordIndex].offset); in next()
515 uint16_t length = SkEndian_SwapBE16(languageTagRecord[languageTagRecordIndex].length); in next()
DSkOTUtils.cpp47 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont()
122 nameTable->count = SkEndian_SwapBE16(namesCount); in RenameFont()
123 nameTable->stringOffset = SkEndian_SwapBE16(stringOffset); in RenameFont()
131 nameRecords[i].offset = SkEndian_SwapBE16(0); in RenameFont()
132 nameRecords[i].length = SkEndian_SwapBE16(fontNameLen * sizeof(wchar_t)); in RenameFont()
137 nameString[i] = SkEndian_SwapBE16(fontName[i]); in RenameFont()
DSkOTTable_glyf.h43 … : uint32_t(SkEndian_SwapBE16(*fLocaPtr.shortOffset) << 1); in advance()
/external/chromium_org/third_party/skia/include/core/
DSkEndian.h117 #define SkEndian_SwapBE16(n) SkEndianSwap16(n) macro
131 #define SkEndian_SwapBE16(n) (n) macro
/external/skia/include/core/
DSkEndian.h117 #define SkEndian_SwapBE16(n) SkEndianSwap16(n) macro
131 #define SkEndian_SwapBE16(n) (n) macro
/external/skia/tests/
DFontHostTest.cpp44 tableUPEM = SkEndian_SwapBE16(rawUPEM); in test_unitsPerEm()
66 tableGlyphs = SkEndian_SwapBE16(rawGlyphs); in test_countGlyphs()
/external/skia/src/ports/
DSkFontHost_mac.cpp894 fFBoundingBoxesGlyphOffset = SkEndian_SwapBE16(hheaTable->numberOfHMetrics); in getFBoundingBoxesGlyphOffset()
929 rect.fMinX = SkEndian_SwapBE16(glyphData->xMin); in generateBBoxes()
930 rect.fMinY = SkEndian_SwapBE16(glyphData->yMin); in generateBBoxes()
931 rect.fMaxX = SkEndian_SwapBE16(glyphData->xMax); in generateBBoxes()
932 rect.fMaxY = SkEndian_SwapBE16(glyphData->yMax); in generateBBoxes()
1712 header->numTables = SkEndian_SwapBE16(numTables); in onOpenStream()
1713 header->searchRange = SkEndian_SwapBE16(searchRange); in onOpenStream()
1714 header->entrySelector = SkEndian_SwapBE16(entrySelector); in onOpenStream()
1715 header->rangeShift = SkEndian_SwapBE16(rangeShift); in onOpenStream()
DSkFontHost_win_dw.cpp1553 (1 == SkEndian_SwapBE16(hheaTable->numberOfHMetrics))); in onGetAdvancedTypefaceMetrics()
1578 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedTypefaceMetrics()
1579 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedTypefaceMetrics()
1580 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedTypefaceMetrics()
1581 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedTypefaceMetrics()
DSkFontHost_win.cpp170 return SkEndian_SwapBE16(glyphs); in calculateGlyphCount()
2333 int numTables = SkEndian_SwapBE16(header.numTables); in onGetTableTags()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_mac.cpp894 fFBoundingBoxesGlyphOffset = SkEndian_SwapBE16(hheaTable->numberOfHMetrics); in getFBoundingBoxesGlyphOffset()
929 rect.fMinX = SkEndian_SwapBE16(glyphData->xMin); in generateBBoxes()
930 rect.fMinY = SkEndian_SwapBE16(glyphData->yMin); in generateBBoxes()
931 rect.fMaxX = SkEndian_SwapBE16(glyphData->xMax); in generateBBoxes()
932 rect.fMaxY = SkEndian_SwapBE16(glyphData->yMax); in generateBBoxes()
1712 header->numTables = SkEndian_SwapBE16(numTables); in onOpenStream()
1713 header->searchRange = SkEndian_SwapBE16(searchRange); in onOpenStream()
1714 header->entrySelector = SkEndian_SwapBE16(entrySelector); in onOpenStream()
1715 header->rangeShift = SkEndian_SwapBE16(rangeShift); in onOpenStream()
DSkFontHost_win_dw.cpp1553 (1 == SkEndian_SwapBE16(hheaTable->numberOfHMetrics))); in onGetAdvancedTypefaceMetrics()
1578 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedTypefaceMetrics()
1579 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedTypefaceMetrics()
1580 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedTypefaceMetrics()
1581 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedTypefaceMetrics()
DSkFontHost_win.cpp170 return SkEndian_SwapBE16(glyphs); in calculateGlyphCount()
2333 int numTables = SkEndian_SwapBE16(header.numTables); in onGetTableTags()
/external/skia/src/core/
DSkFontStream.cpp98 return SkEndian_SwapBE16(header->fSingle.fNumTables); in count_tables()
/external/chromium_org/third_party/skia/src/core/
DSkFontStream.cpp98 return SkEndian_SwapBE16(header->fSingle.fNumTables); in count_tables()
/external/chromium_org/third_party/skia/src/device/xps/
DSkXPSDevice.cpp393 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in subset_typeface()
/external/skia/src/device/xps/
DSkXPSDevice.cpp393 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in subset_typeface()