Lines Matching refs:SWAPW

103 …le_int32 dirSize = sizeof tempDir + ((SWAPW(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEnt…  in PortableFontInstance()
126 numTables = SWAPW(fDirectory->numTables); in PortableFontInstance()
139 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
167 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in PortableFontInstance()
168 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in PortableFontInstance()
169 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance()
171 fNumLongHorMetrics = SWAPW(hheaTable->numOfLongHorMetrics); in PortableFontInstance()
290 realThis->fNameCount = SWAPW(realThis->fNAMETable->count); in getNameString()
291 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getNameString()
298 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getNameString()
299 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getNameString()
300 char *name = ((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset); in getNameString()
301 le_uint16 length = SWAPW(nameRecord->length); in getNameString()
323 realThis->fNameCount = SWAPW(realThis->fNAMETable->count); in getUnicodeNameString()
324 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getUnicodeNameString()
331 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getUnicodeNameString()
332 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getUnicodeNameString()
333 …LEUnicode16 *name = (LEUnicode16 *) (((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord-… in getUnicodeNameString()
334 le_uint16 length = SWAPW(nameRecord->length) / 2; in getUnicodeNameString()
338 result[c] = SWAPW(name[c]); in getUnicodeNameString()
371 realThis->fNumGlyphs = SWAPW(maxpTable->numGlyphs); in getGlyphAdvance()
389 advance.fX = xUnitsToPoints(SWAPW(fHMTXTable->hMetrics[index].advanceWidth)); in getGlyphAdvance()