Home
last modified time | relevance | path

Searched refs:deflate (Results 1 – 25 of 227) sorted by relevance

12345678910

/third_party/node/test/parallel/
Dtest-zlib-dictionary.js54 const deflate = zlib.createDeflate({ dictionary: spdyDict });
58 deflate.on('data', function(chunk) {
66 deflate.on('end', function() {
74 deflate.write(input);
75 deflate.end();
81 const deflate = zlib.createDeflate({ dictionary: spdyDict });
85 deflate.on('data', function(chunk) {
94 deflate.on('end', function() {
102 deflate.write(input);
103 deflate.flush(function() {
[all …]
Dtest-zlib-reset-before-write.js17 const deflate = zlib.createDeflate(); constant
20 deflate.pipe(inflate);
31 fn(deflate, () => {
33 deflate.write('abc');
34 deflate.end();
/third_party/libwebsockets/lib/roles/http/compression/deflate/
Ddeflate.c33 ctx->u.deflate = lws_malloc(sizeof(*ctx->u.deflate), __func__); in lcs_init_compression_deflate()
35 if (!ctx->u.deflate) in lcs_init_compression_deflate()
38 memset(ctx->u.deflate, 0, sizeof(*ctx->u.deflate)); in lcs_init_compression_deflate()
41 (n = deflateInit2(ctx->u.deflate, 1, Z_DEFLATED, -15, 8, in lcs_init_compression_deflate()
44 lws_free_set_NULL(ctx->u.deflate); in lcs_init_compression_deflate()
50 inflateInit2(ctx->u.deflate, 16 + 15) != Z_OK) { in lcs_init_compression_deflate()
51 lws_free_set_NULL(ctx->u.deflate); in lcs_init_compression_deflate()
65 ctx->u.deflate->next_in = (void *)in; in lcs_process_deflate()
66 ctx->u.deflate->avail_in = (unsigned int)*ilen_iused; in lcs_process_deflate()
68 ctx->u.deflate->next_out = out; in lcs_process_deflate()
[all …]
/third_party/toybox/lib/
Ddeflate.c13 struct deflate { struct
20 void (*crcfunc)(struct deflate *dd, char *data, unsigned len); argument
138 static void output_byte(struct deflate *dd, char sym) in output_byte()
202 static void inflate(struct deflate *dd, struct bitbuf *bb) in inflate()
324 static void deflate(struct deflate *dd, struct bitbuf *bb) in deflate() function
361 static struct deflate *init_deflate(int compress) in init_deflate()
364 struct deflate *dd = xmalloc(sizeof(struct deflate)+32768*(compress ? 4 : 1)); in init_deflate()
366 memset(dd, 0, sizeof(struct deflate)); in init_deflate()
423 void gzip_crc(struct deflate *dd, char *data, unsigned len) in gzip_crc()
450 struct deflate *dd = init_deflate(1); in gzip_fd()
[all …]
/third_party/node/deps/v8/third_party/zlib/patches/
D0006-fix-check_match.patch10 This would cause zlib to crash on some inputs to deflate when built
18 third_party/zlib/deflate.c | 8 +++++++-
21 diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c
23 --- a/third_party/zlib/deflate.c
24 +++ b/third_party/zlib/deflate.c
D0007-zero-init-deflate-window.patch8 This happens in both regular deflate's longest_match and deflate_rle.
21 third_party/zlib/deflate.c | 3 +++
24 diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c
26 --- a/third_party/zlib/deflate.c
27 +++ b/third_party/zlib/deflate.c
D0003-uninitializedjump.patch1 diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c
3 --- a/third_party/zlib/deflate.c
4 +++ b/third_party/zlib/deflate.c
/third_party/node/deps/zlib/patches/
D0006-fix-check_match.patch10 This would cause zlib to crash on some inputs to deflate when built
18 third_party/zlib/deflate.c | 8 +++++++-
21 diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c
23 --- a/third_party/zlib/deflate.c
24 +++ b/third_party/zlib/deflate.c
D0007-zero-init-deflate-window.patch8 This happens in both regular deflate's longest_match and deflate_rle.
21 third_party/zlib/deflate.c | 3 +++
24 diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c
26 --- a/third_party/zlib/deflate.c
27 +++ b/third_party/zlib/deflate.c
D0003-uninitializedjump.patch1 diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c
3 --- a/third_party/zlib/deflate.c
4 +++ b/third_party/zlib/deflate.c
/third_party/skia/third_party/externals/zlib/patches/
D0006-fix-check_match.patch10 This would cause zlib to crash on some inputs to deflate when built
18 third_party/zlib/deflate.c | 8 +++++++-
21 diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c
23 --- a/third_party/zlib/deflate.c
24 +++ b/third_party/zlib/deflate.c
D0007-zero-init-deflate-window.patch8 This happens in both regular deflate's longest_match and deflate_rle.
21 third_party/zlib/deflate.c | 3 +++
24 diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c
26 --- a/third_party/zlib/deflate.c
27 +++ b/third_party/zlib/deflate.c
D0003-uninitializedjump.patch1 diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c
3 --- a/third_party/zlib/deflate.c
4 +++ b/third_party/zlib/deflate.c
/third_party/zlib/contrib/puff/
DREADME8 puff.c provides the routine puff() to decompress the deflate data format. It
14 puff.c was written to document the deflate format unambiguously, by virtue of
16 describes the deflate format. I have received many questions on details of the
17 deflate format, and I hope that reading this code will answer those questions.
18 puff.c is heavily commented with details of the deflate format, especially
37 Then you can call puff() to decompress a deflate stream that is in memory in
46 that in order to decompress the deflate data successfully, you need to know
57 The deflate format is self-terminating. If the deflate stream does not end
/third_party/zlib/msdos/
DMakefile.bor44 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
46 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
62 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
83 trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h
DMakefile.tc29 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
31 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
47 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
68 trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h
/third_party/lwip/src/netif/ppp/
Dccp.c91 { "nodeflate", o_bool, &ccp_wantoptions[0].deflate,
93 &ccp_allowoptions[0].deflate },
94 { "-deflate", o_bool, &ccp_wantoptions[0].deflate,
96 &ccp_allowoptions[0].deflate },
251 || (opt)->deflate in ccp_anycompress()
349 ccp_wantoptions[0].deflate = 1;
352 ccp_wantoptions[0].deflate = 0;
354 ccp_allowoptions[0].deflate = 1;
357 ccp_allowoptions[0].deflate = 0;
384 wo->deflate = 1; in ccp_init()
[all …]
/third_party/zlib/
DMakefile.in56 OBJZ = adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o
60 PIC_OBJZ = adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zut…
161 deflate.o: $(SRCDIR)deflate.c
162 $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)deflate.c
211 deflate.lo: $(SRCDIR)deflate.c
213 $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/deflate.o $(SRCDIR)deflate.c
214 -@mv objs/deflate.o $@
390 deflate.o: $(SRCDIR)deflate.h $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h
394 trees.o: $(SRCDIR)deflate.h $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)trees.h
400 deflate.lo: $(SRCDIR)deflate.h $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h
[all …]
/third_party/zlib/win32/
DMakefile.bor26 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
29 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
49 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
70 trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h
/third_party/zlib/contrib/dotzlib/DotZLib/
DDeflater.cs25 private static extern int deflate(ref ZStream sz, int flush); in deflate() method in DotZLib.Deflater
69 err = deflate(ref _ztream, (int)FlushTypes.None); in Add()
74 err = deflate(ref _ztream, (int)FlushTypes.None); in Add()
91 err = deflate(ref _ztream, (int)FlushTypes.Finish); in Finish()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
DREADME.md1 # lws minimal ws client + permessage-deflate echo
27 [2018/04/22 20:03:50:2343] USER: LWS minimal ws client echo + permessage-deflate + multifragment bu…
32 [2018/04/22 20:03:51:2385] NOTICE: checking client ext permessage-deflate
33 [2018/04/22 20:03:51:2386] NOTICE: instantiating client ext permessage-deflate
/third_party/zlib/contrib/delphi/
Dzlibd32.mak21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
39 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
60 trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h
/third_party/zlib/contrib/pascal/
Dzlibd32.mak21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
39 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
60 trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h
Dexample.pas206 err := deflate(c_stream, Z_NO_FLUSH);
214 err := deflate(c_stream, Z_FINISH);
292 err := deflate(c_stream, Z_NO_FLUSH);
301 err := deflate(c_stream, Z_NO_FLUSH);
308 err := deflate(c_stream, Z_NO_FLUSH);
311 err := deflate(c_stream, Z_FINISH);
386 err := deflate(c_stream, Z_FULL_FLUSH);
392 err := deflate(c_stream, Z_FINISH);
471 err := deflate(c_stream, Z_FINISH);
/third_party/curl/tests/data/
Dtest22313 # this deflate chunk has three bytes removed from the beginning
51 Content-Encoding: deflate
68 HTTP GET deflate compressed content with broken deflate header

12345678910