• Home
  • Raw
  • Download

Lines Matching refs:writer

28     ImageProcessor writer, const std::string& expected)  in ApplyImagePatch()  argument
30 if (writer == nullptr) { in ApplyImagePatch()
34 …std::unique_ptr<ImagePatchWriter> patchWriter = std::make_unique<ImagePatchWriter>(writer, expecte… in ApplyImagePatch()
53 UpdatePatchWriterPtr writer, const std::vector<uint8_t> &bonusData) in ApplyImagePatch() argument
55 PATCH_CHECK(writer != nullptr, return -1, "check param fail "); in ApplyImagePatch()
74 imagePatch = std::make_unique<NormalImagePatch>(writer); in ApplyImagePatch()
77 imagePatch = std::make_unique<RowImagePatch>(writer); in ApplyImagePatch()
80 … imagePatch = std::make_unique<ZipImagePatch>(writer, ((i == 1) ? bonusData : empty)); in ApplyImagePatch()
83 … imagePatch = std::make_unique<Lz4ImagePatch>(writer, ((i == 1) ? bonusData : empty)); in ApplyImagePatch()
107 const BlockBuffer &oldInfo, UpdatePatchWriterPtr writer) in ApplyBlockPatch() argument
123 …ique_ptr<BlocksStreamPatch> patch = std::make_unique<BlocksStreamPatch>(patchInfo, stream, writer); in ApplyBlockPatch()
135 const BlockBuffer &oldInfo, ImageProcessor writer, const std::string& expected) in ApplyBlockPatch() argument
137 if (writer == nullptr) { in ApplyBlockPatch()
141 …std::unique_ptr<ImagePatchWriter> patchWriter = std::make_unique<ImagePatchWriter>(writer, expecte… in ApplyBlockPatch()
183 Hpackage::PkgManager::StreamPtr stream, UpdatePatchWriterPtr writer) in ApplyBlockPatch() argument
185 …ique_ptr<BlocksStreamPatch> patch = std::make_unique<BlocksStreamPatch>(patchInfo, stream, writer); in ApplyBlockPatch()
211 std::unique_ptr<FilePatchWriter> writer = std::make_unique<FilePatchWriter>(newName); in ApplyPatch() local
212 if (writer == nullptr) { in ApplyPatch()
216 writer->Init(); in ApplyPatch()
225 ret = UpdatePatch::UpdateApplyPatch::ApplyImagePatch(param, writer.get(), empty); in ApplyPatch()
233 ret = ApplyBlockPatch(patchInfo, oldInfo, writer.get()); in ApplyPatch()
242 writer->Finish(); in ApplyPatch()