/external/libwebsockets/lib/roles/http/compression/deflate/ |
D | deflate.c | 33 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 = *ilen_iused; in lcs_process_deflate() 68 ctx->u.deflate->next_out = out; in lcs_process_deflate() [all …]
|
/external/puffin/src/ |
D | utils.cc | 85 for (const auto& deflate : sub_deflates) { in LocateDeflatesInDeflateStream() local 86 deflates->emplace_back(deflate.offset + virtual_offset * 8, deflate.length); in LocateDeflatesInDeflateStream() 136 for (const auto& deflate : deflates) { in FindDeflateSubBlocks() local 137 TEST_AND_RETURN_FALSE(src->Seek(deflate.offset)); in FindDeflateSubBlocks() 139 deflate_buffer.resize(deflate.length); in FindDeflateSubBlocks() 140 TEST_AND_RETURN_FALSE(src->Read(deflate_buffer.data(), deflate.length)); in FindDeflateSubBlocks() 143 BufferBitReader bit_reader(deflate_buffer.data(), deflate.length); in FindDeflateSubBlocks() 151 TEST_AND_RETURN_FALSE(deflate.length == bit_reader.Offset()); in FindDeflateSubBlocks() 153 subblock_deflates->emplace_back(subblock.offset + deflate.offset * 8, in FindDeflateSubBlocks() 173 for (const auto& deflate : tmp_deflates) { in LocateDeflatesInZlibBlocks() local [all …]
|
/external/okio/okio/src/jvmMain/kotlin/okio/ |
D | DeflaterSink.kt | 64 deflate(false) in write() 79 private fun deflate(syncFlush: Boolean) { in deflate() method in okio.DeflaterSink 89 deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit, Deflater.SYNC_FLUSH) in deflate() 91 deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit) in deflate() 111 deflate(true) in flush() 117 deflate(false) in finishDeflate() 160 inline fun Sink.deflate(deflater: Deflater = Deflater()): DeflaterSink = method
|
/external/rust/crates/flate2/src/ |
D | lib.rs | 118 mod deflate; module 130 pub use crate::deflate::read::DeflateDecoder; 131 pub use crate::deflate::read::DeflateEncoder; 144 pub use crate::deflate::write::DeflateDecoder; 145 pub use crate::deflate::write::DeflateEncoder; 157 pub use crate::deflate::bufread::DeflateDecoder; 158 pub use crate::deflate::bufread::DeflateEncoder;
|
/external/angle/third_party/zlib/patches/ |
D | 0006-fix-check_match.patch | 10 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
|
D | 0007-zero-init-deflate-window.patch | 8 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
|
D | 0003-uninitializedjump.patch | 1 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
|
/external/zlib/patches/ |
D | 0006-fix-check_match.patch | 10 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
|
D | 0007-zero-init-deflate-window.patch | 8 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
|
D | 0003-uninitializedjump.patch | 1 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
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | DeflaterSink.java | 70 deflate(false); in write() 87 private void deflate(boolean syncFlush) throws IOException { in deflate() method in DeflaterSink 97 ? deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit, Deflater.SYNC_FLUSH) in deflate() 98 : deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit); in deflate() 116 deflate(true); in flush() 122 deflate(false); in finishDeflate()
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | DeflaterSink.java | 68 deflate(false); in write() 85 private void deflate(boolean syncFlush) throws IOException { in deflate() method in DeflaterSink 95 ? deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit, Deflater.SYNC_FLUSH) in deflate() 96 : deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit); in deflate() 114 deflate(true); in flush() 120 deflate(false); in finishDeflate()
|
/external/toybox/lib/ |
D | deflate.c | 13 struct deflate { struct 20 void (*crcfunc)(struct deflate *dd, char *data, int len); argument 130 static void output_byte(struct deflate *dd, char sym) in output_byte() 194 static void inflate(struct deflate *dd, struct bitbuf *bb) in inflate() 315 static void deflate(struct deflate *dd, struct bitbuf *bb) in deflate() function 352 static struct deflate *init_deflate(int compress) in init_deflate() 355 struct deflate *dd = xmalloc(sizeof(struct deflate)+32768*(compress ? 4 : 1)); in init_deflate() 357 memset(dd, 0, sizeof(struct deflate)); in init_deflate() 414 static void gzip_crc(struct deflate *dd, char *data, int len) in gzip_crc() 428 struct deflate *dd = init_deflate(1); in gzip_fd() [all …]
|
/external/rust/crates/libz-sys/src/zlib-ng/test/abi/ |
D | zlib-v1.2.11-x86_64-linux-gnu.abi | 17 …<elf-symbol name='deflate' type='func-type' binding='global-binding' visibility='default-visibilit… 168 …<abi-instr version='1.0' address-size='64' path='src.d/deflate.c' comp-dir-path='/home/dank/src/zl… 217 …ize-in-bits='47616' is-struct='yes' visibility='default' filepath='src.d/deflate.h' line='100' col… 219 …<var-decl name='strm' type-id='type-id-32' visibility='default' filepath='src.d/deflate.h' line='1… 222 …<var-decl name='status' type-id='type-id-22' visibility='default' filepath='src.d/deflate.h' line=… 225 …='pending_buf' type-id='type-id-24' visibility='default' filepath='src.d/deflate.h' line='103' col… 228 …ding_buf_size' type-id='type-id-33' visibility='default' filepath='src.d/deflate.h' line='104' col… 231 …='pending_out' type-id='type-id-24' visibility='default' filepath='src.d/deflate.h' line='105' col… 234 …<var-decl name='pending' type-id='type-id-33' visibility='default' filepath='src.d/deflate.h' line… 237 …<var-decl name='wrap' type-id='type-id-22' visibility='default' filepath='src.d/deflate.h' line='1… [all …]
|
/external/rust/crates/libz-sys/src/zlib/contrib/puff/ |
D | README | 8 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
|
/external/rust/crates/zip/ |
D | Cargo.toml.orig | 28 deflate = ["flate2/rust_backend"] 29 deflate-miniz = ["flate2/default"] 30 deflate-zlib = ["flate2/zlib"] 31 default = ["bzip2", "deflate", "time"]
|
/external/zopfli/ |
D | README | 2 very good, but slow, deflate or zlib compression. 9 ZopfliCompress supports deflate, gzip and zlib output format with a parameter. 11 deflate.h, ZopfliZlibCompress in zlib_container.h or ZopfliGzipCompress in 14 ZopfliDeflate creates a valid deflate stream in memory, see: 21 This library can only compress, not decompress. Existing zlib or deflate
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | StreamCompressorTest.java | 39 sc.deflate(new ByteArrayInputStream("A".getBytes()), ZipEntry.STORED); in storedEntries() 40 sc.deflate(new ByteArrayInputStream("BAD".getBytes()), ZipEntry.STORED); in storedEntries() 44 sc.deflate(new ByteArrayInputStream("CAFE".getBytes()), ZipEntry.STORED); in storedEntries() 52 sc.deflate(new ByteArrayInputStream("AAAAAABBBBBB".getBytes()), ZipEntry.DEFLATED); in deflatedEntries()
|
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/ |
D | Deflater.cs | 25 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()
|
/external/rust/crates/libz-sys/src/zlib/msdos/ |
D | Makefile.tc | 29 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
|
D | Makefile.bor | 44 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
|
/external/rust/crates/libz-sys/src/zlib-ng/win32/ |
D | Makefile.msc | 59 deflate.obj \ 161 functable.obj: $(SRCDIR)/functable.c $(SRCDIR)/zbuild.h $(SRCDIR)/functable.h $(SRCDIR)/deflate.h $… 170 crc32.obj: $(SRCDIR)/crc32.c $(SRCDIR)/zbuild.h $(SRCDIR)/zendian.h $(SRCDIR)/deflate.h $(SRCDIR)/f… 171 deflate.obj: $(SRCDIR)/deflate.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/deflate_p.h $(SRC… 172 deflate_fast.obj: $(SRCDIR)/deflate_fast.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/deflate… 173 deflate_medium.obj: $(SRCDIR)/deflate_medium.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/def… 174 deflate_quick.obj: $(SRCDIR)/deflate_quick.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/defla… 175 deflate_slow.obj: $(SRCDIR)/deflate_slow.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/deflate… 180 slide_sse.obj: $(SRCDIR)/arch/x86/slide_sse.c $(SRCDIR)/deflate.h 181 trees.obj: $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/trees_tbl.h
|
D | Makefile.a64 | 50 deflate.obj \ 153 functable.obj: $(SRCDIR)/functable.c $(SRCDIR)/zbuild.h $(SRCDIR)/functable.h $(SRCDIR)/deflate.h $… 160 crc32.obj: $(SRCDIR)/crc32.c $(SRCDIR)/zbuild.h $(SRCDIR)/zendian.h $(SRCDIR)/deflate.h $(SRCDIR)/f… 161 deflate.obj: $(SRCDIR)/deflate.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/deflate_p.h $(SRC… 162 deflate_quick.obj: $(SRCDIR)/deflate_quick.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/defla… 163 deflate_fast.obj: $(SRCDIR)/deflate_fast.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/deflate… 164 deflate_medium.obj: $(SRCDIR)/deflate_medium.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/def… 165 deflate_slow.obj: $(SRCDIR)/deflate_slow.c $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/deflate… 170 trees.obj: $(SRCDIR)/zbuild.h $(SRCDIR)/deflate.h $(SRCDIR)/trees_tbl.h
|
/external/rust/crates/libz-sys/src/zlib-ng/ |
D | INDEX.md | 17 | deflate.* | Compress data using the deflate algorithm | 18 | deflate_fast.c | Compress data using the deflate algorithm with fast strategy | 19 | deflate_medium.c | Compress data using the deflate algorithm with medium stragety | 20 | deflate_slow.c | Compress data using the deflate algorithm with slow strategy |
|
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/ |
D | README.md | 1 # 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
|