Home
last modified time | relevance | path

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

/aosp12/system/libziparchive/
H A 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()
192 inflateEnd(&z_stream_); in ~ZipArchiveStreamEntryCompressed()
209 if (z_stream_.avail_out == 0) { in Read()
[all …]
H A Dzip_writer.cc108 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()
387 CHECK(z_stream_); in CompressBytes()
389 CHECK(z_stream_->avail_out != 0); in CompressBytes()
393 z_stream_->avail_in = len; in CompressBytes()
395 while (z_stream_->avail_in > 0) { in CompressBytes()
402 if (z_stream_->avail_out == 0) { in CompressBytes()
422 CHECK(z_stream_); in FlushCompressedBytes()
424 CHECK(z_stream_->avail_out != 0); in FlushCompressedBytes()
[all …]
/aosp12/system/libziparchive/include/ziparchive/
H A Dzip_writer.h185 std::unique_ptr<z_stream, void (*)(z_stream*)> z_stream_; variable