Lines Matching refs:zlib
2 # Demo program for zlib; it compresses or decompresses files, but *doesn't*
8 import zlib, sys, os
36 crcval = zlib.crc32("")
37 compobj = zlib.compressobj(9, zlib.DEFLATED, -zlib.MAX_WBITS,
38 zlib.DEF_MEM_LEVEL, 0)
43 crcval = zlib.crc32(data, crcval)
78 decompobj = zlib.decompressobj(-zlib.MAX_WBITS)
79 crcval = zlib.crc32("")
88 crcval = zlib.crc32(decompdata, crcval)
93 crcval = zlib.crc32(decompdata, crcval)