Searched refs:intArray (Results 1 - 4 of 4) sorted by relevance

/art/test/011-array-copy/src/
H A DMain.java85 int[] intArray = new int[ARRAY_SIZE];
91 initIntArray(intArray);
97 System.arraycopy(intArray, srcPos, intArray, dstPos, length);
102 if (intArray[i] != byteArray[i]) {
106 } else if (intArray[i] != shortArray[i]) {
110 } else if (intArray[i] != longArray[i]) {
114 } else if (intArray[i] != charArray[i]) {
122 ": " + Arrays.toString(intArray));
/art/test/045-reflect-array/src/
H A DMain.java25 Object intArray;
27 intArray = Array.newInstance(Integer.TYPE, 2);
29 int[] array = (int[]) intArray;
31 Array.setInt(intArray, 1, 6);
33 if (Array.getInt(intArray, 0) != 5)
42 Array.setInt(intArray, 2, 27);
45 if (array.length != Array.getLength(intArray) ||
54 Array.set(intArray, 0, x123);
55 Array.set(intArray, 1, x456);
56 if (!Array.get(intArray,
[all...]
/art/test/530-instanceof-checkcast/src/
H A DMain.java25 static Object intArray = new int[2]; field in class:Main
57 check(true, intArray instanceof int[]);
96 check(true, intArray instanceof int[]);
168 field = (int[])intArray;
/art/runtime/
H A Dtransaction_test.cc415 mirror::IntArray* intArray = intArrayField->GetObject(h_klass.Get())->AsIntArray(); local
416 ASSERT_TRUE(intArray != nullptr);
417 ASSERT_EQ(intArray->GetLength(), 1);
418 ASSERT_EQ(intArray->GetWithoutChecks(0), 0);
465 intArray->SetWithoutChecks<true>(0, 1);
478 EXPECT_EQ(intArray->GetWithoutChecks(0), 0);

Completed in 205 milliseconds