/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | ByteStreams.java | 35 int chunkSize; in toByteArray() local 36 while ((chunkSize = in.read(buf)) != -1) { in toByteArray() 37 result.write(buf, 0, chunkSize); in toByteArray()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | OutputStreamDataSink.java | 71 int chunkSize = Math.min(buf.remaining(), tmp.length); in consume() local 72 buf.get(tmp, 0, chunkSize); in consume() 73 mOut.write(tmp, 0, chunkSize); in consume()
|
D | ByteArrayDataSink.java | 85 int chunkSize = Math.min(buf.remaining(), tmp.length); in consume() local 86 buf.get(tmp, 0, chunkSize); in consume() 87 System.arraycopy(tmp, 0, mArray, mSize, chunkSize); in consume() 88 mSize += chunkSize; in consume()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ZFileDataSource.java | 112 int chunkSize = (int) Math.min(remaining, buf.length); in feed() local 113 int readSize = file.directRead(chunkOffsetInFile, buf, 0, chunkSize); in feed()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 543 long chunkSize = getUnsignedInt32(input); in get() local 544 long chunkRemaining = chunkSize - 8; in get() 553 } else if (headerSize > chunkSize) { in get() 556 + chunkSize + " bytes"); in get() 559 long chunkEndPosition = originalPosition + chunkSize; in get()
|
D | ApkSigningBlockUtils.java | 462 int chunkSize = in computeOneMbChunkContentDigests() local 464 setUnsignedInt32LittleEndian(chunkSize, chunkContentPrefix, 1); in computeOneMbChunkContentDigests() 469 input.feed(inputOffset, chunkSize, mdSink); in computeOneMbChunkContentDigests() 488 inputOffset += chunkSize; in computeOneMbChunkContentDigests() 489 inputRemaining -= chunkSize; in computeOneMbChunkContentDigests() 526 private static final long getChunkCount(long inputSize, int chunkSize) { in getChunkCount() argument 527 return (inputSize + chunkSize - 1) / chunkSize; in getChunkCount()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkSigner.java | 322 long chunkSize = inputLocalFileHeaderStartOffset - inputOffset; in sign() local 323 inputApkLfhSection.feed(inputOffset, chunkSize, outputApkOut); in sign() 324 outputOffset += chunkSize; in sign() 390 long chunkSize = inputLfhSectionSize - inputOffset; in sign() local 391 inputApkLfhSection.feed(inputOffset, chunkSize, outputApkOut); in sign() 392 outputOffset += chunkSize; in sign()
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 308 int chunkSize = deflater.deflate(buf); in deflate() local 309 out.write(buf, 0, chunkSize); in deflate()
|
D | LocalFileRecord.java | 509 int chunkSize = Math.min(buf.remaining(), mInputBuffer.length); in consume() local 510 buf.get(mInputBuffer, 0, chunkSize); in consume() 511 consume(mInputBuffer, 0, chunkSize); in consume()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 982 int chunkSize; in drain() local 983 while ((chunkSize = in.read(buf)) != -1) { in drain() 984 out.write(buf, 0, chunkSize); in drain()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZFile.java | 2420 int chunkSize = fileChannel.read(dest); in directFullyRead() local 2421 if (chunkSize == -1) { in directFullyRead() 2425 offset += chunkSize; in directFullyRead()
|