Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive_stream_entry.cc125 z_stream z_stream_; member in ZipArchiveStreamEntryCompressed
147 memset(&z_stream_, 0, sizeof(z_stream_)); in Init()
148 z_stream_.zalloc = Z_NULL; in Init()
149 z_stream_.zfree = Z_NULL; in Init()
150 z_stream_.opaque = Z_NULL; in Init()
151 z_stream_.next_in = nullptr; in Init()
152 z_stream_.avail_in = 0; in Init()
153 z_stream_.avail_out = 0; in Init()
154 z_stream_.data_type = Z_UNKNOWN; in Init()
158 int zerr = zlib_inflateInit2(&z_stream_, -MAX_WBITS); in Init()
[all …]
Dzip_writer.cc92 z_stream_(nullptr, DeleteZStream), in ZipWriter()
108 z_stream_(std::move(writer.z_stream_)), in ZipWriter()
120 z_stream_ = std::move(writer.z_stream_); in operator =()
129 z_stream_.reset(); in HandleError()
298 z_stream_ = std::unique_ptr<z_stream, void (*)(z_stream*)>(new z_stream(), DeleteZStream); in PrepareDeflate()
302 int zerr = deflateInit2(z_stream_.get(), Z_BEST_COMPRESSION, Z_DEFLATED, -MAX_WBITS, in PrepareDeflate()
316 z_stream_->next_out = buffer_.data(); in PrepareDeflate()
317 z_stream_->avail_out = buffer_.size(); in PrepareDeflate()
356 CHECK(z_stream_); in CompressBytes()
357 CHECK(z_stream_->next_out != nullptr); in CompressBytes()
[all …]
/system/core/libziparchive/include/ziparchive/
Dzip_writer.h182 std::unique_ptr<z_stream, void (*)(z_stream*)> z_stream_; variable