Home
last modified time | relevance | path

Searched refs:pack255UShort (Results 1 – 2 of 2) sorted by relevance

/external/fonttools/Tests/ttLib/
Dwoff2_test.py9 WOFF2Writer, unpackBase128, unpack255UShort, pack255UShort)
822 self.assertEqual(pack255UShort(252), b'\xfc')
823 self.assertEqual(pack255UShort(505), b'\xff\xfc')
824 self.assertEqual(pack255UShort(506), b'\xfe\x00')
825 self.assertEqual(pack255UShort(762), b'\xfd\x02\xfa')
830 pack255UShort, -1)
835 pack255UShort, 0xFFFF+1)
/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py844 self.nPointsStream += pack255UShort(ptsOfContour)
851 self.glyphStream += pack255UShort(len(instructions))
1070 def pack255UShort(value): function