Home
last modified time | relevance | path

Searched refs:stream_ (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/payload_consumer/
Dbzip_extent_writer.cc28 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 …]
Dbzip_extent_writer.h39 memset(&stream_, 0, sizeof(stream_)); in BzipExtentWriter()
50 bz_stream stream_; // the libbz2 stream variable
Dxz_extent_writer.cc56 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()
Dxz_extent_writer.h51 xz_dec* stream_{nullptr};
/system/extras/perfprofd/
Dperfprofd_io.cc88 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()
[all …]
/system/update_engine/common/
Dfile_fetcher.cc71 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()
Dfile_fetcher.h109 brillo::StreamPtr stream_; variable
/system/tools/aidl/
Doptions.h39 std::ostringstream stream_; variable
43 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()