Searched refs:z_stream_ (Results 1 – 4 of 4) sorted by relevance
36 z_stream_(new z_stream) {} in ZlibOutputBuffer()39 if (z_stream_) { in ~ZlibOutputBuffer()52 memset(z_stream_.get(), 0, sizeof(z_stream)); in Init()53 z_stream_->zalloc = Z_NULL; in Init()54 z_stream_->zfree = Z_NULL; in Init()55 z_stream_->opaque = Z_NULL; in Init()57 deflateInit2(z_stream_.get(), zlib_options_.compression_level, in Init()61 z_stream_.reset(nullptr); in Init()64 z_stream_->next_in = z_stream_input_.get(); in Init()65 z_stream_->next_out = z_stream_output_.get(); in Init()[all …]
122 std::unique_ptr<z_stream> z_stream_; variable
44 GzipDecompressor::GzipDecompressor() : z_stream_(new z_stream()) { in GzipDecompressor()45 z_stream_->zalloc = Z_NULL; in GzipDecompressor()46 z_stream_->zfree = Z_NULL; in GzipDecompressor()47 z_stream_->opaque = Z_NULL; in GzipDecompressor()48 inflateInit2(z_stream_.get(), 32 + 15); in GzipDecompressor()57 inflateEnd(z_stream_.get()); in ~GzipDecompressor()63 inflateReset(z_stream_.get()); in Reset()72 z_stream_->next_in = const_cast<uint8_t*>(data); in SetInput()73 z_stream_->avail_in = static_cast<uInt>(size); in SetInput()83 if (z_stream_->avail_in == 0) in Decompress()[all …]
66 std::unique_ptr<z_stream_s> z_stream_;