Home
last modified time | relevance | path

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

/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/
DBsPatch.java128 final long copySegmentLength = readBsdiffLong(patchData); in applyPatchInternal() local
140 if (copySegmentLength < 0 || copySegmentLength > Integer.MAX_VALUE) { in applyPatchInternal()
148 newDataBytesWritten + diffSegmentLength + copySegmentLength; in applyPatchInternal()
166 if (copySegmentLength > 0) { in applyPatchInternal()
167 pipe(patchData, newData, buffer1, (int) copySegmentLength); in applyPatchInternal()
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/
DBsPatchTest.java758 long copySegmentLength, in makePatch() argument
766 writeBsdiffLong(copySegmentLength, out); in makePatch()