Home
last modified time | relevance | path

Searched refs:array2 (Results 1 – 6 of 6) sorted by relevance

/libcore/benchmarks/src/benchmarks/
DDeepArrayOpsBenchmark.java30 private Object[] array2; field in DeepArrayOpsBenchmark
34 array2 = new Object[arrayLength * 14]; in setUp()
37 array2[i] = new IntWrapper(i); in setUp()
40 array2[i + 1] = new16ElementObjectarray(); in setUp()
43 array2[i + 2] = new boolean[16]; in setUp()
46 array2[i + 3] = new byte[16]; in setUp()
49 array2[i + 4] = new char[16]; in setUp()
52 array2[i + 5] = new short[16]; in setUp()
55 array2[i + 6] = new float[16]; in setUp()
58 array2[i + 7] = new long[16]; in setUp()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyGeneratorThread.java43 byte[] array2 = k.getEncoded(); in test()
46 if (array1[i] == array2[i]) { in test()
61 array2 = k.getEncoded(); in test()
63 if (array1[i] == array2[i]) { in test()
/libcore/support/src/test/java/tests/support/
DSupport_MapTest.java184 private static <T> void assertArrayEquals(T[] array1, T[] array2) { in assertArrayEquals() argument
185 assertTrue(Arrays.equals(array1, array2)); in assertArrayEquals()
/libcore/ojluni/src/main/java/java/util/stream/
DSpinedBuffer.java833 int[] array2 = Arrays.copyOf(array, 200); in toString() local
836 spineIndex, Arrays.toString(array2)); in toString()
951 long[] array2 = Arrays.copyOf(array, 200); in toString() local
954 spineIndex, Arrays.toString(array2)); in toString()
1069 double[] array2 = Arrays.copyOf(array, 200); in toString() local
1072 spineIndex, Arrays.toString(array2)); in toString()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldAndroidArrayTest.java108 String[][] array2 = (String[][]) strStrStrArray; in testMulti() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollectionsTest.java1805 Map.Entry[] array2 = (Map.Entry[]) c.entrySet().toArray( in test_unmodifiableMapLjava_util_Map() local
1808 array2[0].setValue("modified"); in test_unmodifiableMapLjava_util_Map()
2398 private static <T> void assertArrayEquals(T[] array1, T[] array2) { in assertArrayEquals() argument
2399 assertTrue(Arrays.equals(array1, array2)); in assertArrayEquals()