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
37 array2 = new Object[arrayLength * 13]; in setUp()
40 array2[i] = new IntWrapper(i); in setUp()
43 array2[i + 1] = new16ElementObjectarray(); in setUp()
46 array2[i + 2] = new boolean[16]; in setUp()
49 array2[i + 3] = new byte[16]; in setUp()
52 array2[i + 4] = new char[16]; in setUp()
55 array2[i + 5] = new short[16]; in setUp()
58 array2[i + 6] = new float[16]; in setUp()
61 array2[i + 7] = new long[16]; in setUp()
[all …]
/libcore/luni/src/main/java/java/util/
DArrays.java1354 public static boolean equals(byte[] array1, byte[] array2) { in equals() argument
1355 if (array1 == array2) { in equals()
1358 if (array1 == null || array2 == null || array1.length != array2.length) { in equals()
1362 if (array1[i] != array2[i]) { in equals()
1380 public static boolean equals(short[] array1, short[] array2) { in equals() argument
1381 if (array1 == array2) { in equals()
1384 if (array1 == null || array2 == null || array1.length != array2.length) { in equals()
1388 if (array1[i] != array2[i]) { in equals()
1406 public static boolean equals(char[] array1, char[] array2) { in equals() argument
1407 if (array1 == array2) { in equals()
[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/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.java1789 Map.Entry[] array2 = (Map.Entry[]) c.entrySet().toArray( in test_unmodifiableMapLjava_util_Map() local
1792 array2[0].setValue("modified"); in test_unmodifiableMapLjava_util_Map()
2376 private static <T> void assertArrayEquals(T[] array1, T[] array2) { in assertArrayEquals() argument
2377 assertTrue(Arrays.equals(array1, array2)); in assertArrayEquals()