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.java326 long inputOffset = 0; in sign() local
363 if (inputLocalFileHeaderStartOffset > inputOffset) { in sign()
367 long chunkSize = inputLocalFileHeaderStartOffset - inputOffset; in sign()
368 inputApkLfhSection.feed(inputOffset, chunkSize, outputApkOut); in sign()
370 inputOffset = inputLocalFileHeaderStartOffset; in sign()
380 inputOffset += inputLocalFileRecord.getSize(); in sign()
453 if (inputOffset < inputLfhSectionSize) { in sign()
457 long chunkSize = inputLfhSectionSize - inputOffset; in sign()
458 inputApkLfhSection.feed(inputOffset, chunkSize, outputApkOut); in sign()
460 inputOffset = inputLfhSectionSize; in sign()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java518 long inputOffset = 0; in computeOneMbChunkContentDigests() local
528 input.feed(inputOffset, chunkSize, mdSink); in computeOneMbChunkContentDigests()
547 inputOffset += chunkSize; in computeOneMbChunkContentDigests()