Searched refs:chunkIndex (Results 1 – 2 of 2) sorted by relevance
252 for (int offset = 0, finish = buffer.capacity(), chunkIndex = readChunkIndex; in digestDataByChunks()253 offset < finish; offset += CHUNK_SIZE, ++chunkIndex) { in digestDataByChunks()255 hashes[chunkIndex] = saltedDigest(md, chunk); in digestDataByChunks()
506 int chunkIndex = 0; in computeOneMbChunkContentDigests() local530 throw new IOException("Failed to read chunk #" + chunkIndex, e); in computeOneMbChunkContentDigests()539 5 + chunkIndex * expectedDigestSizeBytes, in computeOneMbChunkContentDigests()549 chunkIndex++; in computeOneMbChunkContentDigests()615 private int getOffset(int chunkIndex) { in getOffset() argument616 return 1 + 4 + chunkIndex * digestOutputSize; in getOffset()669 chunkDigest.getOffset(chunk.chunkIndex), in run()758 private final int chunkIndex; field in ApkSigningBlockUtils.ChunkSupplier.Chunk762 private Chunk(int chunkIndex, ByteBuffer data, int size) { in Chunk() argument763 this.chunkIndex = chunkIndex; in Chunk()