Searched refs:Z_BUF_ERROR (Results 1 – 25 of 62) sorted by relevance
123
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; in uncompress()40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; in uncompress()51 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0)) in uncompress()
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; in compress2()40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; in compress2()52 return err == Z_OK ? Z_BUF_ERROR : err; in compress2()
57 if (state->err != Z_OK && state->err != Z_BUF_ERROR) in gz_avail()186 gz_error(state, Z_BUF_ERROR, "unexpected end of file"); in gz_decomp()305 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzread()401 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzgetc()436 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzungetc()500 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzgets()588 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK; in gzclose_r()
351 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzrewind()379 if (state->err != Z_OK && state->err != Z_BUF_ERROR) in gzseek64()588 if (err != Z_OK && err != Z_BUF_ERROR) in gz_error()
164 ret = Z_BUF_ERROR; \217 ret = Z_BUF_ERROR; \611 ret = Z_BUF_ERROR; in inflateBack()
36 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))
36 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;
57 if (state->err != Z_OK && state->err != Z_BUF_ERROR)186 gz_error(state, Z_BUF_ERROR, "unexpected end of file");305 (state->err != Z_OK && state->err != Z_BUF_ERROR))401 (state->err != Z_OK && state->err != Z_BUF_ERROR))436 (state->err != Z_OK && state->err != Z_BUF_ERROR))500 (state->err != Z_OK && state->err != Z_BUF_ERROR))588 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
351 (state->err != Z_OK && state->err != Z_BUF_ERROR))379 if (state->err != Z_OK && state->err != Z_BUF_ERROR)588 if (err != Z_OK && err != Z_BUF_ERROR)
164 ret = Z_BUF_ERROR; \217 ret = Z_BUF_ERROR; \611 ret = Z_BUF_ERROR;
126 || (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()
228 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()
38 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()
295 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()
156 f = f == Z_FINISH ? Z_BUF_ERROR : Z_OK; in inflate()157 r = Z_BUF_ERROR; in inflate()
139 #define Z_BUF_ERROR (-5) macro
85 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()
131 ret = Z_BUF_ERROR; \184 ret = Z_BUF_ERROR; \586 ret = Z_BUF_ERROR;