Home
last modified time | relevance | path

Searched refs:Z_FINISH (Results 1 – 25 of 130) sorted by relevance

123456

/external/zlib/contrib/tests/
Dutils_unittest.cc115 ret = deflate(&comp_strm, Z_FINISH); in TEST()
131 ret = inflate(&decomp_strm, Z_FINISH); in TEST()
194 ret = deflate(&stream, Z_FINISH); in TEST()
206 ret = inflate(&stream, Z_FINISH); in TEST()
263 ret = deflate(&stream, Z_FINISH); in TEST()
275 ret = inflate(&stream, Z_FINISH); in TEST()
402 ret = deflate(&stream, Z_FINISH); in TEST()
414 ret = inflate(&stream, Z_FINISH); in TEST()
518 ret = deflate(&stream, Z_FINISH); in TEST()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/compression/
Dstream_compression_gzip.cc41 GPR_ASSERT(flush == 0 || flush == Z_SYNC_FLUSH || flush == Z_FINISH); in gzip_flate()
43 GPR_ASSERT(!(ctx->flate == inflate && (flush == Z_FINISH))); in gzip_flate()
97 } else if (flush == Z_FINISH) { in gzip_flate()
158 gzip_flush = Z_FINISH; in grpc_stream_compress_gzip()
/external/grpc-grpc/src/core/lib/compression/
Dstream_compression_gzip.cc41 GPR_ASSERT(flush == 0 || flush == Z_SYNC_FLUSH || flush == Z_FINISH); in gzip_flate()
43 GPR_ASSERT(!(ctx->flate == inflate && (flush == Z_FINISH))); in gzip_flate()
97 } else if (flush == Z_FINISH) { in gzip_flate()
158 gzip_flush = Z_FINISH; in grpc_stream_compress_gzip()
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dexample.c264 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate()
414 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_large_deflate()
488 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_flush()
527 err = PREFIX(inflate)(&d_stream, Z_FINISH); in test_sync()
564 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_dict_deflate()
651 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_bound()
694 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_copy()
735 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_get_dict()
797 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_pending()
854 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_prime()
[all …]
Dminideflate.c99 if (flush != Z_FINISH) { in deflate_params()
108 err = PREFIX(deflate)(&c_stream, Z_FINISH); in deflate_params()
184 if (flush != Z_FINISH) { in inflate_params()
193 err = PREFIX(inflate)(&d_stream, Z_FINISH); in inflate_params()
/external/zlib/contrib/tests/fuzzers/
Dstreaming_inflate_fuzzer.cc38 ret = deflate(&comp_strm, Z_FINISH); in LLVMFuzzerTestOneInput()
56 ret = inflate(&decomp_strm, Z_FINISH); in LLVMFuzzerTestOneInput()
Ddeflate_fuzzer.cc52 ret = deflate(&stream, Z_FINISH); in LLVMFuzzerTestOneInput()
66 ret = inflate(&stream, Z_FINISH); in LLVMFuzzerTestOneInput()
/external/rust/crates/libz-sys/src/zlib/contrib/pascal/
Dexample.pas214 err := deflate(c_stream, Z_FINISH);
311 err := deflate(c_stream, Z_FINISH);
392 err := deflate(c_stream, Z_FINISH);
434 err := inflate(d_stream, Z_FINISH);
471 err := deflate(c_stream, Z_FINISH);
/external/oss-fuzz/projects/zlib/
Dexample_flush_fuzzer.c47 err = deflate(&c_stream, Z_FINISH); in test_flush()
85 err = inflate(&d_stream, Z_FINISH); in test_sync()
/external/skqp/src/pdf/
DSkDeflate.cpp53 SkASSERT(flush == Z_FINISH in do_deflate()
93 do_deflate(Z_FINISH, &fImpl->fZStream, fImpl->fOut, fImpl->fInBuffer, in finalize()
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dexample_flush_fuzzer.c53 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_flush()
90 err = PREFIX(inflate)(&d_stream, Z_FINISH); in test_sync()
/external/skia/src/pdf/
DSkDeflate.cpp54 SkASSERT(flush == Z_FINISH in do_deflate()
94 do_deflate(Z_FINISH, &fImpl->fZStream, fImpl->fOut, fImpl->fInBuffer, in finalize()
/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_deflate.c133 if (flush == Z_FINISH) in dfltcc_deflate()
190 need_empty_block = flush == Z_FINISH && param->bcf && !param->bhf; in dfltcc_deflate()
198 if (flush == Z_FINISH && !param->bcf) in dfltcc_deflate()
263 if (flush == Z_FINISH) { in dfltcc_deflate()
/external/rust/crates/libz-sys/src/zlib/examples/
Dzpipe.c59 flush = feof(source) ? Z_FINISH : Z_NO_FLUSH; in def()
78 } while (flush != Z_FINISH); in def()
Dfitblk.c85 flush = Z_FINISH; in partcompress()
116 flush = Z_FINISH; in recompress()
/external/elfutils/libelf/
Delf_compress.c156 flush = Z_FINISH; in __libelf_compress()
174 if (!force && flush == Z_FINISH && used >= *orig_size) in __libelf_compress()
197 while (flush != Z_FINISH); /* More data blocks. */ in __libelf_compress()
245 zrc = inflate (&z, Z_FINISH); in __libelf_decompress()
/external/zstd/zlibWrapper/examples/
Dexample.c251 err = deflate(&c_stream, Z_FINISH);
347 err = deflate(&c_stream, Z_FINISH);
425 err = deflate(&c_stream, Z_FINISH);
467 err = inflate(&d_stream, Z_FINISH);
507 err = deflate(&c_stream, Z_FINISH);
Dexample_original.c243 err = deflate(&c_stream, Z_FINISH);
339 err = deflate(&c_stream, Z_FINISH);
417 err = deflate(&c_stream, Z_FINISH);
459 err = inflate(&d_stream, Z_FINISH);
499 err = deflate(&c_stream, Z_FINISH);
Dfitblk_original.c85 flush = Z_FINISH; in partcompress()
116 flush = Z_FINISH; in recompress()
/external/rust/crates/libz-sys/src/zlib/test/
Dexample.c226 err = deflate(&c_stream, Z_FINISH);
322 err = deflate(&c_stream, Z_FINISH);
400 err = deflate(&c_stream, Z_FINISH);
442 err = inflate(&d_stream, Z_FINISH);
482 err = deflate(&c_stream, Z_FINISH);
/external/python/cpython2/Modules/zlib/
Dexample.c226 err = deflate(&c_stream, Z_FINISH);
322 err = deflate(&c_stream, Z_FINISH);
400 err = deflate(&c_stream, Z_FINISH);
442 err = inflate(&d_stream, Z_FINISH);
482 err = deflate(&c_stream, Z_FINISH);
/external/zlib/google/
Dcompression_utils_portable.cc145 err = deflate(&stream, Z_FINISH); in CompressHelper()
192 err = inflate(&stream, Z_FINISH); in UncompressHelper()
/external/rust/crates/libz-sys/src/zlib/contrib/delphi/
DZLib.pas171 Z_FINISH = 4;
304 while CCheck(deflate(strm, Z_FINISH)) <> Z_STREAM_END do
380 if DCheck(inflate(strm, Z_FINISH)) <> Z_STREAM_END then
424 while (CCheck(deflate(FZRec, Z_FINISH)) <> Z_STREAM_END)
/external/python/cpython2/Modules/
Dzlibmodule.c240 flush = ibuflen == 0 ? Z_FINISH : Z_NO_FLUSH; in PyZlib_compress()
262 } while (flush != Z_FINISH); in PyZlib_compress()
325 flush = ibuflen == 0 ? Z_FINISH : Z_NO_FLUSH; in PyZlib_decompress()
690 int flushmode = Z_FINISH; in PyZlib_flush()
727 if (err == Z_STREAM_END && flushmode == Z_FINISH) { in PyZlib_flush()
884 flush = ibuflen == 0 ? Z_FINISH : Z_NO_FLUSH; in PyZlib_unflush()
1149 PyModule_AddIntConstant(m, "Z_FINISH", Z_FINISH); in PyInit_zlib()
/external/libwebsockets/win32port/zlib/
Ddeflate.c609 (s->status == FINISH_STATE && flush != Z_FINISH)) {
817 flush != Z_FINISH) {
877 if (flush != Z_FINISH) return Z_OK;
1521 FLUSH_BLOCK(s, flush == Z_FINISH);
1522 return flush == Z_FINISH ? finish_done : block_done;
1618 FLUSH_BLOCK(s, flush == Z_FINISH);
1619 return flush == Z_FINISH ? finish_done : block_done;
1743 FLUSH_BLOCK(s, flush == Z_FINISH);
1744 return flush == Z_FINISH ? finish_done : block_done;
1811 FLUSH_BLOCK(s, flush == Z_FINISH);
[all …]

123456