Home
last modified time | relevance | path

Searched refs:BlockWriter (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/update/updater/services/include/applypatch/
H A Dblock_writer.h25 class BlockWriter : public DataWriter {
28 virtual ~BlockWriter() {} in ~BlockWriter()
29 BlockWriter(int fd, BlockSet& bs) : fd_(fd), bs_(bs), totalWritten_(0), blockIndex_(0), in BlockWriter() function
35 BlockWriter(const BlockWriter&) = delete;
36 const BlockWriter& operator=(const BlockWriter&) = delete;
H A Dtransfer_manager.h34 std::unique_ptr<BlockWriter> writer;
/ohos5.0/base/update/updater/services/applypatch/
H A Dblock_writer.cpp23 bool BlockWriter::IsWriteDone() const in IsWriteDone()
28 size_t BlockWriter::GetBlocksSize() const in GetBlocksSize()
33 size_t BlockWriter::GetTotalWritten() const in GetTotalWritten()
38 bool BlockWriter::Write(const uint8_t *addr, size_t len, [[maybe_unused]] const void *context)
H A Dblock_set.cpp379 …std::unique_ptr<BlockWriter> writer = std::make_unique<BlockWriter>(cmd.GetFileDescriptor(), *this… in WriteDiffToBlock()
396 …std::unique_ptr<BlockWriter> writer = std::make_unique<BlockWriter>(cmd.GetFileDescriptor(), *this… in WriteDiffToBlock()
H A Dcommand_process.cpp50 writerThreadInfo->writer = std::make_unique<BlockWriter>(params.GetFileDescriptor(), bs); in Execute()
/ohos5.0/base/update/updater/test/unittest/test_data/diffpatch/
H A DPatchGztest_old.gz1[==========] Running 25 tests from 7 test ...
H A DPatchGztest_new.gz1[==========] Running 25 tests from 7 test ...