Home
last modified time | relevance | path

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

12

/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
Dfx_zlib_uncompr.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()
Dfx_zlib_compress.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()
Dfx_zlib_infback.c164 ret = Z_BUF_ERROR; \
217 ret = Z_BUF_ERROR; \
611 ret = Z_BUF_ERROR; in inflateBack()
Dfx_zlib_deflate.c474 return Z_BUF_ERROR;
515 if (err == Z_BUF_ERROR && s->pending == 0) in deflateParams()
682 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR); in deflate()
888 ERR_RETURN(strm, Z_BUF_ERROR); in deflate()
893 ERR_RETURN(strm, Z_BUF_ERROR); in deflate()
/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;
DFAQ26 4. compress() returns Z_BUF_ERROR.
33 5. deflate() or inflate() returns Z_BUF_ERROR.
38 Z_BUF_ERROR is not fatal--another call to deflate() or inflate() can be
39 made with more input or output space. A Z_BUF_ERROR may in fact be
Ddeflate.c475 return Z_BUF_ERROR;
516 if (err == Z_BUF_ERROR && s->pending == 0)
683 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
889 ERR_RETURN(strm, Z_BUF_ERROR);
894 ERR_RETURN(strm, Z_BUF_ERROR);
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc125 || (zerror_ == Z_BUF_ERROR); in Next()
156 || (zerror_ == Z_BUF_ERROR); in Next()
252 return Z_BUF_ERROR; in Deflate()
272 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Next()
305 (zerror_ == Z_BUF_ERROR && zcontext_.avail_in == 0 && in Flush()
310 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.c750 err = Z_BUF_ERROR; in FT_Gzip_Uncompress()
762 if ( err == Z_BUF_ERROR ) in FT_Gzip_Uncompress()
/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/skia/src/core/
DSkFlate.cpp67 rc = Z_BUF_ERROR; in doFlate()
/external/zlib/src/contrib/pascal/
Dzlibpas.pas83 Z_BUF_ERROR = -5;

12