Searched refs:stream_ (Results 1 – 8 of 8) sorted by relevance
28 TEST_AND_RETURN(BZ2_bzDecompressEnd(&stream_) == BZ_OK); in ~BzipExtentWriter()36 int rc = BZ2_bzDecompressInit(&stream_, in Init()58 stream_.next_in = reinterpret_cast<char*>(const_cast<uint8_t*>(input)); in Write()59 stream_.avail_in = input_end - input; in Write()62 stream_.next_out = reinterpret_cast<char*>(output_buffer.data()); in Write()63 stream_.avail_out = output_buffer.size(); in Write()65 int rc = BZ2_bzDecompress(&stream_); in Write()68 if (stream_.avail_out == output_buffer.size()) in Write()72 output_buffer.data(), output_buffer.size() - stream_.avail_out)); in Write()75 CHECK_EQ(stream_.avail_in, 0u); in Write()[all …]
39 memset(&stream_, 0, sizeof(stream_)); in BzipExtentWriter()50 bz_stream stream_; // the libbz2 stream variable
56 xz_dec_end(stream_); in ~XzExtentWriter()63 stream_ = xz_dec_init(XZ_DYNALLOC, kXzMaxDictSize); in Init()64 TEST_AND_RETURN_FALSE(stream_ != nullptr); in Init()90 xz_ret ret = xz_dec_run(stream_, &request); in Write()
51 xz_dec* stream_{nullptr};
88 z_stream* stream_; member in android::perfprofd::__anon97859bec0111::GzipOutputStream99 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()[all …]
71 stream_ = in BeginTransfer()77 if (!stream_) { in BeginTransfer()88 stream_->SetPosition(offset_, nullptr); in BeginTransfer()118 ongoing_read_ = stream_->ReadAsync( in ScheduleRead()173 if (stream_) { in CleanUp()174 stream_->CancelPendingAsyncOperations(); in CleanUp()175 stream_->CloseBlocking(nullptr); in CleanUp()176 stream_.reset(); in CleanUp()
109 brillo::StreamPtr stream_; variable
39 std::ostringstream stream_; variable43 stream_ << t;49 stream_ << t;55 f(stream_);121 bool Ok() const { return error_message_.stream_.str().empty(); } in Ok()123 string GetErrorMessage() const { return error_message_.stream_.str(); } in GetErrorMessage()