Home
last modified time | relevance | path

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

123

/external/chromium_org/components/metrics/
Dcompression_utils.cc42 return Z_BUF_ERROR; in GzipCompressHelper()
66 return err == Z_OK ? Z_BUF_ERROR : err; in GzipCompressHelper()
86 return Z_BUF_ERROR; in GzipUncompressHelper()
91 return Z_BUF_ERROR; in GzipUncompressHelper()
103 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0)) in GzipUncompressHelper()
/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()
/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)
/external/qemu/distrib/zlib-1.2.8/
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)
/external/chromium_org/third_party/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/chromium_org/net/websockets/
Dwebsocket_inflater.cc82 return result == Z_OK || result == Z_BUF_ERROR; in AddBytes()
100 if (result != Z_OK && result != Z_BUF_ERROR) in GetOutput()
109 if (result != Z_OK && result != Z_BUF_ERROR) in InflateWithFlush()
127 int result = Z_BUF_ERROR; in Inflate()
143 } while (result == Z_OK || result == Z_BUF_ERROR); in Inflate()
151 int result = Z_BUF_ERROR; in InflateChokedInput()
158 if (result != Z_OK && result != Z_BUF_ERROR) in InflateChokedInput()
Dwebsocket_deflater.cc60 DCHECK(result != Z_BUF_ERROR || !stream_->avail_in); in AddBytes()
61 return result == Z_BUF_ERROR; in AddBytes()
79 if (result != Z_BUF_ERROR) { in Finish()
/external/chromium_org/third_party/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/protobuf/src/google/protobuf/io/
Dgzip_stream.cc121 || (zerror_ == Z_BUF_ERROR); in Next()
140 || (zerror_ == Z_BUF_ERROR); in Next()
246 return Z_BUF_ERROR; in Deflate()
267 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Next()
304 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Close()
/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()
Dzlib.h139 #define Z_BUF_ERROR (-5) macro
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketDeflater.cpp123 if (result != Z_BUF_ERROR) in finish()
186 if (result == Z_BUF_ERROR) in addBytes()
218 if (result == Z_BUF_ERROR) in finish()
/external/zlib/src/contrib/infback9/
Dinfback9.c131 ret = Z_BUF_ERROR; \
184 ret = Z_BUF_ERROR; \
586 ret = Z_BUF_ERROR;

123