Lines Matching refs:le_uint16
15 const le_uint16 DeviceTable::fieldMasks[] = {0x0003, 0x000F, 0x00FF};
16 const le_uint16 DeviceTable::fieldSignBits[] = {0x0002, 0x0008, 0x0080};
17 const le_uint16 DeviceTable::fieldBits[] = { 2, 4, 8};
21 le_int16 DeviceTable::getAdjustment(le_uint16 ppem) const in getAdjustment()
23 le_uint16 start = SWAPW(startSize); in getAdjustment()
24 le_uint16 format = SWAPW(deltaFormat) - 1; in getAdjustment()
28 le_uint16 sizeIndex = ppem - start; in getAdjustment()
29 le_uint16 bits = fieldBits[format]; in getAdjustment()
30 le_uint16 count = 16 / bits; in getAdjustment()
31 le_uint16 word = SWAPW(deltaValues[sizeIndex / count]); in getAdjustment()
32 le_uint16 fieldIndex = sizeIndex % count; in getAdjustment()
33 le_uint16 shift = 16 - (bits * (fieldIndex + 1)); in getAdjustment()
34 le_uint16 field = (word >> shift) & fieldMasks[format]; in getAdjustment()