Searched refs:intArray (Results 1 – 3 of 3) sorted by relevance
/art/test/045-reflect-array/src/ |
D | Main.java | 25 Object intArray; in testSingleInt() local 27 intArray = Array.newInstance(Integer.TYPE, 2); in testSingleInt() 29 int[] array = (int[]) intArray; in testSingleInt() 31 Array.setInt(intArray, 1, 6); in testSingleInt() 33 if (Array.getInt(intArray, 0) != 5) in testSingleInt() 42 Array.setInt(intArray, 2, 27); in testSingleInt() 45 if (array.length != Array.getLength(intArray) || in testSingleInt() 54 Array.set(intArray, 0, x123); in testSingleInt() 55 Array.set(intArray, 1, x456); in testSingleInt() 56 if (!Array.get(intArray, 0).equals(x123) || !Array.get(intArray, 1).equals(x456)) { in testSingleInt() [all …]
|
/art/test/011-array-copy/src/ |
D | Main.java | 79 int[] intArray = new int[ARRAY_SIZE]; in makeCopies() local 84 initIntArray(intArray); in makeCopies() 89 System.arraycopy(intArray, srcPos, intArray, dstPos, length); in makeCopies() 93 if (intArray[i] != byteArray[i]) { in makeCopies() 97 } else if (intArray[i] != shortArray[i]) { in makeCopies() 101 } else if (intArray[i] != longArray[i]) { in makeCopies() 109 ": " + Arrays.toString(intArray)); in makeCopies()
|
/art/runtime/ |
D | transaction_test.cc | 342 mirror::IntArray* intArray = intArrayField->GetObject(h_klass.Get())->AsIntArray(); in TEST_F() local 343 ASSERT_TRUE(intArray != nullptr); in TEST_F() 344 ASSERT_EQ(intArray->GetLength(), 1); in TEST_F() 345 ASSERT_EQ(intArray->GetWithoutChecks(0), 0); in TEST_F() 392 intArray->SetWithoutChecks<true>(0, 1); in TEST_F() 405 EXPECT_EQ(intArray->GetWithoutChecks(0), 0); in TEST_F()
|