Home
last modified time | relevance | path

Searched refs:Z_BUF_ERROR (Results 1 – 25 of 92) sorted by relevance

1234

/external/zlib/google/
Dcompression_utils_portable.cc99 return Z_BUF_ERROR; in CompressHelper()
110 return Z_BUF_ERROR; in CompressHelper()
148 return err == Z_OK ? Z_BUF_ERROR : err; in CompressHelper()
178 return Z_BUF_ERROR; in UncompressHelper()
183 return Z_BUF_ERROR; in UncompressHelper()
195 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0)) in UncompressHelper()
/external/libwebsockets/win32port/zlib/
Duncompr.c36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
51 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0))
Dcompress.c36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
52 return err == Z_OK ? Z_BUF_ERROR : err;
/external/zlib/
Dgzread.c62 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
189 gz_error(state, Z_BUF_ERROR, "unexpected end of file");
389 (state->err != Z_OK && state->err != Z_BUF_ERROR))
403 if (len == 0 && state->err != Z_OK && state->err != Z_BUF_ERROR)
427 (state->err != Z_OK && state->err != Z_BUF_ERROR))
465 (state->err != Z_OK && state->err != Z_BUF_ERROR))
500 (state->err != Z_OK && state->err != Z_BUF_ERROR))
564 (state->err != Z_OK && state->err != Z_BUF_ERROR))
652 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
Duncompr.c76 else if (stream.total_out && err == Z_BUF_ERROR)
82 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR :
/external/rust/crates/libz-sys/src/zlib/
Dgzread.c62 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
189 gz_error(state, Z_BUF_ERROR, "unexpected end of file");
389 (state->err != Z_OK && state->err != Z_BUF_ERROR))
403 if (len == 0 && state->err != Z_OK && state->err != Z_BUF_ERROR)
427 (state->err != Z_OK && state->err != Z_BUF_ERROR))
461 (state->err != Z_OK && state->err != Z_BUF_ERROR))
496 (state->err != Z_OK && state->err != Z_BUF_ERROR))
560 (state->err != Z_OK && state->err != Z_BUF_ERROR))
648 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
Duncompr.c76 else if (stream.total_out && err == Z_BUF_ERROR)
82 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR :
/external/rust/crates/libz-sys/src/zlib-ng/
Dgzread.c52 if (state->err != Z_OK && state->err != Z_BUF_ERROR) in gz_avail()
174 gz_error(state, Z_BUF_ERROR, "unexpected end of file"); in gz_decomp()
356 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in PREFIX()
370 if (len == 0 && state->err != Z_OK && state->err != Z_BUF_ERROR) in PREFIX()
393 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in PREFIX()
420 if (state->mode != GZ_READ || (state->err != Z_OK && state->err != Z_BUF_ERROR)) in PREFIX()
448 if (state->mode != GZ_READ || (state->err != Z_OK && state->err != Z_BUF_ERROR)) in PREFIX()
507 if (state->mode != GZ_READ || (state->err != Z_OK && state->err != Z_BUF_ERROR)) in PREFIX()
595 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK; in PREFIX()
Duncompr.c73 else if (stream.total_out && err == Z_BUF_ERROR) in PREFIX()
79 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR : in PREFIX()
Ddeflate.c578 return Z_BUF_ERROR; in PREFIX()
620 return Z_BUF_ERROR; in PREFIX()
782 ERR_RETURN(strm, Z_BUF_ERROR); in PREFIX()
807 ERR_RETURN(strm, Z_BUF_ERROR); in PREFIX()
812 ERR_RETURN(strm, Z_BUF_ERROR); in PREFIX()
1645 (*out)->status = Z_BUF_ERROR; in deflateSetParamPre()
1694 params[i].status = Z_BUF_ERROR; in zng_deflateSetParams()
1700 return Z_BUF_ERROR; in zng_deflateSetParams()
1748 params[i].status = Z_BUF_ERROR; in zng_deflateGetParams()
1754 params[i].status = Z_BUF_ERROR; in zng_deflateGetParams()
[all …]
Dgzlib.c278 if (state->mode != GZ_READ || (state->err != Z_OK && state->err != Z_BUF_ERROR)) in PREFIX()
302 if (state->err != Z_OK && state->err != Z_BUF_ERROR) in PREFIX4()
492 if (err != Z_OK && err != Z_BUF_ERROR) in gz_error()
Dinfback.c71 ret = Z_BUF_ERROR; \
97 ret = Z_BUF_ERROR; \
483 ret = Z_BUF_ERROR; in PREFIX()
/external/python/cpython2/Modules/zlib/
Dgzread.c62 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
189 gz_error(state, Z_BUF_ERROR, "unexpected end of file");
389 (state->err != Z_OK && state->err != Z_BUF_ERROR))
403 if (len == 0 && state->err != Z_OK && state->err != Z_BUF_ERROR)
427 (state->err != Z_OK && state->err != Z_BUF_ERROR))
461 (state->err != Z_OK && state->err != Z_BUF_ERROR))
496 (state->err != Z_OK && state->err != Z_BUF_ERROR))
560 (state->err != Z_OK && state->err != Z_BUF_ERROR))
648 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
Duncompr.c76 else if (stream.total_out && err == Z_BUF_ERROR)
82 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR :
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc132 (zerror_ == Z_BUF_ERROR); in Next()
164 (zerror_ == Z_BUF_ERROR); in Next()
259 return Z_BUF_ERROR; in Deflate()
279 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Next()
312 (zerror_ == Z_BUF_ERROR && zcontext_.avail_in == 0 && in Flush()
317 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Close()
/external/rust/crates/libz-sys/src/zlib/examples/
Dgun.c228 return Z_BUF_ERROR; in lunpipe()
253 return Z_BUF_ERROR; in lunpipe()
283 return Z_BUF_ERROR; in lunpipe()
292 return Z_BUF_ERROR; in lunpipe()
355 return Z_BUF_ERROR; in lunpipe()
420 ret = Z_BUF_ERROR; in gunpipe()
482 ret = Z_BUF_ERROR; in gunpipe()
606 case Z_BUF_ERROR: in gunzip()
/external/zstd/zlibWrapper/
Dgzread.c73 if (state.state->err != Z_OK && state.state->err != Z_BUF_ERROR)
201 gz_error(state, Z_BUF_ERROR, "unexpected end of file");
401 (state.state->err != Z_OK && state.state->err != Z_BUF_ERROR))
415 if (len == 0 && state.state->err != Z_OK && state.state->err != Z_BUF_ERROR)
439 (state.state->err != Z_OK && state.state->err != Z_BUF_ERROR))
485 (state.state->err != Z_OK && state.state->err != Z_BUF_ERROR))
520 (state.state->err != Z_OK && state.state->err != Z_BUF_ERROR))
584 (state.state->err != Z_OK && state.state->err != Z_BUF_ERROR))
672 err = state.state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
/external/freetype/src/gzip/
Dinfutil.c38 if (n && r == Z_BUF_ERROR) r = Z_OK; in inflate_flush()
64 if (n && r == Z_BUF_ERROR) r = Z_OK; in inflate_flush()
Dinftrees.c295 return y != 0 && g != 1 ? Z_BUF_ERROR : Z_OK; in huft_build()
317 else if (r == Z_BUF_ERROR || *bb == 0) in inflate_trees_bits()
368 else if (r == Z_BUF_ERROR) { in inflate_trees_dynamic()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/compression/
Dstream_compression_gzip.cc60 if (r < 0 && r != Z_BUF_ERROR) { in gzip_flate()
87 case Z_BUF_ERROR: in gzip_flate()
100 case Z_BUF_ERROR: in gzip_flate()
/external/grpc-grpc/src/core/lib/compression/
Dstream_compression_gzip.cc60 if (r < 0 && r != Z_BUF_ERROR) { in gzip_flate()
87 case Z_BUF_ERROR: in gzip_flate()
100 case Z_BUF_ERROR: in gzip_flate()
/external/python/cpython2/Modules/
Dzlibmodule.c85 case Z_BUF_ERROR: in zlib_error()
340 case Z_BUF_ERROR: /* fall through */ in PyZlib_decompress()
637 case Z_BUF_ERROR: /* fall through */ in PyZlib_objdecompress()
655 if (err != Z_STREAM_END && err != Z_OK && err != Z_BUF_ERROR) { in PyZlib_objdecompress()
741 } else if (err != Z_OK && err != Z_BUF_ERROR) { in PyZlib_flush()
897 case Z_BUF_ERROR: /* fall through */ in PyZlib_unflush()
/external/libevent/test/
Dregress_zlib.c167 if (res==Z_BUF_ERROR) { in zlib_input_filter()
221 if (res==Z_BUF_ERROR) { in zlib_output_filter()
/external/python/cpython3/Modules/
Dzlibmodule.c76 case Z_BUF_ERROR: in zlib_error()
393 case Z_BUF_ERROR: /* fall through */ in zlib_decompress_impl()
819 case Z_BUF_ERROR: /* fall through */ in zlib_Decompress_decompress_impl()
844 } else if (err != Z_OK && err != Z_BUF_ERROR) { in zlib_Decompress_decompress_impl()
931 } else if (err != Z_OK && err != Z_BUF_ERROR) { in zlib_Compress_flush_impl()
1160 case Z_BUF_ERROR: /* fall through */ in zlib_Decompress_flush_impl()
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dinfcover.c323 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) in inf()
336 assert(ret == Z_BUF_ERROR); in inf()
503 assert(ret == Z_BUF_ERROR); in cover_back()
574 if (err && ret != Z_BUF_ERROR) { in try()

1234