/libcore/ojluni/src/main/java/javax/crypto/ |
D | CipherSpi.java | 788 int chunk = Math.min(inLen, inArray.length); in bufferCrypt() local 789 if (chunk > 0) { in bufferCrypt() 790 input.get(inArray, 0, chunk); in bufferCrypt() 793 if (isUpdate || (inLen != chunk)) { in bufferCrypt() 794 n = engineUpdate(inArray, 0, chunk, outArray, outOfs); in bufferCrypt() 796 n = engineDoFinal(inArray, 0, chunk, outArray, outOfs); in bufferCrypt() 800 inLen -= chunk; in bufferCrypt() 819 int chunk = in bufferCrypt() local 821 if (!a1 && !resized && chunk > 0) { in bufferCrypt() 822 input.get(inArray, 0, chunk); in bufferCrypt() [all …]
|
D | MacSpi.java | 116 int chunk = Math.min(len, b.length); in engineUpdate() local 117 input.get(b, 0, chunk); in engineUpdate() 118 engineUpdate(b, 0, chunk); in engineUpdate() 119 len -= chunk; in engineUpdate()
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | DdmServer.java | 104 public static void sendChunk(Chunk chunk) { in sendChunk() argument 105 nativeSendChunk(chunk.type, chunk.data, chunk.offset, chunk.length); in sendChunk() 181 Chunk chunk = new Chunk(type, data, offset, length); in dispatch() local 182 return handler.handleChunk(chunk); in dispatch()
|
/libcore/ojluni/src/main/java/java/security/ |
D | MessageDigestSpi.java | 123 int chunk = Math.min(len, tempArray.length); in engineUpdate() local 124 input.get(tempArray, 0, chunk); in engineUpdate() 125 engineUpdate(tempArray, 0, chunk); in engineUpdate() 126 len -= chunk; in engineUpdate()
|
D | SignatureSpi.java | 158 int chunk = Math.min(len, b.length); in engineUpdate() local 159 input.get(b, 0, chunk); in engineUpdate() 160 engineUpdate(b, 0, chunk); in engineUpdate() 161 len -= chunk; in engineUpdate()
|
/libcore/ojluni/src/main/java/java/io/ |
D | LineNumberInputStream.java | 180 int chunk = 2048; in skip() local 189 data = new byte[chunk]; in skip() 191 nr = read(data, 0, (int) Math.min(chunk, remaining)); in skip()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | SpinedBuffer.java | 358 E[] chunk = spine[sp]; in spliterator() local 359 for (; i < chunk.length; i++) { in spliterator() 360 consumer.accept(chunk[i]); in spliterator() 365 … E[] chunk = (splSpineIndex == lastSpineIndex) ? splChunk : spine[lastSpineIndex]; in spliterator() local 368 consumer.accept(chunk[i]); in spliterator() 682 T_ARR chunk = spine[sp]; in forEachRemaining() local 683 arrayForEach(chunk, i, arrayLength(chunk), consumer); in forEachRemaining() 687 … T_ARR chunk = (splSpineIndex == lastSpineIndex) ? splChunk : spine[lastSpineIndex]; in forEachRemaining() local 688 arrayForEach(chunk, i, lastSpineElementFence, consumer); in forEachRemaining()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestCertUtils.java | 618 byte[] chunk = new byte[1024]; in engineGenerateCertificate() 621 while ((len = is.read(chunk)) > 0) { in engineGenerateCertificate() 624 System.arraycopy(chunk, 0, tmp, data.length, len); in engineGenerateCertificate()
|