Lines Matching refs:SWAPW
48 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in PortableFontInstance()
49 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in PortableFontInstance()
50 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance()
52 fNumLongHorMetrics = SWAPW(hheaTable->numOfLongHorMetrics); in PortableFontInstance()
99 realThis->fNameCount = SWAPW(realThis->fNAMETable->count); in getNameString()
100 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getNameString()
107 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getNameString()
108 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getNameString()
109 char *name = ((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset); in getNameString()
110 le_uint16 length = SWAPW(nameRecord->length); in getNameString()
132 realThis->fNameCount = SWAPW(realThis->fNAMETable->count); in getUnicodeNameString()
133 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getUnicodeNameString()
140 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getUnicodeNameString()
141 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getUnicodeNameString()
142 …LEUnicode16 *name = (LEUnicode16 *) (((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord-… in getUnicodeNameString()
143 le_uint16 length = SWAPW(nameRecord->length) / 2; in getUnicodeNameString()
147 result[c] = SWAPW(name[c]); in getUnicodeNameString()
180 realThis->fNumGlyphs = SWAPW(maxpTable->numGlyphs); in getGlyphAdvance()
197 advance.fX = xUnitsToPoints(SWAPW(fHMTXTable->hMetrics[index].advanceWidth)); in getGlyphAdvance()