Searched refs:zerr (Results 1 – 3 of 3) sorted by relevance
/system/core/libziparchive/ |
D | zip_archive_stream_entry.cc | 166 int zerr = zlib_inflateInit2(&z_stream_, -MAX_WBITS); in Init() local 167 if (zerr != Z_OK) { in Init() 168 if (zerr == Z_VERSION_ERROR) { in Init() 171 ALOGE("Call to inflateInit2 failed (zerr=%d)", zerr); in Init() 240 int zerr = inflate(&z_stream_, Z_NO_FLUSH); in Read() local 241 if (zerr != Z_OK && zerr != Z_STREAM_END) { in Read() 242 ALOGE("inflate zerr=%d (nIn=%p aIn=%u nOut=%p aOut=%u)", zerr, z_stream_.next_in, in Read() 253 if (zerr == Z_STREAM_END) { in Read()
|
D | zip_writer.cc | 326 int zerr = deflateInit2(z_stream_.get(), Z_BEST_COMPRESSION, Z_DEFLATED, -MAX_WBITS, in PrepareDeflate() local 330 if (zerr != Z_OK) { in PrepareDeflate() 331 if (zerr == Z_VERSION_ERROR) { in PrepareDeflate() 335 LOG(ERROR) << "deflateInit2 failed (zerr=" << zerr << ")"; in PrepareDeflate() 397 int zerr = deflate(z_stream_.get(), Z_NO_FLUSH); in CompressBytes() local 398 if (zerr != Z_OK) { in CompressBytes() 428 int zerr; in FlushCompressedBytes() local 429 while ((zerr = deflate(z_stream_.get(), Z_FINISH)) == Z_OK) { in FlushCompressedBytes() 442 if (zerr != Z_STREAM_END) { in FlushCompressedBytes()
|
D | zip_archive.cc | 945 int zerr; in Inflate() local 964 zerr = zlib_inflateInit2(&zstream, -MAX_WBITS); in Inflate() 965 if (zerr != Z_OK) { in Inflate() 966 if (zerr == Z_VERSION_ERROR) { in Inflate() 969 ALOGW("Call to inflateInit2 failed (zerr=%d)", zerr); in Inflate() 1002 zerr = inflate(&zstream, Z_NO_FLUSH); in Inflate() 1003 if (zerr != Z_OK && zerr != Z_STREAM_END) { in Inflate() 1004 ALOGW("Zip: inflate zerr=%d (nIn=%p aIn=%u nOut=%p aOut=%u)", zerr, zstream.next_in, in Inflate() 1010 if (zstream.avail_out == 0 || (zerr == Z_STREAM_END && zstream.avail_out != kBufSize)) { in Inflate() 1022 } while (zerr == Z_OK); in Inflate() [all …]
|