Searched refs:unpack255UShort (Results 1 – 2 of 2) sorted by relevance
/external/fonttools/Tests/ttLib/ |
D | woff2_test.py | 9 WOFF2Writer, unpackBase128, unpack255UShort, pack255UShort) 797 self.assertEqual(unpack255UShort(bytechr(252))[0], 252) 800 unpack255UShort(struct.pack(b"BB", 254, 0))[0], 506) 802 unpack255UShort(struct.pack(b"BB", 255, 253))[0], 506) 804 unpack255UShort(struct.pack(b"BBB", 253, 1, 250))[0], 506) 809 unpack255UShort, struct.pack(b"BB", 253, 0)) 814 unpack255UShort, struct.pack(b"B", 254)) 819 unpack255UShort, struct.pack(b"B", 255))
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | woff2.py | 719 ptsOfContour, data = unpack255UShort(data) 730 instructionLength, glyphStream = unpack255UShort(glyphStream) 1026 def unpack255UShort(data): function
|