Searched refs:controlDataSize (Results 1 – 2 of 2) sorted by relevance
/base/update/updater/services/diffpatch/patch/ |
D | blocks_patch.cpp | 63 int64_t controlDataSize = 0; in ApplyPatch() local 65 int32_t ret = ReadHeader(controlDataSize, diffDataSize, newSize_); in ApplyPatch() 111 int32_t BlocksPatch::ReadHeader(int64_t &controlDataSize, int64_t &diffDataSize, int64_t &newSize) in ReadHeader() argument 130 controlDataSize = ReadLE64(header + offset); in ReadHeader() 137 if (controlDataSize < 0) { in ReadHeader() 145 …PATCH_CHECK(diffDataSize >= 0 && (diffDataSize + controlDataSize) <= static_cast<int64_t>(patchInf… in ReadHeader() 149 …controlDataReader_.reset(new BZip2BufferReadAdapter(offset, static_cast<size_t>(controlDataSize), … in ReadHeader() 150 offset += static_cast<size_t>(controlDataSize); in ReadHeader() 188 int32_t BlocksBufferPatch::ReadHeader(int64_t &controlDataSize, int64_t &diffDataSize, int64_t &new… in ReadHeader() argument 190 int32_t ret = BlocksPatch::ReadHeader(controlDataSize, diffDataSize, newSize); in ReadHeader() [all …]
|
D | blocks_patch.h | 37 virtual int32_t ReadHeader(int64_t &controlDataSize, int64_t &diffDataSize, int64_t &newSize); 58 int32_t ReadHeader(int64_t &controlDataSize, int64_t &diffDataSize, int64_t &newSize) override;
|