/base/update/updater/services/flashd/image_writer/ |
D | image_writer.cpp | 46 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, writePath, ptnInfo.startAddr); in GetDataWriter() 48 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, GetBlockDeviceByMountPoint(partition)); in GetDataWriter() 50 if (writer_ == nullptr) { in GetDataWriter() 59 if (writer_ == nullptr) { in Write() 65 if (!writer_->Write(data, len, nullptr)) { in Write()
|
D | image_writer.h | 40 std::unique_ptr<DataWriter> writer_ = nullptr; variable
|
/base/hiviewdfx/hiview/base/event_store/store/ |
D | sys_event_doc.cpp | 38 : writer_(nullptr), reader_(nullptr), domain_(domain), name_(name), type_(0) in SysEventDoc() 41 SysEventDoc::SysEventDoc(const std::string& file) : writer_(nullptr), reader_(nullptr), type_(0), c… in SysEventDoc() 62 if (ret = writer_->Write(sysEvent); ret == DOC_STORE_NEW_FILE) { in Insert() 68 writer_ = std::make_shared<SysEventDocWriter>(curFile_); in Insert() 70 return writer_->Write(sysEvent); in Insert() 88 if (writer_ == nullptr || IsNeedUpdateCurFile()) { in InitWriter() 95 writer_ = std::make_shared<SysEventDocWriter>(curFile_); in InitWriter()
|
/base/update/updater/services/flashd/ |
D | partition.h | 28 writer_(std::move(writer)) {} in Partition() 38 std::unique_ptr<FlashdWriter> writer_ = nullptr; variable
|
D | partition.cpp | 30 if (buffer == nullptr || bufferSize <= 0 || writer_ == nullptr) { in DoFlash() 35 if (auto ret = writer_->Write(devName_, buffer, bufferSize); ret != 0) { in DoFlash()
|
/base/update/updater/services/diffpatch/patch/ |
D | image_patch.h | 29 explicit ImagePatch(UpdatePatchWriterPtr writer) : writer_(writer) {} in ImagePatch() 46 UpdatePatchWriterPtr writer_ {nullptr}; 120 : UpdatePatchWriter(), fileInfo_(fileInfo), writer_(writer) {} in CompressedFileRestore() 134 UpdatePatchWriterPtr writer_ { nullptr };
|
D | blocks_patch.h | 70 : BlocksPatch(patchInfo), stream_(stream), writer_(writer) {} in BlocksStreamPatch() 77 UpdatePatchWriterPtr writer_ { nullptr };
|
D | image_patch.cpp | 53 int32_t ret = UpdateApplyPatch::ApplyBlockPatch(patchInfo, oldInfo, writer_); in ApplyImagePatch() 77 int32_t ret = writer_->Write(0, data, dataLen); in ApplyImagePatch() 130 …tr<CompressedFileRestore> zipWriter = std::make_unique<CompressedFileRestore>(info.get(), writer_); in ApplyImagePatch() 321 deflateAdapter_.reset(new ZipAdapter(writer_, 0, fileInfo_)); in Init() 323 deflateAdapter_.reset(new Lz4FrameAdapter(writer_, 0, fileInfo_)); in Init() 325 deflateAdapter_.reset(new Lz4BlockAdapter(writer_, 0, fileInfo_)); in Init()
|
D | blocks_patch.cpp | 270 return writer_->Write(newOffset_, diffBuffer, static_cast<size_t>(ctrlData.diffLength)); in RestoreDiffData() 286 return writer_->Write(newOffset_, extraBuffer, static_cast<size_t>(ctrlData.extraLength)); in RestoreExtraData()
|
D | update_patch.cpp | 282 if (writer_ == nullptr) { in Init() 301 return writer_(start, buffer, len); in Write()
|
/base/update/updater/services/flow_update/update_bin/ |
D | component_processor.cpp | 166 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, writePath, in PreProcess() 168 if (writer_ == nullptr) { in PreProcess() 197 …int ret = env.GetPkgManager()->CreatePkgStream(outStream, partitionName, processor, writer_.get()); in DoProcess() 216 DataWriter::ReleaseDataWriter(writer_); in PostProcess() 298 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, writePath, in PreProcess() 300 if (writer_ == nullptr) { in PreProcess() 329 …int ret = env.GetPkgManager()->CreatePkgStream(outStream, partitionName, processor, writer_.get()); in DoProcess() 371 DataWriter::ReleaseDataWriter(writer_); in PostProcess()
|
D | component_processor.h | 125 std::unique_ptr<DataWriter> writer_ = nullptr; variable 140 std::unique_ptr<DataWriter> writer_ = nullptr; variable
|
/base/update/updater/services/include/patch/ |
D | update_patch.h | 89 writer_(writer), expected_(expected), partitionName_(partitionName) {} in ImagePatchWriter() 98 UpdateApplyPatch::ImageProcessor writer_; variable
|
/base/hiviewdfx/hiview/base/event_store/store/include/ |
D | sys_event_doc.h | 52 std::shared_ptr<EventDocWriter> writer_;
|