Home
last modified time | relevance | path

Searched refs:objectArray (Results 1 – 4 of 4) sorted by relevance

/art/test/530-instanceof-checkcast/src/
DMain.java24 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/
DMain.java43 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/
DMain.java31 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/
Dtransaction_test.cc447 Handle<mirror::ObjectArray<mirror::Object>> objectArray = in TEST_F() local
449 ASSERT_TRUE(objectArray != nullptr); in TEST_F()
450 ASSERT_EQ(objectArray->GetLength(), 1); in TEST_F()
451 ASSERT_EQ(objectArray->GetWithoutChecks(0), nullptr); in TEST_F()
471 objectArray->SetWithoutChecks<true>(0, h_obj.Get()); in TEST_F()
483 EXPECT_EQ(objectArray->GetWithoutChecks(0), nullptr); in TEST_F()