Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DZipUtils.java288 int inputOffset; in deflate() local
292 inputOffset = input.arrayOffset() + input.position(); in deflate()
296 inputOffset = 0; in deflate()
300 crc32.update(inputBuf, inputOffset, inputLength); in deflate()
304 deflater.setInput(inputBuf, inputOffset, inputLength); in deflate()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java295 long inputOffset = 0; in sign() local
318 if (inputLocalFileHeaderStartOffset > inputOffset) { in sign()
322 long chunkSize = inputLocalFileHeaderStartOffset - inputOffset; in sign()
323 inputApkLfhSection.feed(inputOffset, chunkSize, outputApkOut); in sign()
325 inputOffset = inputLocalFileHeaderStartOffset; in sign()
335 inputOffset += inputLocalFileRecord.getSize(); in sign()
386 if (inputOffset < inputLfhSectionSize) { in sign()
390 long chunkSize = inputLfhSectionSize - inputOffset; in sign()
391 inputApkLfhSection.feed(inputOffset, chunkSize, outputApkOut); in sign()
393 inputOffset = inputLfhSectionSize; in sign()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java459 long inputOffset = 0; in computeOneMbChunkContentDigests() local
469 input.feed(inputOffset, chunkSize, mdSink); in computeOneMbChunkContentDigests()
488 inputOffset += chunkSize; in computeOneMbChunkContentDigests()