Lines Matching refs:buffer_
93 buffer_(kBufSize) { in ZipWriter()
109 buffer_(std::move(writer.buffer_)) { in ZipWriter()
121 buffer_ = std::move(writer.buffer_); in operator =()
340 z_stream_->next_out = buffer_.data(); in PrepareDeflate()
341 DCHECK_EQ(buffer_.size(), kBufSize); in PrepareDeflate()
342 z_stream_->avail_out = static_cast<uint32_t>(buffer_.size()); in PrepareDeflate()
404 size_t write_bytes = z_stream_->next_out - buffer_.data(); in CompressBytes()
405 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in CompressBytes()
412 z_stream_->next_out = buffer_.data(); in CompressBytes()
413 DCHECK_EQ(buffer_.size(), kBufSize); in CompressBytes()
414 z_stream_->avail_out = static_cast<uint32_t>(buffer_.size()); in CompressBytes()
431 size_t write_bytes = z_stream_->next_out - buffer_.data(); in FlushCompressedBytes()
432 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes()
438 z_stream_->next_out = buffer_.data(); in FlushCompressedBytes()
439 DCHECK_EQ(buffer_.size(), kBufSize); in FlushCompressedBytes()
440 z_stream_->avail_out = static_cast<uint32_t>(buffer_.size()); in FlushCompressedBytes()
446 size_t write_bytes = z_stream_->next_out - buffer_.data(); in FlushCompressedBytes()
448 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes()