Home
last modified time | relevance | path

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

1234567

/external/zlib/contrib/tests/
Dutils_unittest.cc119 ret = deflate(&comp_strm, Z_FINISH); in TEST()
135 ret = inflate(&decomp_strm, Z_FINISH); in TEST()
198 ret = deflate(&stream, Z_FINISH); in TEST()
210 ret = inflate(&stream, Z_FINISH); in TEST()
267 ret = deflate(&stream, Z_FINISH); in TEST()
279 ret = inflate(&stream, Z_FINISH); in TEST()
406 ret = deflate(&stream, Z_FINISH); in TEST()
418 ret = inflate(&stream, Z_FINISH); in TEST()
522 ret = deflate(&stream, Z_FINISH); in TEST()
997 ret = deflate(&stream, Z_FINISH); in TEST()
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/
Ddeflate_stored.c61 …if (len < min_block && ((len == 0 && flush != Z_FINISH) || flush == Z_NO_FLUSH || len != left + s-… in deflate_stored()
67 last = flush == Z_FINISH && len == left + s->strm->avail_in ? 1 : 0; in deflate_stored()
142 …if (flush != Z_NO_FLUSH && flush != Z_FINISH && s->strm->avail_in == 0 && (int)s->strstart == s->b… in deflate_stored()
176 …if (left >= min_block || ((left || flush == Z_FINISH) && flush != Z_NO_FLUSH && s->strm->avail_in … in deflate_stored()
178 last = flush == Z_FINISH && s->strm->avail_in == 0 && len == left ? 1 : 0; in deflate_stored()
/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.c224 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate()
360 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_large_deflate()
430 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_flush()
469 err = PREFIX(inflate)(&d_stream, Z_FINISH); in test_sync()
504 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_dict_deflate()
601 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_bound()
644 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_copy()
685 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_get_dict()
745 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_pending()
802 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_deflate_prime()
[all …]
Dtest_deflate_quick_bi_valid.cc70 err = PREFIX(deflate)(&strm, Z_FINISH); in TEST()
75 err = PREFIX(deflate)(&strm, Z_FINISH); in TEST()
Dtest_inflate_sync.cc43 err = PREFIX(deflate)(&c_stream, Z_FINISH); in TEST()
70 err = PREFIX(inflate)(&d_stream, Z_FINISH); in TEST()
Dminideflate.c93 if (flush != Z_FINISH) { in deflate_params()
102 err = PREFIX(deflate)(&c_stream, Z_FINISH); in deflate_params()
179 if (flush != Z_FINISH) { in inflate_params()
188 err = PREFIX(inflate)(&d_stream, Z_FINISH); in inflate_params()
Dtest_deflate_prime.cc59 err = PREFIX(deflate)(&c_stream, Z_FINISH); in TEST()
84 err = PREFIX(inflate)(&d_stream, Z_FINISH); in TEST()
/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/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dfuzzer_example_flush.c48 err = PREFIX(deflate)(&c_stream, Z_FINISH); in test_flush()
85 err = PREFIX(inflate)(&d_stream, Z_FINISH); in test_sync()
/external/skia/src/pdf/
DSkDeflate.cpp54 SkASSERT(flush == Z_FINISH in do_deflate()
101 do_deflate(Z_FINISH, &fImpl->fZStream, fImpl->fOut, fImpl->fInBuffer, in finalize()
/external/elfutils/libelf/
Delf_compress.c154 flush = Z_FINISH; in __libelf_compress()
172 if (!force && flush == Z_FINISH && used >= *orig_size) in __libelf_compress()
195 while (flush != Z_FINISH); /* More data blocks. */ in __libelf_compress()
243 zrc = inflate (&z, Z_FINISH); in __libelf_decompress()
/external/zstd/zlibWrapper/examples/
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);
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);
/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/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/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()
/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 …]
/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/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/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_deflate.c163 if (flush == Z_FINISH) in PREFIX()
220 need_empty_block = flush == Z_FINISH && param->bcf && !param->bhf; in PREFIX()
228 if (flush == Z_FINISH && !param->bcf) in PREFIX()
296 if (flush == Z_FINISH) { in PREFIX()

1234567