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.cc133 z_stream z_stream_; member in ZipArchiveStreamEntryCompressed
155 memset(&z_stream_, 0, sizeof(z_stream_)); in Init()
156 z_stream_.zalloc = Z_NULL; in Init()
157 z_stream_.zfree = Z_NULL; in Init()
158 z_stream_.opaque = Z_NULL; in Init()
159 z_stream_.next_in = nullptr; in Init()
160 z_stream_.avail_in = 0; in Init()
161 z_stream_.avail_out = 0; in Init()
162 z_stream_.data_type = Z_UNKNOWN; in Init()
166 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()
322 z_stream_ = std::unique_ptr<z_stream, void (*)(z_stream*)>(new z_stream(), DeleteZStream); in PrepareDeflate()
326 int zerr = deflateInit2(z_stream_.get(), Z_BEST_COMPRESSION, Z_DEFLATED, -MAX_WBITS, in PrepareDeflate()
340 z_stream_->next_out = buffer_.data(); in PrepareDeflate()
342 z_stream_->avail_out = static_cast<uint32_t>(buffer_.size()); in PrepareDeflate()
387 CHECK(z_stream_); in CompressBytes()
388 CHECK(z_stream_->next_out != nullptr); in CompressBytes()
[all …]
/system/core/libziparchive/include/ziparchive/
Dzip_writer.h185 std::unique_ptr<z_stream, void (*)(z_stream*)> z_stream_; variable