Searched refs:packBase128 (Results 1 – 2 of 2) sorted by relevance
/external/fonttools/Tests/ttLib/ |
D | woff2_test.py | 7 getKnownTagIndex, packBase128, base128Size, woff2UnknownTagIndex, 251 data += packBase128(random.randint(1, 100)) # origLength 252 data += packBase128(1) # non-zero transformLength 261 data += packBase128(random.randint(1, 100)) 782 self.assertEqual(packBase128(63), b"\x3f") 783 self.assertEqual(packBase128(2**32-1), b'\x8f\xff\xff\xff\x7f') 787 packBase128, 2**32+1) 791 packBase128, -1)
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | woff2.py | 552 data += packBase128(self.origLength) 554 data += packBase128(self.length) 1003 def packBase128(n): function
|