Searched refs:stream_ (Results 1 – 11 of 11) sorted by relevance
/system/update_engine/payload_consumer/ |
D | bzip_extent_writer.cc | 28 TEST_AND_RETURN(BZ2_bzDecompressEnd(&stream_) == BZ_OK); in ~BzipExtentWriter() 35 int rc = BZ2_bzDecompressInit(&stream_, in Init() 57 stream_.next_in = reinterpret_cast<char*>(const_cast<uint8_t*>(input)); in Write() 58 stream_.avail_in = input_end - input; in Write() 61 stream_.next_out = reinterpret_cast<char*>(output_buffer.data()); in Write() 62 stream_.avail_out = output_buffer.size(); in Write() 64 int rc = BZ2_bzDecompress(&stream_); in Write() 67 if (stream_.avail_out == output_buffer.size()) in Write() 71 output_buffer.data(), output_buffer.size() - stream_.avail_out)); in Write() 74 CHECK_EQ(stream_.avail_in, 0u); in Write() [all …]
|
D | bzip_extent_writer.h | 39 memset(&stream_, 0, sizeof(stream_)); in BzipExtentWriter() 49 bz_stream stream_; // the libbz2 stream variable
|
D | xz_extent_writer.cc | 56 stream_.reset(); in ~XzExtentWriter() 62 stream_.reset(xz_dec_init(XZ_DYNALLOC, kXzMaxDictSize)); in Init() 63 TEST_AND_RETURN_FALSE(stream_ != nullptr); in Init() 89 xz_ret ret = xz_dec_run(stream_.get(), &request); in Write()
|
D | xz_extent_writer.h | 54 std::unique_ptr<xz_dec, xz_deleter> stream_{nullptr};
|
/system/update_engine/common/ |
D | file_fetcher.cc | 76 stream_ = brillo::FileStream::FromFileDescriptor(fd, false, nullptr); in BeginTransfer() 79 stream_ = in BeginTransfer() 86 if (!stream_) { in BeginTransfer() 97 stream_->SetPosition(offset_, nullptr); in BeginTransfer() 127 ongoing_read_ = stream_->ReadAsync( in ScheduleRead() 182 if (stream_) { in CleanUp() 183 stream_->CancelPendingAsyncOperations(); in CleanUp() 184 stream_->CloseBlocking(nullptr); in CleanUp() 185 stream_.reset(); in CleanUp()
|
D | file_fetcher.h | 114 brillo::StreamPtr stream_; variable
|
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
D | cow_decompress.cpp | 35 size_t stream_remaining = stream_->Size(); in Decompress() 49 if (!stream_->Read(buffer_pos, bytes_to_read, &read)) { in Decompress() 97 stream_remaining_ = stream_->Size(); in Decompress() 103 if (!stream_->Read(chunk, read, &read)) { in Decompress() 277 if (stream_->Size() == output_size) { in Decompress() 279 stream_->Read(output_buffer, output_size, &bytes_read); in Decompress() 289 input_buffer.resize(stream_->Size()); in Decompress() 291 stream_->Read(input_buffer.data(), input_buffer.size(), &bytes_read); in Decompress()
|
D | inspect_cow.cpp | 70 size_t old_size = stream_.size(); in GetBuffer() 71 stream_.resize(old_size + requested, '\0'); in GetBuffer() 73 return stream_.data() + old_size; in GetBuffer() 76 void Reset() { stream_.clear(); } in Reset() 78 std::string& stream() { return stream_; } in stream() 81 std::string stream_; member in android::snapshot::StringSink
|
D | cow_decompress.h | 49 void set_stream(IByteStream* stream) { stream_ = stream; } in set_stream() 53 IByteStream* stream_ = nullptr;
|
D | cow_api_test.cpp | 51 size_t old_size = stream_.size(); in GetBuffer() 52 stream_.resize(old_size + requested, '\0'); in GetBuffer() 54 return stream_.data() + old_size; in GetBuffer() 57 void Reset() { stream_.clear(); } in Reset() 59 std::string& stream() { return stream_; } in stream() 62 std::string stream_; member in android::snapshot::StringSink
|
/system/tools/aidl/ |
D | options.h | 56 std::ostringstream stream_; variable 60 stream_ << t; 66 stream_ << t; 72 f(stream_); 183 bool Ok() const { return error_message_.stream_.str().empty(); } in Ok() 185 string GetErrorMessage() const { return error_message_.stream_.str(); } in GetErrorMessage()
|