Searched refs:objectArray (Results 1 – 4 of 4) sorted by relevance
/art/test/530-instanceof-checkcast/src/ |
D | Main.java | 24 static Object objectArray = new Object[2]; field in Main 56 check(false, objectArray instanceof int[]); in checkInstanceOfNonTryCatch() 61 check(false, objectArray instanceof ExactCheck[]); in checkInstanceOfNonTryCatch() 67 check(false, objectArray instanceof NormalCheck[]); in checkInstanceOfNonTryCatch() 73 check(true, objectArray instanceof Object[]); in checkInstanceOfNonTryCatch() 95 check(false, objectArray instanceof int[]); in checkInstanceOfTryCatch() 100 check(false, objectArray instanceof ExactCheck[]); in checkInstanceOfTryCatch() 106 check(false, objectArray instanceof NormalCheck[]); in checkInstanceOfTryCatch() 112 check(true, objectArray instanceof Object[]); in checkInstanceOfTryCatch() 164 field = (int[])objectArray; in checkCheckCast() [all …]
|
/art/test/573-checker-checkcast-regression/src/ |
D | Main.java | 43 Object[] objectArray = (Object[]) new_array; in test() local 44 Integer integer1 = (Integer) objectArray[index1]; in test() 45 Integer integer2 = (Integer) objectArray[index2]; in test()
|
/art/test/011-array-copy/src/ |
D | Main.java | 31 Object[] objectArray = new Object[8]; in testObjectCopy() local 37 System.arraycopy(stringArray, 0, objectArray, 0, stringArray.length); in testObjectCopy() 39 System.arraycopy(objectArray, 0, stringArray, 0, stringArray.length); in testObjectCopy() 41 objectArray[4] = new ImplA(); in testObjectCopy() 43 System.arraycopy(objectArray, 0, stringArray, 0,stringArray.length); in testObjectCopy()
|
/art/runtime/ |
D | transaction_test.cc | 444 mirror::ObjectArray<mirror::Object>* objectArray = in TEST_F() local 446 ASSERT_TRUE(objectArray != nullptr); in TEST_F() 447 ASSERT_EQ(objectArray->GetLength(), 1); in TEST_F() 448 ASSERT_EQ(objectArray->GetWithoutChecks(0), nullptr); in TEST_F() 469 objectArray->SetWithoutChecks<true>(0, h_obj.Get()); in TEST_F() 482 EXPECT_EQ(objectArray->GetWithoutChecks(0), nullptr); in TEST_F()
|