Lines Matching refs:SWAPW
31 numTables = SWAPW(tempDir.numTables); in FontObject()
32 searchRange = SWAPW(tempDir.searchRange) >> 4; in FontObject()
33 entrySelector = SWAPW(tempDir.entrySelector); in FontObject()
34 rangeShift = SWAPW(tempDir.rangeShift) >> 4; in FontObject()
115 le_uint16 nSubtables = SWAPW(cmapTable->numberSubtables); in findCMAP()
121 if (SWAPW(esh->platformID) == platformID && in findCMAP()
122 SWAPW(esh->platformSpecificID) == platformSpecificID) { in findCMAP()
136 SWAPW(encodingSubtable->format) != 4) { in initUnicodeCMAP()
143 cmSegCount = SWAPW(header->segCountX2) / 2; in initUnicodeCMAP()
144 cmSearchRange = SWAPW(header->searchRange); in initUnicodeCMAP()
145 cmEntrySelector = SWAPW(header->entrySelector); in initUnicodeCMAP()
146 cmRangeShift = SWAPW(header->rangeShift) / 2; in initUnicodeCMAP()
164 if (SWAPW(cmStartCodes[cmRangeShift]) <= unicode) { in unicodeToGlyph()
171 if (SWAPW(cmStartCodes[index + probe]) <= unicode) { in unicodeToGlyph()
176 if (unicode >= SWAPW(cmStartCodes[index]) && unicode <= SWAPW(cmEndCodes[index])) { in unicodeToGlyph()
180 le_uint16 offset = unicode - SWAPW(cmStartCodes[index]); in unicodeToGlyph()
181 le_uint16 rangeOffset = SWAPW(cmIdRangeOffset[index]); in unicodeToGlyph()
184 result = SWAPW(glyphIndexTable[offset]); in unicodeToGlyph()
187 result += SWAPW(cmIdDelta[index]); in unicodeToGlyph()
204 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
217 numGlyphs = SWAPW(maxpTable->numGlyphs); in getGlyphAdvance()
221 numOfLongHorMetrics = SWAPW(hheaTable->numOfLongHorMetrics); in getGlyphAdvance()
237 return SWAPW(hmtxTable->hMetrics[index].advanceWidth); in getGlyphAdvance()