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.cc86 z_stream_(nullptr, DeleteZStream), buffer_(kBufSize) { in ZipWriter()
93 z_stream_(std::move(writer.z_stream_)), in ZipWriter()
104 z_stream_ = std::move(writer.z_stream_); in operator =()
113 z_stream_.reset(); in HandleError()
244 z_stream_ = std::unique_ptr<z_stream, void(*)(z_stream*)>(new z_stream(), DeleteZStream); in PrepareDeflate()
246 int zerr = deflateInit2(z_stream_.get(), Z_BEST_COMPRESSION, Z_DEFLATED, -MAX_WBITS, in PrepareDeflate()
258 z_stream_->next_out = buffer_.data(); in PrepareDeflate()
259 z_stream_->avail_out = buffer_.size(); in PrepareDeflate()
298 assert(z_stream_); in CompressBytes()
299 assert(z_stream_->next_out != nullptr); in CompressBytes()
[all …]
/system/core/include/ziparchive/
Dzip_writer.h162 std::unique_ptr<z_stream, void(*)(z_stream*)> z_stream_; variable