Searched refs:unpack255UShort (Results 1 – 2 of 2) sorted by relevance
/external/fonttools/Tests/ttLib/ |
D | woff2_test.py | 10 WOFF2HmtxTable, WOFF2Writer, unpackBase128, unpack255UShort, pack255UShort) 1364 self.assertEqual(unpack255UShort(bytechr(252))[0], 252) 1367 unpack255UShort(struct.pack(b"BB", 254, 0))[0], 506) 1369 unpack255UShort(struct.pack(b"BB", 255, 253))[0], 506) 1371 unpack255UShort(struct.pack(b"BBB", 253, 1, 250))[0], 506) 1376 unpack255UShort, struct.pack(b"BB", 253, 0)) 1381 unpack255UShort, struct.pack(b"B", 254)) 1386 unpack255UShort, struct.pack(b"B", 255))
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | woff2.py | 776 ptsOfContour, data = unpack255UShort(data) 787 instructionLength, glyphStream = unpack255UShort(glyphStream) 1293 def unpack255UShort(data): function
|