Home
last modified time | relevance | path

Searched refs:BlocksPatch (Results 1 – 2 of 2) sorted by relevance

/base/update/updater/services/diffpatch/patch/
Dblocks_patch.h27 class BlocksPatch {
29 BlocksPatch() = delete;
30 explicit BlocksPatch(const PatchBuffer &patchInfo) : patchInfo_(patchInfo) {} in BlocksPatch() function
31 virtual ~BlocksPatch() {} in ~BlocksPatch()
51 class BlocksBufferPatch : public BlocksPatch {
54 : BlocksPatch(patchInfo), oldInfo_(oldInfo), newData_(newData) {} in BlocksBufferPatch()
66 class BlocksStreamPatch : public BlocksPatch {
70 : BlocksPatch(patchInfo), stream_(stream), writer_(writer) {} in BlocksStreamPatch()
Dblocks_patch.cpp60 int32_t BlocksPatch::ApplyPatch() in ApplyPatch()
111 int32_t BlocksPatch::ReadHeader(int64_t &controlDataSize, int64_t &diffDataSize, int64_t &newSize) in ReadHeader()
163 int32_t BlocksPatch::ReadControlData(ControlData &ctrlData) in ReadControlData()
190 int32_t ret = BlocksPatch::ReadHeader(controlDataSize, diffDataSize, newSize); in ReadHeader()