/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetDecoderTest.java | 42 byte[] arr = encode("UTF-16", "Android"); in test_ByteArray_decode_no_offset() 43 ByteBuffer inBuffer = ByteBuffer.wrap(arr, 0, arr.length).slice(); in test_ByteArray_decode_no_offset() 44 CharBuffer outBuffer = CharBuffer.allocate(arr.length); in test_ByteArray_decode_no_offset() 56 byte[] arr = encode("UTF-16", "Android"); in test_ByteArray_decode_with_offset() 57 arr = prependByteToByteArray(arr, new Integer(1).byteValue()); in test_ByteArray_decode_with_offset() 59 ByteBuffer inBuffer = ByteBuffer.wrap(arr, offset, arr.length - offset).slice(); in test_ByteArray_decode_with_offset() 60 CharBuffer outBuffer = CharBuffer.allocate(arr.length - offset); in test_ByteArray_decode_with_offset() 72 byte[] arr = encode("UTF-16", "Android"); in test_ByteArray_decode_with_offset_using_facade_method() 73 arr = prependByteToByteArray(arr, new Integer(1).byteValue()); in test_ByteArray_decode_with_offset_using_facade_method() 75 CharBuffer outBuffer = decoder.decode(ByteBuffer.wrap(arr, offset, arr.length - offset)); in test_ByteArray_decode_with_offset_using_facade_method() [all …]
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | CollatorTest.java | 65 byte [] arr = mColl.getCollationKey(sixteen).toByteArray(); in test_collationKeySize() 66 int len = arr.length; in test_collationKeySize() 67 assertTrue("Collation key not 0 terminated", arr[arr.length - 1] == 0); in test_collationKeySize() 69 String foo = new String(arr, 0, len, "iso8859-1"); in test_collationKeySize() 71 arr = mColl.getCollationKey(sixteen).toByteArray(); in test_collationKeySize() 72 len = arr.length; in test_collationKeySize() 73 assertTrue("Collation key not 0 terminated", arr[arr.length - 1] == 0); in test_collationKeySize() 75 String bar = new String(arr, 0, len, "iso8859-1"); in test_collationKeySize()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineResultTest.java | 206 private boolean findEl(Object[] arr, Object el) { in findEl() argument 208 for (int i = 0; i < arr.length; i++) { in findEl() 209 if (arr[i].equals(el)) { in findEl()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory1Test.java | 440 byte[] arr = os.toByteArray(); in testCertificateFactory11() 443 is = new ByteArrayInputStream(arr); in testCertificateFactory11() 449 is = new ByteArrayInputStream(arr); in testCertificateFactory11() 457 is = new ByteArrayInputStream(arr); in testCertificateFactory11() 463 is = new ByteArrayInputStream(arr); in testCertificateFactory11() 546 byte[] arr = os.toByteArray(); in testCertificateFactory13() 547 ByteArrayInputStream is = new ByteArrayInputStream(arr); in testCertificateFactory13()
|
/libcore/luni/src/test/java/com/android/org/bouncycastle/jce/provider/ |
D | CertBlacklistTest.java | 156 Set<byte[]> arr = bl.pubkeyBlacklist; in getPubkeyBlacklist() local 159 for (byte[] value: arr) { in getPubkeyBlacklist() 169 Set<BigInteger> arr = bl.serialBlacklist; in getSerialBlacklist() local 172 for (BigInteger value: arr) { in getSerialBlacklist()
|
/libcore/luni/src/main/native/ |
D | java_math_NativeBN.cpp | 168 static void NativeBN_BN_bin2bn(JNIEnv* env, jclass, jbyteArray arr, int len, jboolean neg, jlong re… in NativeBN_BN_bin2bn() argument 170 ScopedByteArrayRO bytes(env, arr); in NativeBN_BN_bin2bn() 187 static void NativeBN_litEndInts2bn(JNIEnv* env, jclass, jintArray arr, int len, jboolean neg, jlong… in NativeBN_litEndInts2bn() argument 192 ScopedIntArrayRO scopedArray(env, arr); in NativeBN_litEndInts2bn() 291 static void NativeBN_twosComp2bn(JNIEnv* env, jclass cls, jbyteArray arr, int bytesLen, jlong ret0)… in NativeBN_twosComp2bn() argument 295 ScopedByteArrayRO bytes(env, arr); in NativeBN_twosComp2bn()
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlParser.java | 294 private String[] ensureCapacity(String[] arr, int required) { in ensureCapacity() argument 295 if (arr.length >= required) { in ensureCapacity() 296 return arr; in ensureCapacity() 299 System.arraycopy(arr, 0, bigger, 0, arr.length); in ensureCapacity()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest2.java | 684 Object arr; in readObject() local 686 arr = s.readObject(); in readObject() 687 transVar = (int[]) arr; in readObject() 707 Object arr; in readObject() local 709 arr = s.readObject(); in readObject() 710 transVar = (int[]) arr; in readObject()
|
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | PatternTest.java | 167 String[] arr = s1.split(":"); in testSplitCharSequence() local 168 assertEquals(arr.length, 1); in testSplitCharSequence() 1010 String[] arr = s1.split(":"); in testSplitEmptyCharSequence() local 1011 assertEquals(arr.length, 1); in testSplitEmptyCharSequence()
|
/libcore/luni/src/main/java/java/util/ |
D | Collections.java | 2863 @Override public <T> T[] toArray(T[] arr) { 2864 return c.toArray(arr);
|