Searched refs:BlockWriter (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/update/updater/services/include/applypatch/ |
H A D | block_writer.h | 25 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 D | transfer_manager.h | 34 std::unique_ptr<BlockWriter> writer;
|
/ohos5.0/base/update/updater/services/applypatch/ |
H A D | block_writer.cpp | 23 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 D | block_set.cpp | 379 …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 D | command_process.cpp | 50 writerThreadInfo->writer = std::make_unique<BlockWriter>(params.GetFileDescriptor(), bs); in Execute()
|
/ohos5.0/base/update/updater/test/unittest/test_data/diffpatch/ |
H A D | PatchGztest_old.gz | 1[==========] Running 25 tests from 7 test ... |
H A D | PatchGztest_new.gz | 1[==========] Running 25 tests from 7 test ... |