Lines Matching refs:stream_
88 z_stream* stream_; member in android::perfprofd::__anon97859bec0111::GzipOutputStream
99 stream_(stream), in GzipOutputStream()
105 if (stream_ != nullptr) { in ~GzipOutputStream()
106 deflateEnd(stream_); in ~GzipOutputStream()
107 delete stream_; in ~GzipOutputStream()
108 stream_ = nullptr; in ~GzipOutputStream()
122 return stream_->total_in + stream_->avail_in; in ByteCount()
169 stream_->next_out = static_cast<Bytef*>(next_data_); in NextBuffer()
170 stream_->avail_out = next_size_; in NextBuffer()
180 if ((next_data_ == nullptr || stream_->avail_out == 0) && !NextBuffer()) { in Write()
183 res = deflate(stream_, flush_flags); in Write()
184 } while (res == Z_OK && stream_->avail_out == 0); in Write()
187 next_->BackUp(stream_->avail_out); in Write()
201 if (stream_->avail_in > 0) { in Next()
207 CHECK_EQ(stream_->avail_in, 0); in Next()
214 stream_->next_in = static_cast<Bytef*>(stream_buffer_.get()); in Next()
215 stream_->avail_in = kStreamBufferSize; in Next()
222 CHECK_GE(stream_->avail_in, count); in BackUp()
223 stream_->avail_in -= count; in BackUp()
233 && !(res == Z_BUF_ERROR && stream_->avail_in == 0 && stream_->avail_out > 0); in Flush()
249 int res = deflateEnd(stream_); in Close()
250 delete stream_; in Close()
251 stream_ = nullptr; in Close()