Searched refs:intArray (Results 1 – 6 of 6) 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 | 85 int[] intArray = new int[ARRAY_SIZE]; in makeCopies() local 91 initIntArray(intArray); in makeCopies() 97 System.arraycopy(intArray, srcPos, intArray, dstPos, length); in makeCopies() 102 if (intArray[i] != byteArray[i]) { in makeCopies() 106 } else if (intArray[i] != shortArray[i]) { in makeCopies() 110 } else if (intArray[i] != longArray[i]) { in makeCopies() 114 } else if (intArray[i] != charArray[i]) { in makeCopies() 122 ": " + Arrays.toString(intArray)); in makeCopies()
|
/art/test/530-instanceof-checkcast/src/ |
D | Main.java | 25 static Object intArray = new int[2]; field in Main 57 check(true, intArray instanceof int[]); in checkInstanceOfNonTryCatch() 96 check(true, intArray instanceof int[]); in checkInstanceOfTryCatch() 168 field = (int[])intArray; in checkCheckCast()
|
/art/test/412-new-array/smali/ |
D | fill_array_data.smali | 5 .method public static intArray([I)V
|
/art/runtime/ |
D | transaction_test.cc | 415 mirror::IntArray* intArray = intArrayField->GetObject(h_klass.Get())->AsIntArray(); in TEST_F() local 416 ASSERT_TRUE(intArray != nullptr); in TEST_F() 417 ASSERT_EQ(intArray->GetLength(), 1); in TEST_F() 418 ASSERT_EQ(intArray->GetWithoutChecks(0), 0); in TEST_F() 465 intArray->SetWithoutChecks<true>(0, 1); in TEST_F() 478 EXPECT_EQ(intArray->GetWithoutChecks(0), 0); in TEST_F()
|
/art/test/510-checker-try-catch/smali/ |
D | Runtime.smali | 33 sget-object v0, LRuntime;->intArray:[I 225 sget-object v0, LRuntime;->intArray:[I 401 sget-object v0, LRuntime;->intArray:[I 507 sput-object v0, LRuntime;->intArray:[I 552 .field public static intArray:[I
|