Searched refs:zerr (Results 1 – 3 of 3) sorted by relevance
/system/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 | 1266 int zerr; in inflateImpl() local 1285 zerr = zlib_inflateInit2(&zstream, -MAX_WBITS); in inflateImpl() 1286 if (zerr != Z_OK) { in inflateImpl() 1287 if (zerr == Z_VERSION_ERROR) { in inflateImpl() 1290 ALOGW("Call to inflateInit2 failed (zerr=%d)", zerr); in inflateImpl() 1332 zerr = inflate(&zstream, Z_NO_FLUSH); in inflateImpl() 1333 if (zerr != Z_OK && zerr != Z_STREAM_END) { in inflateImpl() 1334 ALOGW("Zip: inflate zerr=%d (nIn=%p aIn=%u nOut=%p aOut=%u)", zerr, zstream.next_in, in inflateImpl() 1340 if (zstream.avail_out == 0 || (zerr == Z_STREAM_END && zstream.avail_out != kBufSize)) { in inflateImpl() 1353 } while (zerr == Z_OK); in inflateImpl() [all …]
|