Lines Matching refs:stream_
94 z_stream stream_{}; member in perfetto::__anon0433f89c0111::ZipPacketWriter
165 CheckEq(deflate(&stream_, Z_SYNC_FLUSH), Z_OK); in WritePacket()
169 PERFETTO_DCHECK(end_ >= stream_.next_out); in WritePacket()
170 size_t remaining = static_cast<size_t>(end_ - stream_.next_out); in WritePacket()
180 memset(&stream_, 0, sizeof(stream_)); in WritePacket()
181 CheckEq(deflateInit(&stream_, 9), Z_OK); in WritePacket()
183 stream_.next_out = start_; in WritePacket()
184 stream_.avail_out = static_cast<unsigned int>(end_ - start_); in WritePacket()
203 CheckEq(deflate(&stream_, Z_FINISH), Z_STREAM_END); in FinalizeCompressedPacket()
205 size_t size = static_cast<size_t>(stream_.next_out - start_); in FinalizeCompressedPacket()
219 CheckEq(deflateEnd(&stream_), Z_OK); in FinalizeCompressedPacket()
227 stream_.msg); in CheckEq()
232 stream_.next_in = ptr; in Deflate()
233 stream_.avail_in = static_cast<unsigned int>(size); in Deflate()
234 CheckEq(deflate(&stream_, Z_NO_FLUSH), Z_OK); in Deflate()
235 PERFETTO_CHECK(stream_.avail_in == 0); in Deflate()