Searched refs:chunkIndex (Results 1 – 2 of 2) sorted by relevance
332 int chunkIndex = 0; in computeOneMbChunkContentDigests() local356 throw new IOException("Failed to read chunk #" + chunkIndex, e); in computeOneMbChunkContentDigests()365 5 + chunkIndex * expectedDigestSizeBytes, in computeOneMbChunkContentDigests()375 chunkIndex++; in computeOneMbChunkContentDigests()441 private int getOffset(int chunkIndex) { in getOffset() argument442 return 1 + 4 + chunkIndex * digestOutputSize; in getOffset()495 chunkDigest.getOffset(chunk.chunkIndex), in run()584 private final int chunkIndex; field in ApkSigningBlockUtils.ChunkSupplier.Chunk588 private Chunk(int chunkIndex, ByteBuffer data, int size) { in Chunk() argument589 this.chunkIndex = chunkIndex; in Chunk()
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()