Home
last modified time | relevance | path

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

123

/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 :
Dgzlib.c355 (state->err != Z_OK && state->err != Z_BUF_ERROR))
383 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
592 if (err != Z_OK && err != Z_BUF_ERROR)
Dinfback.c164 ret = Z_BUF_ERROR; \
217 ret = Z_BUF_ERROR; \
611 ret = Z_BUF_ERROR;
/external/zlib/src/
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 :
Dgzlib.c355 (state->err != Z_OK && state->err != Z_BUF_ERROR))
383 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
592 if (err != Z_OK && err != Z_BUF_ERROR)
Dinfback.c164 ret = Z_BUF_ERROR; \
217 ret = Z_BUF_ERROR; \
611 ret = Z_BUF_ERROR;
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc126 || (zerror_ == Z_BUF_ERROR); in Next()
158 || (zerror_ == Z_BUF_ERROR); in Next()
256 return Z_BUF_ERROR; in Deflate()
276 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Next()
309 (zerror_ == Z_BUF_ERROR && zcontext_.avail_in == 0 && in Flush()
314 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Close()
/external/zlib/src/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/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()
Dinflate.c156 f = f == Z_FINISH ? Z_BUF_ERROR : Z_OK; in inflate()
157 r = Z_BUF_ERROR; in inflate()
Dzlib.h139 #define Z_BUF_ERROR (-5) macro
Dftgzip.c758 err = Z_BUF_ERROR; in FT_Gzip_Uncompress()
770 if ( err == Z_BUF_ERROR ) in FT_Gzip_Uncompress()
/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/python/cpython3/Modules/
Dzlibmodule.c64 case Z_BUF_ERROR: in zlib_error()
379 case Z_BUF_ERROR: /* fall through */ in zlib_decompress_impl()
803 case Z_BUF_ERROR: /* fall through */ in zlib_Decompress_decompress_impl()
828 } else if (err != Z_OK && err != Z_BUF_ERROR) { in zlib_Decompress_decompress_impl()
915 } else if (err != Z_OK && err != Z_BUF_ERROR) { in zlib_Compress_flush_impl()
1091 case Z_BUF_ERROR: /* fall through */ in zlib_Decompress_flush_impl()
/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/u-boot/lib/
Dgunzip.c297 (s.avail_in == 0 || s.avail_out == 0 || r != Z_BUF_ERROR)) { in zunzip()
302 } while (r == Z_BUF_ERROR); in zunzip()
/external/zlib/src/contrib/infback9/
Dinfback9.c131 ret = Z_BUF_ERROR; \
184 ret = Z_BUF_ERROR; \
586 ret = Z_BUF_ERROR;
/external/llvm/lib/Support/
DCompression.cpp41 case Z_BUF_ERROR: return zlib::StatusBufferTooShort; in encodeZlibReturnValue()
/external/zlib/src/test/
Dinfcover.c321 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) in inf()
333 ret = inflate(&strm, Z_NO_FLUSH); assert(ret == Z_BUF_ERROR); in inf()
494 assert(ret == Z_BUF_ERROR); in cover_back()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCompression.cpp46 case Z_BUF_ERROR: in convertZlibCodeToString()
/external/skia/tests/
DPDFDeflateWStreamTest.cpp68 rc = Z_BUF_ERROR; in stream_inflate()

123