Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dobject_test.cc122 Handle<ObjectArray<Object>> oa(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F() local
123 EXPECT_EQ(2, oa->GetLength()); in TEST_F()
124 EXPECT_TRUE(oa->Get(0) == nullptr); in TEST_F()
125 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F()
126 oa->Set<false>(0, oa.Get()); in TEST_F()
127 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F()
128 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F()
129 oa->Set<false>(1, oa.Get()); in TEST_F()
130 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F()
131 EXPECT_TRUE(oa->Get(1) == oa.Get()); in TEST_F()
[all …]
/art/runtime/
Ddebugger.cc1283 ObjPtr<mirror::ObjectArray<mirror::Object>> oa = a->AsObjectArray<mirror::Object>(); in OutputArray() local
1285 ObjPtr<mirror::Object> element = oa->Get(offset + i); in OutputArray()
1334 ObjPtr<mirror::ObjectArray<mirror::Object>> oa = dst->AsObjectArray<mirror::Object>(); in SetArrayElements() local
1342 if (o != nullptr && !o->InstanceOf(oa->GetClass()->GetComponentType())) { in SetArrayElements()
1345 oa->Set<false>(offset + i, o); in SetArrayElements()