Searched refs:oldOffset (Results 1 – 3 of 3) sorted by relevance
/base/update/updater/services/diffpatch/diff/ |
D | image_diff.cpp | 283 size_t oldOffset = 0; in MakePatch() local 287 newParser_->GetFileIds()[i].c_str(), oldOffset, newOffset); in MakePatch() 288 ret = DiffFile(newParser_->GetFileIds()[i], oldOffset, newOffset); in MakePatch() 296 oldOffset, newOffset, newBuffer.length, oldBuffer.length); in MakePatch() 301 { oldBuffer.buffer, oldOffset, oldBuffer.length - oldOffset }, in MakePatch() 308 int32_t CompressedImageDiff::DiffFile(const std::string &fileName, size_t &oldOffset, size_t &newOf… in DiffFile() argument 337 oldOffset += GET_REAL_DATA_LEN(oldFileInfo); in DiffFile()
|
D | image_diff.h | 75 int32_t DiffFile(const std::string &fileName, size_t &oldOffset, size_t &newOffset);
|
/base/update/updater/services/diffpatch/patch/ |
D | blocks_patch.cpp | 247 size_t oldOffset = static_cast<size_t>(oldOffset_); in RestoreDiffData() local 265 oldOffset = 0; in RestoreDiffData() 269 diffData[i] += buffer.buffer[static_cast<int64_t>(oldOffset) + i]; in RestoreDiffData()
|