Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DCipherSpi.java788 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 …]
DMacSpi.java116 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/
DDdmServer.java104 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/
DMessageDigestSpi.java123 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()
DSignatureSpi.java158 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/
DLineNumberInputStream.java180 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/
DSpinedBuffer.java358 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/
DTestCertUtils.java618 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()