Home
last modified time | relevance | path

Searched refs:Z_STREAM_END (Results 1 – 25 of 165) sorted by relevance

1234567

/external/zlib/contrib/tests/
Dutils_unittest.cc116 ASSERT_EQ(ret, Z_STREAM_END); in TEST()
132 ASSERT_TRUE(ret == Z_OK || ret == Z_STREAM_END || ret == Z_BUF_ERROR); in TEST()
195 ASSERT_EQ(ret, Z_STREAM_END); in TEST()
207 ASSERT_EQ(ret, Z_STREAM_END); in TEST()
264 ASSERT_EQ(ret, Z_STREAM_END); in TEST()
276 ASSERT_EQ(ret, Z_STREAM_END); in TEST()
403 ASSERT_EQ(ret, Z_STREAM_END); in TEST()
415 ASSERT_EQ(ret, Z_STREAM_END); in TEST()
519 ASSERT_EQ(ret, Z_STREAM_END); in TEST()
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc105 return Z_STREAM_END; in Inflate()
131 bool ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) || in Next()
140 if (zerror_ == Z_STREAM_END) { in Next()
159 if ((zerror_ == Z_STREAM_END) && (zcontext_.next_out == NULL)) { in Next()
163 ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) || in Next()
325 zerror_ = Z_STREAM_END; in Close()
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dexample.c265 if (err == Z_STREAM_END) break; in test_deflate()
298 if (err == Z_STREAM_END) break; in test_inflate()
415 if (err != Z_STREAM_END) { in test_large_deflate()
448 if (err == Z_STREAM_END) break; in test_large_inflate()
489 if (err != Z_STREAM_END) { in test_flush()
528 if (err != Z_STREAM_END) { in test_sync()
565 if (err != Z_STREAM_END) { in test_dict_deflate()
597 if (err == Z_STREAM_END) break; in test_dict_inflate()
652 if (err == Z_STREAM_END) { in test_deflate_bound()
695 if (err == Z_STREAM_END) break; in test_deflate_copy()
[all …]
Dminideflate.c88 if (err == Z_STREAM_END) break; in deflate_params()
109 if (err == Z_STREAM_END) break; in deflate_params()
173 if (err == Z_STREAM_END) break; in inflate_params()
194 if (err == Z_STREAM_END) break; in inflate_params()
/external/rust/crates/libz-sys/src/zlib/contrib/pascal/
Dexample.pas215 if err = Z_STREAM_END then
253 if err = Z_STREAM_END then
312 if err <> Z_STREAM_END then
346 if err = Z_STREAM_END then
393 if err <> Z_STREAM_END then
472 if err <> Z_STREAM_END then
507 if err = Z_STREAM_END then
/external/python/cpython2/Modules/
Dzlibmodule.c263 assert(err == Z_STREAM_END); in PyZlib_compress()
341 case Z_STREAM_END: in PyZlib_decompress()
356 } while (err != Z_STREAM_END && ibuflen != 0); in PyZlib_decompress()
359 if (err != Z_STREAM_END) { in PyZlib_decompress()
534 if (err == Z_STREAM_END) { in save_unconsumed_input()
638 case Z_STREAM_END: in PyZlib_objdecompress()
646 } while (err != Z_STREAM_END && ibuflen != 0); in PyZlib_objdecompress()
655 if (err != Z_STREAM_END && err != Z_OK && err != Z_BUF_ERROR) { in PyZlib_objdecompress()
727 if (err == Z_STREAM_END && flushmode == Z_FINISH) { in PyZlib_flush()
898 case Z_STREAM_END: in PyZlib_unflush()
[all …]
/external/rust/crates/libz-sys/src/zlib/examples/
Dzpipe.c79 assert(ret == Z_STREAM_END); /* stream will be complete */ in def()
143 } while (ret != Z_STREAM_END); in inf()
147 return ret == Z_STREAM_END ? Z_OK : Z_DATA_ERROR; in inf()
Dfitblk.c119 } while (ret != Z_STREAM_END && def->avail_out != 0); in recompress()
163 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { in main()
215 assert(ret == Z_STREAM_END); /* otherwise MARGIN too small */ in main()
Dzran.c202 if (ret == Z_STREAM_END) in build_index()
225 } while (ret != Z_STREAM_END); in build_index()
331 if (ret == Z_STREAM_END) in extract()
336 if (ret == Z_STREAM_END) in extract()
/external/python/cpython3/Modules/
Dzlibmodule.c274 assert(err == Z_STREAM_END); in zlib_compress_impl()
394 case Z_STREAM_END: in zlib_decompress_impl()
409 } while (err != Z_STREAM_END && ibuflen != 0); in zlib_decompress_impl()
412 if (err != Z_STREAM_END) { in zlib_decompress_impl()
713 if (err == Z_STREAM_END) { in save_unconsumed_input()
820 case Z_STREAM_END: in zlib_Decompress_decompress_impl()
834 } while (err != Z_STREAM_END && ibuflen != 0); in zlib_Decompress_decompress_impl()
840 if (err == Z_STREAM_END) { in zlib_Decompress_decompress_impl()
917 if (err == Z_STREAM_END && mode == Z_FINISH) { in zlib_Compress_flush_impl()
1161 case Z_STREAM_END: in zlib_Decompress_flush_impl()
[all …]
/external/zstd/zlibWrapper/examples/
Dexample.c252 if (err == Z_STREAM_END) break;
286 if (err == Z_STREAM_END) break;
348 if (err != Z_STREAM_END) {
382 if (err == Z_STREAM_END) break;
426 if (err != Z_STREAM_END) {
508 if (err != Z_STREAM_END) {
543 if (err == Z_STREAM_END) break;
Dexample_original.c244 if (err == Z_STREAM_END) break;
278 if (err == Z_STREAM_END) break;
340 if (err != Z_STREAM_END) {
374 if (err == Z_STREAM_END) break;
418 if (err != Z_STREAM_END) {
500 if (err != Z_STREAM_END) {
535 if (err == Z_STREAM_END) break;
Dfitblk_original.c119 } while (ret != Z_STREAM_END && def->avail_out != 0); in recompress()
163 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { in main()
215 assert(ret == Z_STREAM_END); /* otherwise MARGIN too small */ in main()
Dfitblk.c131 } while (ret != Z_STREAM_END && def->avail_out != 0); in recompress()
180 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { in main()
236 assert(ret == Z_STREAM_END); /* otherwise MARGIN too small */ in main()
/external/rust/crates/libz-sys/src/zlib/test/
Dexample.c227 if (err == Z_STREAM_END) break;
261 if (err == Z_STREAM_END) break;
323 if (err != Z_STREAM_END) {
357 if (err == Z_STREAM_END) break;
401 if (err != Z_STREAM_END) {
483 if (err != Z_STREAM_END) {
518 if (err == Z_STREAM_END) break;
/external/python/cpython2/Modules/zlib/
Dexample.c227 if (err == Z_STREAM_END) break;
261 if (err == Z_STREAM_END) break;
323 if (err != Z_STREAM_END) {
357 if (err == Z_STREAM_END) break;
401 if (err != Z_STREAM_END) {
483 if (err != Z_STREAM_END) {
518 if (err == Z_STREAM_END) break;
/external/zlib/contrib/tests/fuzzers/
Dstreaming_inflate_fuzzer.cc39 ASSERT(ret == Z_STREAM_END); in LLVMFuzzerTestOneInput()
57 ASSERT(ret == Z_OK || ret == Z_STREAM_END || ret == Z_BUF_ERROR); in LLVMFuzzerTestOneInput()
Ddeflate_fuzzer.cc53 ASSERT(ret == Z_STREAM_END); in LLVMFuzzerTestOneInput()
67 ASSERT(ret == Z_STREAM_END); in LLVMFuzzerTestOneInput()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/compression/
Dstream_compression_gzip.cc65 } else if (r == Z_STREAM_END && ctx->flate == inflate) { in gzip_flate()
88 case Z_STREAM_END: in gzip_flate()
104 case Z_STREAM_END: in gzip_flate()
/external/grpc-grpc/src/core/lib/compression/
Dstream_compression_gzip.cc65 } else if (r == Z_STREAM_END && ctx->flate == inflate) { in gzip_flate()
88 case Z_STREAM_END: in gzip_flate()
104 case Z_STREAM_END: in gzip_flate()
/external/rust/crates/libz-sys/src/zlib/contrib/delphi/
DZLib.pas174 Z_STREAM_END = 1;
304 while CCheck(deflate(strm, Z_FINISH)) <> Z_STREAM_END do
347 while DCheck(inflate(strm, Z_NO_FLUSH)) <> 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/oss-fuzz/projects/zlib/
Dexample_small_fuzzer.c49 if (err == Z_STREAM_END) in test_deflate()
80 if (err == Z_STREAM_END) in test_inflate()
Dexample_dict_fuzzer.c80 if (err != Z_STREAM_END) { in test_dict_deflate()
112 if (err == Z_STREAM_END) in test_dict_inflate()
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dexample_small_fuzzer.c55 if (err == Z_STREAM_END) in test_deflate()
85 if (err == Z_STREAM_END) in test_inflate()
Dexample_flush_fuzzer.c54 if (err != Z_STREAM_END) { in test_flush()
91 if (err != Z_STREAM_END) { in test_sync()

1234567