Home
last modified time | relevance | path

Searched refs:zerr (Results 1 – 3 of 3) sorted by relevance

/system/core/libziparchive/
Dzip_archive_stream_entry.cc158 int zerr = zlib_inflateInit2(&z_stream_, -MAX_WBITS); in Init() local
159 if (zerr != Z_OK) { in Init()
160 if (zerr == Z_VERSION_ERROR) { in Init()
163 ALOGE("Call to inflateInit2 failed (zerr=%d)", zerr); in Init()
224 int zerr = inflate(&z_stream_, Z_NO_FLUSH); in Read() local
225 if (zerr != Z_OK && zerr != Z_STREAM_END) { in Read()
226 ALOGE("inflate zerr=%d (nIn=%p aIn=%u nOut=%p aOut=%u)", zerr, z_stream_.next_in, in Read()
236 if (zerr == Z_STREAM_END) { in Read()
Dzip_writer.cc302 int zerr = deflateInit2(z_stream_.get(), Z_BEST_COMPRESSION, Z_DEFLATED, -MAX_WBITS, in PrepareDeflate() local
306 if (zerr != Z_OK) { in PrepareDeflate()
307 if (zerr == Z_VERSION_ERROR) { in PrepareDeflate()
311 LOG(ERROR) << "deflateInit2 failed (zerr=" << zerr << ")"; in PrepareDeflate()
366 int zerr = deflate(z_stream_.get(), Z_NO_FLUSH); in CompressBytes() local
367 if (zerr != Z_OK) { in CompressBytes()
396 int zerr; in FlushCompressedBytes() local
397 while ((zerr = deflate(z_stream_.get(), Z_FINISH)) == Z_OK) { in FlushCompressedBytes()
409 if (zerr != Z_STREAM_END) { in FlushCompressedBytes()
Dzip_archive.cc964 int zerr; in Inflate() local
983 zerr = zlib_inflateInit2(&zstream, -MAX_WBITS); in Inflate()
984 if (zerr != Z_OK) { in Inflate()
985 if (zerr == Z_VERSION_ERROR) { in Inflate()
988 ALOGW("Call to inflateInit2 failed (zerr=%d)", zerr); in Inflate()
1021 zerr = inflate(&zstream, Z_NO_FLUSH); in Inflate()
1022 if (zerr != Z_OK && zerr != Z_STREAM_END) { in Inflate()
1023 ALOGW("Zip: inflate zerr=%d (nIn=%p aIn=%u nOut=%p aOut=%u)", zerr, zstream.next_in, in Inflate()
1029 if (zstream.avail_out == 0 || (zerr == Z_STREAM_END && zstream.avail_out != kBufSize)) { in Inflate()
1040 } while (zerr == Z_OK); in Inflate()
[all …]