/external/chromium-trace/ |
systrace-legacy.py | 13 import errno, optparse, os, select, subprocess, sys, time, zlib namespace 155 dec = zlib.decompressobj()
|
systrace.py | 13 import errno, optparse, os, re, select, subprocess, sys, time, zlib namespace 241 out = zlib.decompress(data)
|
/external/chromium_org/v8/tools/testrunner/server/ |
compression.py | 36 import zlib namespace 42 Sends a JSON encodable object over the specified socket (zlib-compressed). 46 compressed = zlib.compress(obj, compression_level) 89 result = zlib.decompress(result)
|
/external/llvm/include/llvm/Support/ |
Compression.h | 25 namespace zlib { namespace in namespace:llvm 36 StatusUnsupported, // zlib is unavailable 54 } // End of namespace zlib
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/ |
alerts.py | 10 import zlib namespace 48 uncompressed = zlib.decompress(compressed) 70 compressed = zlib.compress(uncompressed, compression_level)
|
/external/chromium_org/tools/profile_chrome/ |
systrace_controller.py | 6 import zlib namespace 80 self._trace_data = ''.join([zlib.decompress(d) for d in trace_data])
|
/external/chromium_org/tools/grit/grit/gather/ |
chrome_scaled_image_unittest.py | 12 import zlib namespace 41 chunks = [pack_int32(len(payload)) + type + payload + pack_int32(zlib.crc32(type + payload))
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
cryptomath.py | 51 import zlib namespace 52 length = len(zlib.compress(os.urandom(1000)))
|
/external/chromium_org/tools/chrome_proxy/integration_tests/ |
network_metrics.py | 10 import zlib namespace 85 return len(zlib.compress(body, 9))
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
util.py | 57 import zlib namespace 214 # ADLER32 (4 octet) fields of zlib so that we can use zlib module just as 223 # See zconf.h, deflate.cc, inflate.cc of zlib library, and zlibmodule.c of 224 # Python. See also RFC1950 (ZLIB 3.3). 232 self._compress = zlib.compressobj( 233 zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -window_bits) 237 compressed_bytes += self._compress.flush(zlib.Z_SYNC_FLUSH) 272 # zlib.Decompress object for the new stream. Create a ne [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
util.py | 57 import zlib namespace 213 # ADLER32 (4 octet) fields of zlib so that we can use zlib module just as 222 # See zconf.h, deflate.cc, inflate.cc of zlib library, and zlibmodule.c of 223 # Python. See also RFC1950 (ZLIB 3.3). 231 self._compress = zlib.compressobj( 232 zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -window_bits) 242 compressed_bytes += self._compress.flush(zlib.Z_SYNC_FLUSH) 249 compressed_bytes += self._compress.flush(zlib.Z_FINISH [all...] |
/external/fonttools/Lib/fontTools/ttLib/ |
sfnt.py | 198 import zlib namespace 199 compressedMetaData = zlib.compress(data.metaData) 391 import zlib namespace 396 data = zlib.decompress(rawData) 401 import zlib namespace 404 compressedData = zlib.compress(data, self.zlibCompressionLevel) 430 import zlib namespace 431 data = zlib.decompress(rawData)
|
/external/deqp/scripts/ |
make_release.py | 7 import zlib namespace 68 return zlib.crc32(self.releaseConfig.getName() + self.releaseConfig.getVersion()) & 0xffffffff
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_msgutil.py | 40 import zlib namespace 202 compress = zlib.compressobj( 203 zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -zlib.MAX_WBITS) 208 expected += compress.flush(zlib.Z_SYNC_FLUSH) 212 compress = zlib.compressobj( 213 zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -zlib.MAX_WBITS [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
__init__.py | 35 import zlib namespace 351 content = zlib.decompress(content) [all...] |
/external/chromium_org/net/tools/testserver/ |
testserver.py | 37 import zlib namespace 879 data = zlib.compress(data) [all...] |
/external/chromium_org/tools/telemetry/third_party/png/ |
png.py | 180 import zlib namespace 361 zlib compression level: 0 (none) to 9 (more compressed); default: -1 or None. 430 be used by the ``zlib`` module. Values from 1 to 9 specify 434 level of compession will be picked by the ``zlib`` module 725 compressor = zlib.compressobj(self.compression) 727 compressor = zlib.compressobj() [all...] |
/external/libpng/contrib/tools/ |
pngfix.c | 11 * Tool to check and fix the zlib inflate 'too far back' problem, see the usage 53 /* zlib.h defines the structure z_stream, an instance of which is included 58 /* We must ensure that zlib uses 'const' in declarations. */ 61 #include <zlib.h> 63 /* zlib.h sometimes #defines const to nothing, undo this. */ 67 /* zlib.h has mediocre z_const use before 1.2.6, this stuff is for compatibility 480 * This is to avoid a function call to the zlib DLL and to optimize the 540 * zlib and the result value is obtained by XORing with CRC_INIT, which is also 554 /* This is an alternative to the algorithm used in zlib, which requires four 903 #define ZLIB_ERROR_CODE 3 /* generic zlib error * 2005 struct zlib struct 2616 struct zlib zlib; local [all...] |