Home
last modified time | relevance | path

Searched refs:arraycopy (Results 1 – 25 of 1039) sorted by relevance

12345678910>>...42

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZip64ExtendedInformationExtraFieldTest.java89 System.arraycopy(SIZE.getBytes(), 0, b, 0, 8); in testReadLFHSizesOnly()
90 System.arraycopy(CSIZE.getBytes(), 0, b, 8, 8); in testReadLFHSizesOnly()
103 System.arraycopy(SIZE.getBytes(), 0, b, 0, 8); in testReadLFHSizesAndOffset()
104 System.arraycopy(CSIZE.getBytes(), 0, b, 8, 8); in testReadLFHSizesAndOffset()
105 System.arraycopy(OFF.getBytes(), 0, b, 16, 8); in testReadLFHSizesAndOffset()
118 System.arraycopy(SIZE.getBytes(), 0, b, 0, 8); in testReadLFHSizesOffsetAndDisk()
119 System.arraycopy(CSIZE.getBytes(), 0, b, 8, 8); in testReadLFHSizesOffsetAndDisk()
120 System.arraycopy(OFF.getBytes(), 0, b, 16, 8); in testReadLFHSizesOffsetAndDisk()
121 System.arraycopy(DISK.getBytes(), 0, b, 24, 4); in testReadLFHSizesOffsetAndDisk()
134 System.arraycopy(SIZE.getBytes(), 0, b, 0, 8); in testReadLFHSizesAndDisk()
[all …]
DExtraFieldUtilsTest.java60 System.arraycopy(a.getHeaderId().getBytes(), 0, data, 0, 2); in setUp()
61 System.arraycopy(a.getLocalFileDataLength().getBytes(), 0, data, 2, 2); in setUp()
62 System.arraycopy(aLocal, 0, data, 4, aLocal.length); in setUp()
63 System.arraycopy(dummy.getHeaderId().getBytes(), 0, data, in setUp()
65 System.arraycopy(dummy.getLocalFileDataLength().getBytes(), 0, data, in setUp()
67 System.arraycopy(dummyLocal, 0, data, in setUp()
87 System.arraycopy(data, 0, data2, 0, data2.length); in testParse()
112 System.arraycopy(f.getHeaderId().getBytes(), 0, d, 0, 2); in parseTurnsArrayIndexOutOfBoundsIntoZipException()
113 System.arraycopy(f.getLocalFileDataLength().getBytes(), 0, d, 2, 2); in parseTurnsArrayIndexOutOfBoundsIntoZipException()
114 System.arraycopy(l, 0, d, 4, l.length); in parseTurnsArrayIndexOutOfBoundsIntoZipException()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRFC3394WrapEngine.java105 System.arraycopy(iv, 0, block, 0, iv.length); in wrap()
106 System.arraycopy(in, inOff, block, iv.length, inLen); in wrap()
114 System.arraycopy(block, 0, buf, 0, iv.length); in wrap()
115 System.arraycopy(block, 8 * i, buf, iv.length, 8); in wrap()
128 System.arraycopy(buf, 0, block, 0, 8); in wrap()
129 System.arraycopy(buf, 8, block, 8 * i, 8); in wrap()
158 System.arraycopy(in, inOff, a, 0, iv.length); in unwrap()
159 System.arraycopy(in, inOff + iv.length, block, 0, inLen - iv.length); in unwrap()
169 System.arraycopy(a, 0, buf, 0, iv.length); in unwrap()
170 System.arraycopy(block, 8 * (i - 1), buf, iv.length, 8); in unwrap()
[all …]
DDESedeWrapEngine.java149 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); in wrap()
157 System.arraycopy(keyToBeWrapped, 0, WKCKS, 0, keyToBeWrapped.length); in wrap()
158 System.arraycopy(CKS, 0, WKCKS, keyToBeWrapped.length, CKS.length); in wrap()
182 System.arraycopy(this.iv, 0, TEMP2, 0, this.iv.length); in wrap()
183 System.arraycopy(TEMP1, 0, TEMP2, this.iv.length, TEMP1.length); in wrap()
268 System.arraycopy(TEMP2, 0, this.iv, 0, 8); in unwrap()
269 System.arraycopy(TEMP2, 8, TEMP1, 0, TEMP2.length - 8); in unwrap()
289 System.arraycopy(WKCKS, 0, result, 0, WKCKS.length - 8); in unwrap()
290 System.arraycopy(WKCKS, WKCKS.length - 8, CKStoBeVerified, 0, 8); in unwrap()
326 System.arraycopy(digest, 0, result, 0, 8); in calculateCMSKeyChecksum()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DRFC3394WrapEngine.java107 System.arraycopy(iv, 0, block, 0, iv.length); in wrap()
108 System.arraycopy(in, inOff, block, iv.length, inLen); in wrap()
116 System.arraycopy(block, 0, buf, 0, iv.length); in wrap()
117 System.arraycopy(block, 8 * i, buf, iv.length, 8); in wrap()
130 System.arraycopy(buf, 0, block, 0, 8); in wrap()
131 System.arraycopy(buf, 8, block, 8 * i, 8); in wrap()
160 System.arraycopy(in, inOff, a, 0, iv.length); in unwrap()
161 System.arraycopy(in, inOff + iv.length, block, 0, inLen - iv.length); in unwrap()
171 System.arraycopy(a, 0, buf, 0, iv.length); in unwrap()
172 System.arraycopy(block, 8 * (i - 1), buf, iv.length, 8); in unwrap()
[all …]
DDESedeWrapEngine.java151 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); in wrap()
159 System.arraycopy(keyToBeWrapped, 0, WKCKS, 0, keyToBeWrapped.length); in wrap()
160 System.arraycopy(CKS, 0, WKCKS, keyToBeWrapped.length, CKS.length); in wrap()
184 System.arraycopy(this.iv, 0, TEMP2, 0, this.iv.length); in wrap()
185 System.arraycopy(TEMP1, 0, TEMP2, this.iv.length, TEMP1.length); in wrap()
270 System.arraycopy(TEMP2, 0, this.iv, 0, 8); in unwrap()
271 System.arraycopy(TEMP2, 8, TEMP1, 0, TEMP2.length - 8); in unwrap()
291 System.arraycopy(WKCKS, 0, result, 0, WKCKS.length - 8); in unwrap()
292 System.arraycopy(WKCKS, WKCKS.length - 8, CKStoBeVerified, 0, 8); in unwrap()
328 System.arraycopy(digest, 0, result, 0, 8); in calculateCMSKeyChecksum()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/engines/
DRFC3394WrapEngine.java107 System.arraycopy(iv, 0, block, 0, iv.length); in wrap()
108 System.arraycopy(in, inOff, block, iv.length, inLen); in wrap()
116 System.arraycopy(block, 0, buf, 0, iv.length); in wrap()
117 System.arraycopy(block, 8 * i, buf, iv.length, 8); in wrap()
130 System.arraycopy(buf, 0, block, 0, 8); in wrap()
131 System.arraycopy(buf, 8, block, 8 * i, 8); in wrap()
160 System.arraycopy(in, inOff, a, 0, iv.length); in unwrap()
161 System.arraycopy(in, inOff + iv.length, block, 0, inLen - iv.length); in unwrap()
171 System.arraycopy(a, 0, buf, 0, iv.length); in unwrap()
172 System.arraycopy(block, 8 * (i - 1), buf, iv.length, 8); in unwrap()
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/
DVDUBuffer.java222 System.arraycopy(charArray[screenBase + l], c, charArray[screenBase + l], c + 1, width - c - 1); in insertChar()
223 System.arraycopy(charAttributes[screenBase + l], c, charAttributes[screenBase + l], c + 1, in insertChar()
242 System.arraycopy(charArray[screenBase + l], c + 1, charArray[screenBase + l], c, width - c in deleteChar()
244 System.arraycopy(charAttributes[screenBase + l], c + 1, charAttributes[screenBase + l], c, in deleteChar()
397 System.arraycopy(charArray, oldBase + l, cbuf, 0, bottom - l - (n - 1)); in insertLine()
398 System.arraycopy(charAttributes, oldBase + l, abuf, 0, bottom - l - (n - 1)); in insertLine()
399 System.arraycopy(cbuf, 0, charArray, oldBase + l + n, bottom - l - (n - 1)); in insertLine()
400 System.arraycopy(abuf, 0, charAttributes, oldBase + l + n, bottom - l - (n - 1)); in insertLine()
432 System.arraycopy(charArray, offset, cbuf, 0, oldBase - offset); in insertLine()
433 System.arraycopy(charAttributes, offset, abuf, 0, oldBase - offset); in insertLine()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DArrays.java622 System.arraycopy(data, 0, existing, 0, existing.length); in clone()
636 System.arraycopy(data, 0, existing, 0, existing.length); in clone()
677 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
684 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
691 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
698 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
705 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
712 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
719 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
727 System.arraycopy(original, from, copy, 0, Math.min(original.length - from, newLength)); in copyOfRange()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/
DArrays.java624 System.arraycopy(data, 0, existing, 0, existing.length); in clone()
638 System.arraycopy(data, 0, existing, 0, existing.length); in clone()
679 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
686 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
693 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
700 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
707 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
714 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
721 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
729 System.arraycopy(original, from, copy, 0, Math.min(original.length - from, newLength)); in copyOfRange()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DArrays.java624 System.arraycopy(data, 0, existing, 0, existing.length); in clone()
638 System.arraycopy(data, 0, existing, 0, existing.length); in clone()
679 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
686 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
693 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
700 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
707 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
714 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
721 System.arraycopy(original, 0, copy, 0, Math.min(original.length, newLength)); in copyOf()
729 System.arraycopy(original, from, copy, 0, Math.min(original.length - from, newLength)); in copyOfRange()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java97 System.arraycopy(buf, blockSize, buf, 0, blockSize); in processByte()
148 System.arraycopy(in, inOff, buf, bufOff, gapLen); in processBytes()
151 System.arraycopy(buf, blockSize, buf, 0, blockSize); in processBytes()
160 System.arraycopy(in, inOff, buf, bufOff, blockSize); in processBytes()
162 System.arraycopy(buf, blockSize, buf, 0, blockSize); in processBytes()
169 System.arraycopy(in, inOff, buf, bufOff, len); in processBytes()
235 System.arraycopy(block, 0, out, outOff + blockSize, len); in doFinal()
239 System.arraycopy(block, 0, out, outOff, blockSize); in doFinal()
269 System.arraycopy(buf, blockSize, block, 0, len); in doFinal()
272 System.arraycopy(lastBlock, 0, out, outOff + blockSize, len); in doFinal()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java99 System.arraycopy(buf, blockSize, buf, 0, blockSize); in processByte()
150 System.arraycopy(in, inOff, buf, bufOff, gapLen); in processBytes()
153 System.arraycopy(buf, blockSize, buf, 0, blockSize); in processBytes()
162 System.arraycopy(in, inOff, buf, bufOff, blockSize); in processBytes()
164 System.arraycopy(buf, blockSize, buf, 0, blockSize); in processBytes()
171 System.arraycopy(in, inOff, buf, bufOff, len); in processBytes()
237 System.arraycopy(block, 0, out, outOff + blockSize, len); in doFinal()
241 System.arraycopy(block, 0, out, outOff, blockSize); in doFinal()
271 System.arraycopy(buf, blockSize, block, 0, len); in doFinal()
274 System.arraycopy(lastBlock, 0, out, outOff + blockSize, len); in doFinal()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java99 System.arraycopy(buf, blockSize, buf, 0, blockSize); in processByte()
150 System.arraycopy(in, inOff, buf, bufOff, gapLen); in processBytes()
153 System.arraycopy(buf, blockSize, buf, 0, blockSize); in processBytes()
162 System.arraycopy(in, inOff, buf, bufOff, blockSize); in processBytes()
164 System.arraycopy(buf, blockSize, buf, 0, blockSize); in processBytes()
171 System.arraycopy(in, inOff, buf, bufOff, len); in processBytes()
237 System.arraycopy(block, 0, out, outOff + blockSize, len); in doFinal()
241 System.arraycopy(block, 0, out, outOff, blockSize); in doFinal()
271 System.arraycopy(buf, blockSize, block, 0, len); in doFinal()
274 System.arraycopy(lastBlock, 0, out, outOff + blockSize, len); in doFinal()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DAsiExtraField.java131 System.arraycopy(ZipShort.getBytes(getMode()), 0, data, 0, 2); in getLocalFileDataData()
135 System.arraycopy(ZipLong.getBytes(linkArray.length), in getLocalFileDataData()
138 System.arraycopy(ZipShort.getBytes(getUserId()), in getLocalFileDataData()
140 System.arraycopy(ZipShort.getBytes(getGroupId()), in getLocalFileDataData()
143 System.arraycopy(linkArray, 0, data, 10, linkArray.length); in getLocalFileDataData()
151 System.arraycopy(ZipLong.getBytes(checksum), 0, result, 0, WORD); in getLocalFileDataData()
152 System.arraycopy(data, 0, result, WORD, data.length); in getLocalFileDataData()
272 System.arraycopy(data, offset + WORD, tmp, 0, length - WORD); in parseFromLocalFileData()
292 System.arraycopy(tmp, 10, linkArray, 0, linkArray.length); in parseFromLocalFileData()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DObjectVector.java97 System.arraycopy(v.m_map, 0, m_map, 0, m_firstFree); in ObjectVector()
135 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement()
159 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElements()
185 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElements()
212 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in insertElementAt()
219 System.arraycopy(m_map, at, m_map, at + 1, m_firstFree - at); in insertElementAt()
260 System.arraycopy(m_map, i + 1, m_map, i - 1, m_firstFree - i); in removeElement()
285 System.arraycopy(m_map, i + 1, m_map, i, m_firstFree); in removeElementAt()
414 System.arraycopy(m_map, 0, newMap, 0, m_firstFree); in setToSize()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DDERGeneralizedTime.java53 System.arraycopy(time, 0, derTime, 0, time.length - 1); in getDERTime()
54 System.arraycopy(Strings.toByteArray("0000Z"), 0, derTime, time.length - 1, 5); in getDERTime()
62 System.arraycopy(time, 0, derTime, 0, time.length - 1); in getDERTime()
63 System.arraycopy(Strings.toByteArray("00Z"), 0, derTime, time.length - 1, 3); in getDERTime()
79 System.arraycopy(time, 0, derTime, 0, ind); in getDERTime()
88 System.arraycopy(time, 0, derTime, 0, ind + 1); in getDERTime()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/
DDERGeneralizedTime.java53 System.arraycopy(time, 0, derTime, 0, time.length - 1); in getDERTime()
54 System.arraycopy(Strings.toByteArray("0000Z"), 0, derTime, time.length - 1, 5); in getDERTime()
62 System.arraycopy(time, 0, derTime, 0, time.length - 1); in getDERTime()
63 System.arraycopy(Strings.toByteArray("00Z"), 0, derTime, time.length - 1, 3); in getDERTime()
79 System.arraycopy(time, 0, derTime, 0, ind); in getDERTime()
88 System.arraycopy(time, 0, derTime, 0, ind + 1); in getDERTime()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERGeneralizedTime.java51 System.arraycopy(time, 0, derTime, 0, time.length - 1); in getDERTime()
52 System.arraycopy(Strings.toByteArray("0000Z"), 0, derTime, time.length - 1, 5); in getDERTime()
60 System.arraycopy(time, 0, derTime, 0, time.length - 1); in getDERTime()
61 System.arraycopy(Strings.toByteArray("00Z"), 0, derTime, time.length - 1, 3); in getDERTime()
77 System.arraycopy(time, 0, derTime, 0, ind); in getDERTime()
86 System.arraycopy(time, 0, derTime, 0, ind + 1); in getDERTime()
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DSimpleCharStream.java71 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
72 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); in ExpandBuff()
75 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
76 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
79 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
80 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
87 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
90 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
93 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
351 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); in GetSuffix()
[all …]
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DCircularCaptureBuffer.java45 System.arraycopy(buffer, offset, mData, mCursor, numWrite1); in write()
48 System.arraycopy(buffer, offset, mData, 0, numWrite2); in write()
51 System.arraycopy(buffer, offset, mData, mCursor, numSamples); in write()
84 System.arraycopy(mData, mData.length - numRead1, buffer, offset, numRead1); in readMostRecent()
87 System.arraycopy(mData, 0, buffer, offset, numRead2); in readMostRecent()
89 System.arraycopy(mData, cursor - numSamples, buffer, offset, numSamples); in readMostRecent()
/external/smali/dexlib2/src/main/java/org/jf/util/
DSparseIntArray.java113 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); in removeAt()
114 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); in removeAt()
138 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in put()
139 System.arraycopy(mValues, 0, nvalues, 0, mValues.length); in put()
147 System.arraycopy(mKeys, i, mKeys, i + 1, mSize - i); in put()
148 System.arraycopy(mValues, i, mValues, i + 1, mSize - i); in put()
233 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in append()
234 System.arraycopy(mValues, 0, nvalues, 0, mValues.length); in append()
/external/proguard/src/proguard/util/
DArrayUtil.java396 System.arraycopy(array, 0, in extendArray()
469 System.arraycopy(array, index, in insert()
487 System.arraycopy(array, index + 1, in remove()
512 System.arraycopy(array, 0, in extendArray()
585 System.arraycopy(array, index, in insert()
603 System.arraycopy(array, index + 1, in remove()
628 System.arraycopy(array, 0, in extendArray()
701 System.arraycopy(array, index, in insert()
719 System.arraycopy(array, index + 1, in remove()
744 System.arraycopy(array, 0, in extendArray()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeDecompressor.java143 System.arraycopy(temp, 0, result, 0, charCount); in decompress()
203 System.arraycopy(byteBuffer, byteBufferStart, in decompress()
277 System.arraycopy(byteBuffer, bytePos, in decompress()
329 System.arraycopy(byteBuffer, bytePos, in decompress()
355 System.arraycopy(byteBuffer, bytePos, in decompress()
386 System.arraycopy(byteBuffer, bytePos, in decompress()
405 System.arraycopy(byteBuffer, bytePos, in decompress()
441 System.arraycopy(byteBuffer, bytePos, in decompress()
462 System.arraycopy(byteBuffer, bytePos, in decompress()
493 System.arraycopy(byteBuffer, bytePos, in decompress()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeDecompressor.java141 System.arraycopy(temp, 0, result, 0, charCount); in decompress()
200 System.arraycopy(byteBuffer, byteBufferStart, in decompress()
274 System.arraycopy(byteBuffer, bytePos, in decompress()
326 System.arraycopy(byteBuffer, bytePos, in decompress()
352 System.arraycopy(byteBuffer, bytePos, in decompress()
383 System.arraycopy(byteBuffer, bytePos, in decompress()
402 System.arraycopy(byteBuffer, bytePos, in decompress()
438 System.arraycopy(byteBuffer, bytePos, in decompress()
459 System.arraycopy(byteBuffer, bytePos, in decompress()
490 System.arraycopy(byteBuffer, bytePos, in decompress()
[all …]

12345678910>>...42