Home
last modified time | relevance | path

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

/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/
DBsPatch.java124 final long diffSegmentLength = readBsdiffLong(patchData); in applyPatchInternal() local
137 if (diffSegmentLength < 0 || diffSegmentLength > Integer.MAX_VALUE) { in applyPatchInternal()
148 newDataBytesWritten + diffSegmentLength + copySegmentLength; in applyPatchInternal()
153 final long expectedFinalOldDataOffset = oldDataOffset + diffSegmentLength + offsetToNextInput; in applyPatchInternal()
163 if (diffSegmentLength > 0) { in applyPatchInternal()
164 transformBytes((int) diffSegmentLength, patchData, oldData, newData, buffer1, buffer2); in applyPatchInternal()
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/
DBsPatchTest.java757 long diffSegmentLength, in makePatch() argument
765 writeBsdiffLong(diffSegmentLength, out); in makePatch()