Home
last modified time | relevance | path

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

/ohos5.0/base/update/updater/services/diffpatch/diff/
H A Dblocks_diff.cpp298 const BlockBuffer &oldInfo, int64_t &lengthFront, int64_t &lengthBack) in ComputeLength() argument
301 lengthBack = 0; in ComputeLength()
322 if ((s * MULTIPLE_TWO - i) > (tmp * MULTIPLE_TWO - lengthBack)) { in ComputeLength()
324 lengthBack = i; in ComputeLength()
329 if (lastScan_ + lengthFront > currentOffset_ - lengthBack) { in ComputeLength()
331 int64_t overlap = (lastScan_ + lengthFront) - (currentOffset_ - lengthBack); in ComputeLength()
339 …if (newInfo.buffer[currentOffset_ - lengthBack + i] == oldInfo.buffer[matchPos_ - lengthBack + i])… in ComputeLength()
348 lengthBack -= lens; in ComputeLength()
H A Dblocks_diff.h77 const BlockBuffer &oldInfo, int64_t &lengthFront, int64_t &lengthBack);