Home
last modified time | relevance | path

Searched refs:oa (Results 1 – 2 of 2) sorted by relevance

/art/runtime/mirror/
Dobject_test.cc120 Handle<ObjectArray<Object>> oa(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F() local
121 EXPECT_EQ(2, oa->GetLength()); in TEST_F()
122 EXPECT_TRUE(oa->Get(0) == nullptr); in TEST_F()
123 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F()
124 oa->Set<false>(0, oa.Get()); in TEST_F()
125 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F()
126 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F()
127 oa->Set<false>(1, oa.Get()); in TEST_F()
128 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F()
129 EXPECT_TRUE(oa->Get(1) == oa.Get()); in TEST_F()
[all …]
/art/runtime/
Ddebugger.cc1285 mirror::ObjectArray<mirror::Object>* oa = a->AsObjectArray<mirror::Object>(); in OutputArray() local
1287 mirror::Object* element = oa->Get(offset + i); in OutputArray()
1336 mirror::ObjectArray<mirror::Object>* oa = dst->AsObjectArray<mirror::Object>(); in SetArrayElements() local
1344 if (o != nullptr && !o->InstanceOf(oa->GetClass()->GetComponentType())) { in SetArrayElements()
1347 oa->Set<false>(offset + i, o); in SetArrayElements()