Home
last modified time | relevance | path

Searched refs:oldOffset (Results 1 – 3 of 3) sorted by relevance

/base/update/updater/services/diffpatch/diff/
Dimage_diff.cpp283 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()
Dimage_diff.h75 int32_t DiffFile(const std::string &fileName, size_t &oldOffset, size_t &newOffset);
/base/update/updater/services/diffpatch/patch/
Dblocks_patch.cpp247 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()