Home
last modified time | relevance | path

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

123

/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/zlib/src/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/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/skia/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/elfutils/libelf/
Delf_compress.c157 flush = Z_FINISH; in __libelf_compress()
175 if (!force && flush == Z_FINISH && used >= *orig_size) in __libelf_compress()
198 while (flush != Z_FINISH); /* More data blocks. */ in __libelf_compress()
246 zrc = inflate (&z, Z_FINISH); in __libelf_decompress()
/external/zlib/src/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);
Ddeflate.c777 (s->status == FINISH_STATE && flush != Z_FINISH)) {
804 flush != Z_FINISH) {
1046 if (flush != Z_FINISH) return Z_OK;
1681 if (len < min_block && ((len == 0 && flush != Z_FINISH) ||
1689 last = flush == Z_FINISH && len == left + s->strm->avail_in ? 1 : 0;
1768 if (flush != Z_NO_FLUSH && flush != Z_FINISH &&
1803 ((left || flush == Z_FINISH) && flush != Z_NO_FLUSH &&
1806 last = flush == Z_FINISH && s->strm->avail_in == 0 &&
1911 if (flush == Z_FINISH) {
2042 if (flush == Z_FINISH) {
[all …]
Dgzwrite.c106 (flush != Z_FINISH || ret == Z_STREAM_END))) {
136 if (flush == Z_FINISH)
569 if (flush < 0 || flush > Z_FINISH)
650 if (gz_comp(state, Z_FINISH) == -1)
Dcompress.c58 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH);
/external/u-boot/lib/zlib/
Ddeflate.c595 if (s->status == FINISH_STATE && flush != Z_FINISH) {
803 flush != Z_FINISH) {
863 if (flush != Z_FINISH) return Z_OK;
1507 FLUSH_BLOCK(s, flush == Z_FINISH);
1508 return flush == Z_FINISH ? finish_done : block_done;
1604 FLUSH_BLOCK(s, flush == Z_FINISH);
1605 return flush == Z_FINISH ? finish_done : block_done;
1729 FLUSH_BLOCK(s, flush == Z_FINISH);
1730 return flush == Z_FINISH ? finish_done : block_done;
1797 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/zlib/src/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/zlib/src/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/tensorflow/tensorflow/core/lib/io/
Dzlib_outputbuffer.cc110 int flush_mode = last ? Z_FINISH : zlib_options_.flush_mode; in DeflateBuffered()
222 (error == Z_STREAM_END && flush == Z_FINISH)) { in Deflate()
/external/zlib/src/
Ddeflate.c777 (s->status == FINISH_STATE && flush != Z_FINISH)) {
804 flush != Z_FINISH) {
1046 if (flush != Z_FINISH) return Z_OK;
1681 if (len < min_block && ((len == 0 && flush != Z_FINISH) ||
1689 last = flush == Z_FINISH && len == left + s->strm->avail_in ? 1 : 0;
1768 if (flush != Z_NO_FLUSH && flush != Z_FINISH &&
1803 ((left || flush == Z_FINISH) && flush != Z_NO_FLUSH &&
1806 last = flush == Z_FINISH && s->strm->avail_in == 0 &&
1911 if (flush == Z_FINISH) {
2042 if (flush == Z_FINISH) {
[all …]
Dgzwrite.c106 (flush != Z_FINISH || ret == Z_STREAM_END))) {
136 if (flush == Z_FINISH)
569 if (flush < 0 || flush > Z_FINISH)
650 if (gz_comp(state, Z_FINISH) == -1)
Dcompress.c58 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH);
/external/python/cpython3/Modules/
Dzlibmodule.c239 flush = ibuflen == 0 ? Z_FINISH : Z_NO_FLUSH; in zlib_compress_impl()
261 } while (flush != Z_FINISH); in zlib_compress_impl()
364 flush = ibuflen == 0 ? Z_FINISH : Z_NO_FLUSH; in zlib_decompress_impl()
901 if (err == Z_STREAM_END && mode == Z_FINISH) { in zlib_Compress_flush_impl()
1078 flush = ibuflen == 0 ? Z_FINISH : Z_NO_FLUSH; in zlib_Decompress_flush_impl()
1384 PyModule_AddIntMacro(m, Z_FINISH); in PyInit_zlib()
/external/u-boot/fs/cramfs/
Duncompress.c43 err = inflate (&stream, Z_FINISH); in cramfs_uncompress_block()
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc264 if ((flush == Z_FULL_FLUSH) || (flush == Z_FINISH)) { in Deflate()
318 zerror_ = Deflate(Z_FINISH); in Close()
/external/python/cpython3/Doc/library/
Dzlib.rst220 :const:`Z_FULL_FLUSH`, :const:`Z_BLOCK` (zlib 1.2.3.4), or :const:`Z_FINISH`,
221 defaulting to :const:`Z_FINISH`. Except :const:`Z_FINISH`, all constants
222 allow compressing further bytestrings of data, while :const:`Z_FINISH` finishes the
224 with *mode* set to :const:`Z_FINISH`, the :meth:`compress` method cannot be called again;
/external/freetype/src/gzip/
Dzlib.h129 #define Z_FINISH 4 macro
/external/u-boot/lib/
Dgzip.c83 Z_NO_FLUSH : Z_FINISH; in zzip()

123