Home
last modified time | relevance | path

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

123

/external/pdfium/third_party/zlib_v128/
Duncompr.c36 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()
Dcompress.c36 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()
Dgzread.c57 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()
Dgzlib.c351 (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()
Dinfback.c164 ret = Z_BUF_ERROR; \
217 ret = Z_BUF_ERROR; \
611 ret = Z_BUF_ERROR; in inflateBack()
/external/zlib/src/
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;
Dgzread.c57 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;
Dgzlib.c351 (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)
Dinfback.c164 ret = Z_BUF_ERROR; \
217 ret = Z_BUF_ERROR; \
611 ret = Z_BUF_ERROR;
/external/python/cpython2/Modules/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;
Dgzread.c57 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;
Dgzlib.c351 (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)
Dinfback.c164 ret = Z_BUF_ERROR; \
217 ret = Z_BUF_ERROR; \
611 ret = Z_BUF_ERROR;
/external/syslinux/com32/lib/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/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
/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/zlib/src/contrib/infback9/
Dinfback9.c131 ret = Z_BUF_ERROR; \
184 ret = Z_BUF_ERROR; \
586 ret = Z_BUF_ERROR;

123