Searched refs:zerr (Results 1 – 3 of 3) sorted by relevance
/system/core/libziparchive/ |
D | zip_archive_stream_entry.cc | 158 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() 164 ALOGE("Call to inflateInit2 failed (zerr=%d)", zerr); in Init() 223 int zerr = inflate(&z_stream_, Z_NO_FLUSH); in Read() local 224 if (zerr != Z_OK && zerr != Z_STREAM_END) { in Read() 226 zerr, z_stream_.next_in, z_stream_.avail_in, in Read() 236 if (zerr == Z_STREAM_END) { in Read()
|
D | zip_writer.cc | 246 int zerr = deflateInit2(z_stream_.get(), Z_BEST_COMPRESSION, Z_DEFLATED, -MAX_WBITS, in PrepareDeflate() local 248 if (zerr != Z_OK) { in PrepareDeflate() 249 if (zerr == Z_VERSION_ERROR) { in PrepareDeflate() 253 ALOGE("deflateInit2 failed (zerr=%d)", zerr); in PrepareDeflate() 308 int zerr = deflate(z_stream_.get(), Z_NO_FLUSH); in CompressBytes() local 309 if (zerr != Z_OK) { in CompressBytes() 338 int zerr; in FlushCompressedBytes() local 339 while ((zerr = deflate(z_stream_.get(), Z_FINISH)) == Z_OK) { in FlushCompressedBytes() 351 if (zerr != Z_STREAM_END) { in FlushCompressedBytes()
|
D | zip_archive.cc | 888 int zerr; in InflateEntryToWriter() local 907 zerr = zlib_inflateInit2(&zstream, -MAX_WBITS); in InflateEntryToWriter() 908 if (zerr != Z_OK) { in InflateEntryToWriter() 909 if (zerr == Z_VERSION_ERROR) { in InflateEntryToWriter() 913 ALOGW("Call to inflateInit2 failed (zerr=%d)", zerr); in InflateEntryToWriter() 944 zerr = inflate(&zstream, Z_NO_FLUSH); in InflateEntryToWriter() 945 if (zerr != Z_OK && zerr != Z_STREAM_END) { in InflateEntryToWriter() 947 zerr, zstream.next_in, zstream.avail_in, in InflateEntryToWriter() 954 (zerr == Z_STREAM_END && zstream.avail_out != kBufSize)) { in InflateEntryToWriter() 964 } while (zerr == Z_OK); in InflateEntryToWriter() [all …]
|