Home
last modified time | relevance | path

Searched refs:zlib (Results 1 - 25 of 175) sorted by relevance

1234567

/third_party/python/Lib/test/
H A Dtest_zlib.py13 zlib = import_helper.import_module('zlib') variable
16 hasattr(zlib.compressobj(), "copy"),
19 hasattr(zlib.decompressobj(), "copy"),
23 # ways to compress data with zlib can produce different compressed data.
27 # return zlib.compress(data)
30 # co = zlib.compressobj()
35 # On s390x if zlib uses a hardware accelerator, func1() creates a single
44 # zlib.decompress(func1(data)) == zlib
[all...]
/third_party/node/test/parallel/
H A Dtest-zlib-const.js5 const zlib = require('zlib');
7 assert.strictEqual(zlib.constants.Z_OK, 0,
10 `got ${zlib.constants.Z_OK}`,
12 zlib.constants.Z_OK = 1;
13 assert.strictEqual(zlib.constants.Z_OK, 0,
16 `Expected to get 0, got ${zlib.constants.Z_OK}`,
19 assert.strictEqual(zlib.codes.Z_OK, 0,
20 `Expected Z_OK to be 0; got ${zlib.codes.Z_OK}`);
21 zlib
[all...]
H A Dtest-zlib-convenience-methods.js27 const zlib = require('zlib');
58 zlib[method[0]](expect, opts, common.mustCall((err, result) => {
59 zlib[method[1]](result, opts, common.mustCall((err, result) => {
66 zlib[method[0]](expect, common.mustCall((err, result) => {
67 zlib[method[1]](result, common.mustCall((err, result) => {
74 zlib[method[0]](expect, optsInfo, common.mustCall((err, result) => {
75 assert.ok(result.engine instanceof zlib[method[2]],
80 zlib[method[1]](compressed, optsInfo, common.mustCall((err, result) => {
84 assert.ok(result.engine instanceof zlib[metho
[all...]
H A Dtest-zlib-dictionary.js27 const zlib = require('zlib');
54 const deflate = zlib.createDeflate({ dictionary: spdyDict });
55 const inflate = zlib.createInflate({ dictionary: spdyDict });
81 const deflate = zlib.createDeflate({ dictionary: spdyDict });
82 const inflate = zlib.createInflate({ dictionary: spdyDict });
113 const deflate = zlib.createDeflateRaw({ dictionary: spdyDict });
114 const inflate = zlib.createInflateRaw({ dictionary: spdyDict });
140 const deflate = zlib.createDeflateRaw({ dictionary: spdyDict });
141 const inflate = zlib
[all...]
H A Dtest-zlib-params.js4 const zlib = require('zlib');
9 const opts = { level: 9, strategy: zlib.constants.Z_DEFAULT_STRATEGY };
10 const deflater = zlib.createDeflate(opts);
27 deflater.params(0, zlib.constants.Z_DEFAULT_STRATEGY, function() {
H A Dtest-zlib-bytes-read.js4 const zlib = require('zlib');
26 'zlib.bytesRead is deprecated and will change its meaning in the ' +
27 'future. Use zlib.bytesWritten instead.',
40 const comp = zlib[method[0]]();
56 const decomp = zlib[method[1]]();
81 const decomp = zlib[method[1]]();
H A Dtest-zlib-flush.js4 const zlib = require('zlib');
10 const deflater = zlib.createDeflate(opts);
21 deflater.flush(zlib.constants.Z_NO_FLUSH, function() {
H A Dtest-zlib-flush-drain.js4 const zlib = require('zlib');
13 const deflater = zlib.createDeflate(opts);
/third_party/skia/third_party/externals/libpng/contrib/tools/
H A Dpngfix.c10 * Tool to check and fix the zlib inflate 'too far back' problem.
58 /* zlib.h defines the structure z_stream, an instance of which is included
63 /* We must ensure that zlib uses 'const' in declarations. */
66 #include <zlib.h>
68 /* zlib.h sometimes #defines const to nothing, undo this. */
72 /* zlib.h has mediocre z_const use before 1.2.6, this stuff is for compatibility
485 * This is to avoid a function call to the zlib DLL and to optimize the
545 * zlib and the result value is obtained by XORing with CRC_INIT, which is also
559 /* This is an alternative to the algorithm used in zlib, which requires four in crc_init_4()
908 #define ZLIB_ERROR_CODE 3 /* generic zlib erro
2010 struct zlib global() struct
2040 zlib_flevel(struct zlib *zlib) zlib_flevel() argument
2055 zlib_rc(struct zlib *zlib) zlib_rc() argument
2074 zlib_message(struct zlib *zlib, int unexpected) zlib_message() argument
2093 zlib_end(struct zlib *zlib) zlib_end() argument
2169 zlib_reset(struct zlib *zlib, int window_bits) zlib_reset() argument
2195 zlib_init(struct zlib *zlib, struct IDAT *idat, struct chunk *chunk, int window_bits, png_uint_32 offset) zlib_init() argument
2266 zlib_advance(struct zlib *zlib, png_uint_32 nbytes) zlib_advance() argument
2489 zlib_run(struct zlib *zlib) zlib_run() argument
2622 struct zlib zlib; zlib_check() local
[all...]
/third_party/zlib/contrib/delphi/
H A Dzlibd32.mak1 # Makefile for zlib
3 # Updated for zlib 1.2.x by Cosmin Truta
19 ZLIB_LIB = zlib.lib
33 adler32.obj: adler32.c zlib.h zconf.h
35 compress.obj: compress.c zlib.h zconf.h
37 crc32.obj: crc32.c zlib.h zconf.h crc32.h
39 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
41 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h
43 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h
45 gzread.obj: gzread.c zlib
[all...]
/third_party/zlib/contrib/pascal/
H A Dzlibd32.mak1 # Makefile for zlib
3 # Updated for zlib 1.2.x by Cosmin Truta
19 ZLIB_LIB = zlib.lib
33 adler32.obj: adler32.c zlib.h zconf.h
35 compress.obj: compress.c zlib.h zconf.h
37 crc32.obj: crc32.c zlib.h zconf.h crc32.h
39 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
41 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h
43 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h
45 gzread.obj: gzread.c zlib
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DCompression.cpp21 #include <zlib.h>
34 return "zlib error: Z_MEM_ERROR"; in convertZlibCodeToString()
36 return "zlib error: Z_BUF_ERROR"; in convertZlibCodeToString()
38 return "zlib error: Z_STREAM_ERROR"; in convertZlibCodeToString()
40 return "zlib error: Z_DATA_ERROR"; in convertZlibCodeToString()
43 llvm_unreachable("unknown or unexpected zlib status code"); in convertZlibCodeToString()
47 bool zlib::isAvailable() { return true; } in isAvailable()
49 Error zlib::compress(StringRef InputBuffer, in compress()
56 // Tell MemorySanitizer that zlib output buffer is fully initialized. in compress()
63 Error zlib
[all...]
/third_party/protobuf/kokoro/release/python/windows/
H A Dbuild_artifacts.bat19 REM Install zlib
20 mkdir zlib
21 curl -L -o zlib.zip http://www.winimage.com/zLibDll/zlib123dll.zip
22 curl -L -o zlib-src.zip http://www.winimage.com/zLibDll/zlib123.zip
23 7z x zlib.zip -ozlib
24 7z x zlib-src.zip -ozlib\include
25 SET ZLIB_ROOT=%cd%\zlib
26 del /Q zlib.zip
27 del /Q zlib-src.zip
/third_party/python/Lib/encodings/
H A Dzlib_codec.py1 """Python 'zlib_codec' Codec - zlib compression encoding.
9 import zlib # this codec needs the optional zlib module ! namespace
15 return (zlib.compress(input), len(input))
19 return (zlib.decompress(input), len(input))
31 self.compressobj = zlib.compressobj()
41 self.compressobj = zlib.compressobj()
47 self.decompressobj = zlib.decompressobj()
57 self.decompressobj = zlib.decompressobj()
69 name='zlib',
[all...]
/third_party/node/benchmark/zlib/
H A Dpipe.js4 const zlib = require('zlib');
23 zlib.createGzip() : zlib.createBrotliCompress();
25 zlib.createGunzip() : zlib.createBrotliDecompress();
H A Dinflate.js3 const zlib = require('zlib');
14 const chunk = zlib.deflateSync(Buffer.alloc(inputLen, 'a'));
20 const inflate = zlib.inflate;
31 const inflateSync = zlib.inflateSync;
H A Ddeflate.js3 const zlib = require('zlib');
20 const deflater = zlib.createDeflate();
37 const deflate = zlib.deflate;
48 const deflateSync = zlib.deflateSync;
H A DcreateInflate.js3 const zlib = require('zlib');
12 const input = zlib.deflateSync(Buffer.alloc(inputLen, 'a'));
18 const inflater = zlib.createInflate();
H A Dcreation.js3 const zlib = require('zlib');
15 const fn = zlib[`create${type}`];
17 throw new Error('Invalid zlib type');
/third_party/libwebsockets/test-apps/android/app/src/main/jni/
H A DNativeLibs.mk28 # zlib-1.2.8.tar.gz
97 ZLIB_TGZ_SOURCE := zlib-$(ZLIB_VERSION).tar.gz
159 TARGET_X86_OPENSSL_CONFIG := no-asm no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp
162 TARGET_X86_64_OPENSSL_CONFIG := no-asm no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp enable-ec_nistp_64_gcc_128
165 TARGET_ARM_OPENSSL_CONFIG := no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp
168 TARGET_ARM_V7A_OPENSSL_CONFIG := no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib
[all...]
/third_party/python/Lib/
H A Dgzip.py6 # based on Andrew Kuchling's minigzip.py distributed with the zlib module
9 import zlib namespace
201 self.compress = zlib.compressobj(compresslevel,
202 zlib.DEFLATED,
203 -zlib.MAX_WBITS,
204 zlib.DEF_MEM_LEVEL,
234 self.crc = zlib.crc32(b"")
291 self.crc = zlib.crc32(data, self.crc)
346 def flush(self,zlib_mode=zlib.Z_SYNC_FLUSH):
457 super().__init__(_PaddedFile(fp), zlib
[all...]
/third_party/node/lib/internal/modules/esm/
H A Dfetch_module.js92 let zlib;
95 * @returns {import('zlib').BrotliDecompress}
98 zlib ??= require('zlib'); // [1]
100 createBrotliDecompress = zlib.createBrotliDecompress;
106 * @returns {import('zlib').Unzip}
109 zlib ??= require('zlib'); // [1]
111 createUnzip = zlib.createUnzip;
/third_party/node/tools/
H A Dcompress_json.py6 import zlib namespace
20 data = zlib.compress(text, zlib.Z_BEST_COMPRESSION)
/third_party/node/lib/internal/webstreams/
H A Dcompression.js26 let zlib;
28 zlib ??= require('zlib');
29 return zlib;
/third_party/skia/third_party/externals/brotli/scripts/dictionary/
H A Dstep-03-validate-bin.py6 import zlib namespace
23 hex(zlib.crc32(data)))

Completed in 8 milliseconds

1234567