Searched refs:SkEndian_SwapBE16 (Results 1 – 11 of 11) sorted by relevance
20 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()
47 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(SkToU16(fontNameLen * sizeof(wchar_t))); in RenameFont()137 nameString[i] = SkEndian_SwapBE16(fontName[i]); in RenameFont()
43 … : uint32_t(SkEndian_SwapBE16(*fLocaPtr.shortOffset) << 1); in advance()
394 (1 == SkEndian_SwapBE16(hheaTable->numberOfHMetrics))); in onGetAdvancedTypefaceMetrics()419 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedTypefaceMetrics()420 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedTypefaceMetrics()421 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedTypefaceMetrics()422 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedTypefaceMetrics()
522 metrics->fTop = -fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->yMax) / upem; in generateFontMetrics()523 metrics->fBottom = -fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->yMin) / upem; in generateFontMetrics()524 metrics->fXMin = fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->xMin) / upem; in generateFontMetrics()525 metrics->fXMax = fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->xMax) / upem; in generateFontMetrics()
945 fFBoundingBoxesGlyphOffset = SkEndian_SwapBE16(hheaTable->numberOfHMetrics); in getFBoundingBoxesGlyphOffset()980 rect.fMinX = SkEndian_SwapBE16(glyphData->xMin); in generateBBoxes()981 rect.fMinY = SkEndian_SwapBE16(glyphData->yMin); in generateBBoxes()982 rect.fMaxX = SkEndian_SwapBE16(glyphData->xMax); in generateBBoxes()983 rect.fMaxY = SkEndian_SwapBE16(glyphData->yMax); in generateBBoxes()1729 header->numTables = SkEndian_SwapBE16(numTables); in onOpenStream()1730 header->searchRange = SkEndian_SwapBE16(searchRange); in onOpenStream()1731 header->entrySelector = SkEndian_SwapBE16(entrySelector); in onOpenStream()1732 header->rangeShift = SkEndian_SwapBE16(rangeShift); in onOpenStream()
162 return SkEndian_SwapBE16(glyphs); in calculateGlyphCount()2252 int numTables = SkEndian_SwapBE16(header.numTables); in onGetTableTags()
116 #define SkEndian_SwapBE16(n) SkEndianSwap16(n) macro130 #define SkEndian_SwapBE16(n) (n) macro
43 tableUPEM = SkEndian_SwapBE16(rawUPEM); in test_unitsPerEm()62 tableGlyphs = SkEndian_SwapBE16(rawGlyphs); in test_countGlyphs()
98 return SkEndian_SwapBE16(header->fSingle.fNumTables); in count_tables()
394 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in subset_typeface()