/third_party/node/test/parallel/ |
H A D | test-zlib-dictionary.js | 54 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 [all...] |
/third_party/libwebsockets/lib/roles/http/compression/deflate/ |
H A 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() 43 lwsl_err("deflate init failed: %d\n", n); 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() [all...] |
/third_party/zlib/contrib/pascal/ |
H A D | example.pas | 181 * Test deflate with small buffers 206 err := deflate(c_stream, Z_NO_FLUSH); 207 CHECK_ERR(err, 'deflate'); 214 err := deflate(c_stream, Z_FINISH); 217 CHECK_ERR(err, 'deflate'); 269 * Test deflate with large buffers and dynamic change of compression level 292 err := deflate(c_stream, Z_NO_FLUSH); 293 CHECK_ERR(err, 'deflate'); 295 EXIT_ERR('deflate not greedy'); 301 err := deflate(c_strea [all...] |
H A D | zlibd32.mak | 21 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/toybox/lib/ |
H A D | deflate.c | 0 /* deflate.c - deflate/inflate code for gzip and friends 5 * See RFCs 1950 (zlib), 1951 (deflate), and 1952 (gzip) 13 struct deflate { struct 20 void (*crcfunc)(struct deflate *dd, char *data, unsigned len); 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() 323 // For deflate, dd->len = input read, dd->pos = input consumed 324 static void deflate(struct deflate *d function [all...] |
/third_party/zlib/contrib/delphi/ |
H A D | zlibd32.mak | 21 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
|
H A D | ZLib.pas | 203 {$L deflate.obj} 240 // deflate compresses data 243 function deflate(var strm: TZStreamRec; flush: Integer): Integer; external; in deflate() function 304 while CCheck(deflate(strm, Z_FINISH)) <> Z_STREAM_END do 424 while (CCheck(deflate(FZRec, Z_FINISH)) <> Z_STREAM_END) 451 CCheck(deflate(FZRec, 0));
|
/third_party/lwip/src/netif/ppp/ |
H A D | ccp.c | 50 * buffer overruns and kernel crashes in the deflate module. 88 { "deflate", o_special, (void *)setdeflate, 91 { "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 }, 99 "don't use draft deflate #", OPT_A2COPY, 251 || (opt)->deflate in ccp_anycompress() 330 option_error("invalid parameter '%s' for deflate optio [all...] |
/third_party/zlib/contrib/dotzlib/DotZLib/ |
H A D | Deflater.cs | 16 /// Implements a data compressor, using the deflate algorithm in the ZLib dll
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() 101 /// Closes the internal zlib deflate stream
|
/third_party/node/benchmark/zlib/ |
H A D | deflate.js | 6 method: ['createDeflate', 'deflate', 'deflateSync'], 13 method = method || 'deflate'; 17 // Performs `n` writes for a single deflate stream 34 // Performs `n` single deflate operations 35 case 'deflate': { 37 const deflate = zlib.deflate; 42 deflate(chunk, next); 56 throw new Error('Unsupported deflate method');
|
/third_party/zlib/test/ |
H A D | example.c | 168 * Test deflate() with small buffers 188 err = deflate(&c_stream, Z_NO_FLUSH); in test_deflate() 189 CHECK_ERR(err, "deflate"); in test_deflate() 194 err = deflate(&c_stream, Z_FINISH); in test_deflate() 199 CHECK_ERR(err, "deflate"); in test_deflate() 250 * Test deflate() with large buffers and dynamic change of compression level 273 err = deflate(&c_stream, Z_NO_FLUSH); in test_large_deflate() 274 CHECK_ERR(err, "deflate"); in test_large_deflate() 276 fprintf(stderr, "deflate not greedy\n"); in test_large_deflate() 284 err = deflate( in test_large_deflate() [all...] |
/third_party/zlib/watcom/ |
H A D | watcom_l.mak | 7 C_SOURCE = adler32.c compress.c crc32.c deflate.c & 12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj & 30 wlib -b -c $(ZLIB_LIB) -+deflate.obj -+infback.obj
|
H A D | watcom_f.mak | 7 C_SOURCE = adler32.c compress.c crc32.c deflate.c & 12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj & 30 wlib -b -c $(ZLIB_LIB) -+deflate.obj -+infback.obj
|
/third_party/nghttp2/examples/ |
H A D | deflate.c | 40 static void deflate(nghttp2_hd_deflater *deflater, 55 MAKE_NV("accept-encoding", "gzip, deflate")}; in main() 61 MAKE_NV("accept-encoding", "gzip, deflate"), in main() 81 deflate(deflater, inflater, nva1, sizeof(nva1) / sizeof(nva1[0])); in main() 85 deflate(deflater, inflater, nva2, sizeof(nva2) / sizeof(nva2[0])); in main() 93 static void deflate(nghttp2_hd_deflater *deflater, in deflate() function
|
/third_party/libwebsockets/contrib/ |
H A D | Android.mk | 19 $(LWS_LIB_PATH)/extension-deflate-frame.c \ 20 $(LWS_LIB_PATH)/extension-deflate-stream.c \
|
/third_party/skia/third_party/externals/libpng/contrib/pngminim/encoder/ |
H A D | makefile | 31 ZSRCS = adler32$(C) compress$(C) crc32$(C) deflate$(C) \ 35 #ZH = zlib.h crc32.h deflate.h trees.h zutil.h 36 ZH = zlib.h crc32.h deflate.h trees.h zutil.h 48 # code because deflate defines an unused API function deflateBound 50 ZOBJS = adler32$(O) compress$(O) crc32$(O) deflate$(O) \
|
/third_party/skia/src/pdf/ |
H A D | SkPDFTypes.cpp | 426 bool deflate, in serialize_stream() 436 if (deflate && stream->getLength() > kMinimumSavings) { in serialize_stream() 471 bool deflate) { in SkPDFStreamOut() 479 executor->add([dictPtr, contentPtr, deflate, doc, ref]() { in SkPDFStreamOut() 480 serialize_stream(dictPtr, contentPtr, deflate, doc, ref); in SkPDFStreamOut() 487 serialize_stream(dict.get(), content.get(), deflate, doc, ref); in SkPDFStreamOut() 424 serialize_stream(SkPDFDict* origDict, SkStreamAsset* stream, bool deflate, SkPDFDocument* doc, SkPDFIndirectReference ref) serialize_stream() argument 468 SkPDFStreamOut(std::unique_ptr<SkPDFDict> dict, std::unique_ptr<SkStreamAsset> content, SkPDFDocument* doc, bool deflate) SkPDFStreamOut() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | lclenc.c | 95 zret = deflate(zstream, Z_NO_FLUSH); in encode_frame() 101 zret = deflate(zstream, Z_FINISH); in encode_frame()
|
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/ |
H A D | deflate_fuzzer.cc | 47 ret = deflate(&stream, Z_NO_FLUSH); in LLVMFuzzerTestOneInput() 52 ret = deflate(&stream, Z_FINISH); in LLVMFuzzerTestOneInput()
|
/third_party/zlib/examples/ |
H A D | fitblk.c | 19 enough deflate blocks to produce output to fill the requested 21 below). The last deflate block may go quite a bit past that, but 24 buffer. The deflate process is terminated after that amount of 26 The last deflate block of the result will be of a comparable size 27 to the final product, so that the header for that deflate block and 44 the last deflate block compressing more efficiently with a smaller 47 out the requested size, and small enough so that the final deflate 48 block of the second pass will be close in size to the final deflate 71 input reached; return last deflate() return value, or Z_ERRNO if 86 ret = deflate(de in partcompress() [all...] |
/third_party/node/deps/openssl/openssl/crypto/comp/ |
H A D | c_zlib.c | 113 # define deflate p_deflate macro 180 err = deflate(&state->ostream, Z_SYNC_FLUSH); in zlib_stateful_compress_block() 229 p_deflate = (deflate_ft) DSO_bind_func(zlib_dso, "deflate"); in DEFINE_RUN_ONCE_STATIC() 279 int odone; /* deflate EOF */ 488 ret = deflate(zout, 0); in bio_zlib_write() 535 ret = deflate(zout, Z_FINISH); in bio_zlib_flush()
|
/third_party/openssl/crypto/comp/ |
H A D | c_zlib.c | 113 # define deflate p_deflate macro 180 err = deflate(&state->ostream, Z_SYNC_FLUSH); in zlib_stateful_compress_block() 229 p_deflate = (deflate_ft) DSO_bind_func(zlib_dso, "deflate"); in DEFINE_RUN_ONCE_STATIC() 279 int odone; /* deflate EOF */ 488 ret = deflate(zout, 0); in bio_zlib_write() 535 ret = deflate(zout, Z_FINISH); in bio_zlib_flush()
|
/third_party/libwebsockets/lib/roles/http/compression/ |
H A D | private-lib-roles-http-compression.h | 49 z_stream *deflate; member
|
/third_party/skia/third_party/externals/zlib/contrib/tests/ |
H A D | utils_unittest.cc | 115 ret = deflate(&comp_strm, Z_FINISH); in TEST() 184 // windowbits means raw deflate, i.e. without the zlib header. in TEST() 194 ret = deflate(&stream, Z_FINISH); in TEST() 263 ret = deflate(&stream, Z_FINISH); in TEST() 395 ret = deflate(&stream, Z_NO_FLUSH); in TEST() 402 ret = deflate(&stream, Z_FINISH); in TEST() 513 ret = deflate(&stream, Z_NO_FLUSH); in TEST() 518 ret = deflate(&stream, Z_FINISH); in TEST()
|
/third_party/libwebsockets/win32port/zlib/ |
H A D | compress.c | 49 err = deflate(&stream, Z_FINISH);
|