/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArraysTest.java | 3648 byte[] result = Arrays.copyOfRange(byteArray, 0, arraySize * 2); in test_copyOfRange_$BII() 3656 result = Arrays.copyOfRange(byteArray, 0, arraySize / 2); in test_copyOfRange_$BII() 3661 result = Arrays.copyOfRange(byteArray, 0, 0); in test_copyOfRange_$BII() 3664 Arrays.copyOfRange((byte[]) null, 0, arraySize); in test_copyOfRange_$BII() 3670 Arrays.copyOfRange((byte[]) null, -1, arraySize); in test_copyOfRange_$BII() 3676 Arrays.copyOfRange((byte[]) null, 0, -1); in test_copyOfRange_$BII() 3682 Arrays.copyOfRange(byteArray, -1, arraySize); in test_copyOfRange_$BII() 3688 Arrays.copyOfRange(byteArray, 0, -1); in test_copyOfRange_$BII() 3693 assertEquals(byteArray.length + 1, Arrays.copyOfRange(byteArray, 0, in test_copyOfRange_$BII() 3701 short[] result = Arrays.copyOfRange(shortArray, 0, arraySize * 2); in test_copyOfRange_$SII() [all …]
|
/libcore/luni/src/main/java/java/util/ |
D | Arrays.java | 2436 return copyOfRange(original, 0, newLength); in copyOf() 2455 return copyOfRange(original, 0, newLength); in copyOf() 2474 return copyOfRange(original, 0, newLength); in copyOf() 2493 return copyOfRange(original, 0, newLength); in copyOf() 2512 return copyOfRange(original, 0, newLength); in copyOf() 2531 return copyOfRange(original, 0, newLength); in copyOf() 2550 return copyOfRange(original, 0, newLength); in copyOf() 2569 return copyOfRange(original, 0, newLength); in copyOf() 2591 return copyOfRange(original, 0, newLength); in copyOf() 2613 return copyOfRange(original, 0, newLength, newType); in copyOf() [all …]
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
D | PortableThreadSampler.java | 39 stackFrames = Arrays.copyOfRange(stackFrames, 0, depth); in getStackTrace()
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
D | ASN1Enumerated.java | 78 return Arrays.copyOfRange(in.buffer, in.contentOffset, in.contentOffset + in.length); in getDecodedObject()
|
D | ASN1OctetString.java | 76 return Arrays.copyOfRange(in.buffer, in.contentOffset, in.contentOffset + in.length); in getDecodedObject()
|
/libcore/luni/src/main/java/javax/crypto/spec/ |
D | GCMParameterSpec.java | 81 this.iv = Arrays.copyOfRange(iv, offset, offset + byteCount); in GCMParameterSpec()
|
/libcore/benchmarks/src/benchmarks/ |
D | ArrayCopyBenchmark.java | 54 char[] dst = Arrays.copyOfRange(src, 0, 8192); in time_Arrays_copyOfRange()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | GCMParameterSpecTest.java | 94 assertEquals(Arrays.toString(Arrays.copyOfRange(TEST_IV, 2, 6)), in testGetIV_Subarray_Success()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/ |
D | SubjectPublicKeyInfoTest.java | 95 Arrays.toString(Arrays.copyOfRange(encoded, encoded.length in test_getPublicKey_NameKnownButOnlyOIDFactoryRegistered()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetEncoderTest.java | 128 System.err.println(Arrays.toString(Arrays.copyOfRange(bb.array(), 0, bb.position()))); in testCharsetEncoderSplitSurrogates()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 317 newElements = Arrays.copyOfRange( in addAllAbsent() 397 newElements = Arrays.copyOfRange(newElements, 0, newSize); // trim to size in removeOrRetain()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadGroupTest.java | 359 return Arrays.copyOfRange(all, 0, actualSize); in groups()
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | GeneralName.java | 645 return Arrays.copyOfRange(result, 0, number); in oidStrToInts()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | CertificateFactoryTest.java | 223 baos.write(Arrays.copyOfRange(VALID_CERTIFICATE_PEM_DATA, offset, end)); in test_generateCertificate_AnyLineLength_Success()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 2131 expected = Arrays.copyOfRange(expected, nonZeroOffset, expected.length); in assertEncryptedEqualsNoPadding() 2636 Arrays.toString(Arrays.copyOfRange(actualPlaintext, 0, p.plaintext.length))); in checkCipher() 2648 … Arrays.toString(Arrays.copyOfRange(actualPlaintext, 1, p.plaintext.length + 1))); in checkCipher()
|
/libcore/libart/src/main/java/java/lang/ |
D | String.java | 423 : Arrays.copyOfRange(toCopy.value, toCopy.offset, toCopy.offset + toCopy.length()); in String()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | RecursiveActionTest.java | 1217 long[] buf = Arrays.copyOfRange(array, lo, mid); in merge()
|