/third_party/node/test/parallel/ |
D | test-zlib-deflate-constructors.js | 5 const zlib = require('zlib'); constant 9 assert.ok(zlib.Deflate() instanceof zlib.Deflate); 10 assert.ok(new zlib.Deflate() instanceof zlib.Deflate); 12 assert.ok(zlib.DeflateRaw() instanceof zlib.DeflateRaw); 13 assert.ok(new zlib.DeflateRaw() instanceof zlib.DeflateRaw); 17 () => new zlib.Deflate({ chunkSize: 'test' }), 27 () => new zlib.Deflate({ chunkSize: -Infinity }), 37 () => new zlib.Deflate({ chunkSize: 0 }), 47 assert.strictEqual(zlib.constants.Z_MAX_CHUNK, Infinity); 51 () => new zlib.Deflate({ windowBits: 'test' }), [all …]
|
D | test-zlib-empty-buffer.js | 3 const zlib = require('zlib'); constant 10 [ zlib.deflateRawSync, zlib.inflateRawSync, 'raw sync' ], 11 [ zlib.deflateSync, zlib.inflateSync, 'deflate sync' ], 12 [ zlib.gzipSync, zlib.gunzipSync, 'gzip sync' ], 13 [ zlib.brotliCompressSync, zlib.brotliDecompressSync, 'br sync' ], 14 [ promisify(zlib.deflateRaw), promisify(zlib.inflateRaw), 'raw' ], 15 [ promisify(zlib.deflate), promisify(zlib.inflate), 'deflate' ], 16 [ promisify(zlib.gzip), promisify(zlib.gunzip), 'gzip' ], 17 [ promisify(zlib.brotliCompress), promisify(zlib.brotliDecompress), 'br' ],
|
D | test-zlib-const.js | 5 const zlib = require('zlib'); constant 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.codes.Z_OK = 1; 22 assert.strictEqual(zlib.codes.Z_OK, 0, [all …]
|
D | test-zlib-convenience-methods.js | 27 const zlib = require('zlib'); constant 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[method[3]], 91 const compressed = zlib[`${method[0]}Sync`](expect, opts); [all …]
|
D | test-zlib-brotli.js | 5 const zlib = require('zlib'); constant 15 for (let quality = zlib.constants.BROTLI_MIN_QUALITY; 16 quality <= zlib.constants.BROTLI_MAX_QUALITY; 18 const encoded = zlib.brotliCompressSync(sampleBuffer, { 20 [zlib.constants.BROTLI_PARAM_QUALITY]: quality 36 zlib.createBrotliCompress({ 49 zlib.createBrotliCompress({ 62 zlib.createBrotliCompress({ 65 [zlib.constants.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]: 42 78 zlib.brotliCompressSync('', { flush: zlib.constants.Z_FINISH }); [all …]
|
D | test-zlib-from-gzip-with-trailing-garbage.js | 6 const zlib = require('zlib'); constant 10 zlib.gzipSync('abc'), 11 zlib.gzipSync('def'), 15 assert.strictEqual(zlib.gunzipSync(data).toString(), 'abcdef'); 17 zlib.gunzip(data, common.mustSucceed((result) => { 28 zlib.gzipSync('abc'), 29 zlib.gzipSync('def'), 35 () => zlib.gunzipSync(data), 39 zlib.gunzip(data, common.mustCall((err, result) => { 51 zlib.gzipSync('abc'), [all …]
|
D | test-zlib.js | 25 const zlib = require('zlib'); constant 31 assert.throws(() => zlib.gzipSync(Buffer.alloc(0), { windowBits: 8 }), { 39 [zlib.Deflate, zlib.Inflate], 40 [zlib.Gzip, zlib.Gunzip], 41 [zlib.Deflate, zlib.Unzip], 42 [zlib.Gzip, zlib.Unzip], 43 [zlib.DeflateRaw, zlib.InflateRaw], 44 [zlib.BrotliCompress, zlib.BrotliDecompress], 75 zlibPairs = [[zlib.Gzip, zlib.Unzip]]; 164 zlib.createDeflateRaw({ windowBits: 8 }); [all …]
|
/third_party/python/Lib/test/ |
D | test_zlib.py | 12 zlib = import_helper.import_module('zlib') variable 15 hasattr(zlib.compressobj(), "copy"), 18 hasattr(zlib.decompressobj(), "copy"), 30 self.assertEqual(zlib.ZLIB_RUNTIME_VERSION[0], zlib.ZLIB_VERSION[0]) 36 self.assertEqual(zlib.crc32(b""), zlib.crc32(b"", 0)) 37 self.assertTrue(zlib.crc32(b"abc", 0xffffffff)) 40 self.assertEqual(zlib.crc32(b"", 0), 0) 41 self.assertEqual(zlib.crc32(b"", 1), 1) 42 self.assertEqual(zlib.crc32(b"", 432), 432) 45 self.assertEqual(zlib.adler32(b""), zlib.adler32(b"", 1)) [all …]
|
/third_party/node/doc/guides/ |
D | maintaining-zlib.md | 1 # Maintaining zlib 3 This copy of zlib comes from the Chromium team's zlib fork which incorporated 4 performance improvements not currently available in standard zlib. 6 ## Updating zlib 8 Update zlib: 10 git clone https://chromium.googlesource.com/chromium/src/third_party/zlib 11 cp deps/zlib/zlib.gyp deps/zlib/win32/zlib.def deps 12 rm -rf deps/zlib zlib/.git 13 mv zlib deps/ 14 mv deps/zlib.gyp deps/zlib/ [all …]
|
/third_party/flutter/skia/third_party/zlib/ |
D | BUILD.gn | 13 system("zlib") { 17 third_party("zlib") { 18 public_include_dirs = [ "../externals/zlib" ] 22 "../externals/zlib/adler32.c", 23 "../externals/zlib/compress.c", 24 "../externals/zlib/crc32.c", 25 "../externals/zlib/deflate.c", 26 "../externals/zlib/gzclose.c", 27 "../externals/zlib/gzlib.c", 28 "../externals/zlib/gzread.c", [all …]
|
/third_party/zlib/amiga/ |
D | Makefile.pup | 44 zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \ 48 cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \ 49 zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch] 53 adler32.o: zlib.h zconf.h 54 compress.o: zlib.h zconf.h 55 crc32.o: crc32.h zlib.h zconf.h 56 deflate.o: deflate.h zutil.h zlib.h zconf.h 57 example.o: zlib.h zconf.h 58 gzclose.o: zlib.h zconf.h gzguts.h 59 gzlib.o: zlib.h zconf.h gzguts.h [all …]
|
D | Makefile.sas | 29 copy clone zlib.h zconf.h INCLUDE: 52 adler32.o: zlib.h zconf.h 53 compress.o: zlib.h zconf.h 54 crc32.o: crc32.h zlib.h zconf.h 55 deflate.o: deflate.h zutil.h zlib.h zconf.h 56 example.o: zlib.h zconf.h 57 gzclose.o: zlib.h zconf.h gzguts.h 58 gzlib.o: zlib.h zconf.h gzguts.h 59 gzread.o: zlib.h zconf.h gzguts.h 60 gzwrite.o: zlib.h zconf.h gzguts.h [all …]
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/ |
D | pngfix.c | 2010 struct zlib struct 2040 zlib_flevel(struct zlib *zlib) in zlib_flevel() argument 2042 switch (zlib->header[1] >> 6) in zlib_flevel() 2055 zlib_rc(struct zlib *zlib) in zlib_rc() argument 2058 switch (zlib->rc) in zlib_rc() 2074 zlib_message(struct zlib *zlib, int unexpected) in zlib_message() argument 2077 if (zlib->global->errors) in zlib_message() 2079 const char *reason = zlib->z.msg; in zlib_message() 2084 fputs(zlib->file->file_name, stderr); in zlib_message() 2086 type_name(zlib->chunk->chunk_type, stderr); in zlib_message() [all …]
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
D | pngfix.c | 2010 struct zlib struct 2040 zlib_flevel(struct zlib *zlib) in zlib_flevel() argument 2042 switch (zlib->header[1] >> 6) in zlib_flevel() 2055 zlib_rc(struct zlib *zlib) in zlib_rc() argument 2058 switch (zlib->rc) in zlib_rc() 2074 zlib_message(struct zlib *zlib, int unexpected) in zlib_message() argument 2077 if (zlib->global->errors) in zlib_message() 2079 const char *reason = zlib->z.msg; in zlib_message() 2084 fputs(zlib->file->file_name, stderr); in zlib_message() 2086 type_name(zlib->chunk->chunk_type, stderr); in zlib_message() [all …]
|
/third_party/skia/third_party/zlib/ |
D | BUILD.gn | 13 system("zlib") { 72 sources = [ "../externals/zlib/adler32_simd.c" ] 103 sources = [ "../externals/zlib/crc32_simd.c" ] 123 "../externals/zlib/", 124 "../externals/zlib/contrib/optimizations/", 127 "../externals/zlib/contrib/optimizations/inffast_chunk.c", 128 "../externals/zlib/contrib/optimizations/inflate.c", 148 "../externals/zlib/crc_folding.c", 149 "../externals/zlib/fill_window_sse.c", 154 third_party("zlib") { [all …]
|
/third_party/node/doc/api/ |
D | zlib.md | 7 <!-- source_link=lib/zlib.js --> 9 The `zlib` module provides compression functionality implemented using Gzip, 15 const zlib = require('zlib'); 21 piping the source stream through a `zlib` `Transform` stream into a destination 25 const { createGzip } = require('zlib'); 65 const { deflate, unzip } = require('zlib'); 100 All `zlib` APIs, except those that are explicitly synchronous, use the Node.js 104 Creating and using a large number of zlib objects simultaneously can cause 108 const zlib = require('zlib'); 114 zlib.deflate(payload, (err, buffer) => {}); [all …]
|
/third_party/zlib/ |
D | FAQ | 2 Frequently Asked Questions about zlib 5 If your question is not there, please check the zlib home page 6 http://zlib.net/ which may have more recent information. 7 The lastest zlib FAQ is at http://zlib.net/zlib_faq.html 10 1. Is zlib Y2K-compliant? 12 Yes. zlib doesn't handle dates. 16 The zlib sources can be compiled without change to produce a DLL. See the 17 file win32/DLL_FAQ.txt in the zlib distribution. Pointers to the 18 precompiled DLL are found in the zlib web site at http://zlib.net/ . 20 3. Where can I get a Visual Basic interface to zlib? [all …]
|
/third_party/zlib/win32/ |
D | Makefile.gcc | 90 $(SHAREDLIB): win32/zlib.def $(OBJS) $(OBJA) zlibrc.o 92 -o $@ win32/zlib.def $(OBJS) $(OBJA) zlibrc.o 111 example.o: test/example.c zlib.h zconf.h 114 minigzip.o: test/minigzip.c zlib.h zconf.h 122 install: zlib.h zconf.h $(STATICLIB) $(IMPLIB) 134 -$(INSTALL) zlib.h '$(DESTDIR)$(INCLUDE_PATH)' 143 -e 's|@VERSION@|'`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' zlib.h`'|g' \ 144 zlib.pc.in > '$(DESTDIR)$(LIBRARY_PATH)'/pkgconfig/zlib.pc 151 -$(RM) '$(DESTDIR)$(INCLUDE_PATH)'/zlib.h 163 adler32.o: zlib.h zconf.h [all …]
|
D | Makefile.bor | 24 ZLIB_LIB = zlib.lib 43 adler32.obj: adler32.c zlib.h zconf.h 45 compress.obj: compress.c zlib.h zconf.h 47 crc32.obj: crc32.c zlib.h zconf.h crc32.h 49 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h 51 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h 53 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h 55 gzread.obj: gzread.c zlib.h zconf.h gzguts.h 57 gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h 59 infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ [all …]
|
/third_party/zlib/old/os2/ |
D | Makefile.os2 | 51 algorithm.txt zlib.3 msdos/Make*[a-z0-9] msdos/zlib.def msdos/zlib.rc \ 52 nt/Makefile.nt nt/zlib.dnt contrib/README.contrib contrib/*.txt \ 94 v=`sed -n -e 's/\.//g' -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`;\ 95 zip -ul9 zlib$$v $(DISTFILES) 101 d=zlib-`sed -n '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`;\ 119 adler32.o: zlib.h zconf.h 120 compress.o: zlib.h zconf.h 121 crc32.o: zlib.h zconf.h 122 deflate.o: deflate.h zutil.h zlib.h zconf.h 123 example.o: zlib.h zconf.h [all …]
|
/third_party/zlib/old/ |
D | descrip.mms | 1 # descrip.mms: MMS description file for building zlib on VMS 33 adler32.obj : zutil.h zlib.h zconf.h 34 compress.obj : zlib.h zconf.h 35 crc32.obj : zutil.h zlib.h zconf.h 36 deflate.obj : deflate.h zutil.h zlib.h zconf.h 37 example.obj : zlib.h zconf.h 38 gzio.obj : zutil.h zlib.h zconf.h 39 infblock.obj : zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h 40 infcodes.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h 41 inffast.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h [all …]
|
/third_party/zlib/contrib/delphi/ |
D | zlibd32.mak | 1 # 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.h zconf.h gzguts.h [all …]
|
/third_party/zlib/contrib/pascal/ |
D | zlibd32.mak | 1 # 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.h zconf.h gzguts.h [all …]
|
/third_party/zlib/msdos/ |
D | Makefile.msc | 50 adler32.obj: adler32.c zlib.h zconf.h 52 compress.obj: compress.c zlib.h zconf.h 54 crc32.obj: crc32.c zlib.h zconf.h crc32.h 56 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h 58 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h 60 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h 62 gzread.obj: gzread.c zlib.h zconf.h gzguts.h 64 gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h 66 infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ 69 inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ [all …]
|
D | Makefile.bor | 56 adler32.obj: adler32.c zlib.h zconf.h 58 compress.obj: compress.c zlib.h zconf.h 60 crc32.obj: crc32.c zlib.h zconf.h crc32.h 62 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h 64 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h 66 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h 68 gzread.obj: gzread.c zlib.h zconf.h gzguts.h 70 gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h 72 infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ 75 inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ [all …]
|