Home
last modified time | relevance | path

Searched refs:iftable (Results 1 – 5 of 5) sorted by relevance

/art/runtime/mirror/
Dclass-inl.h199 IfTable* iftable = GetIfTable(); in Implements() local
201 if (iftable->GetInterface(i) == klass) { in Implements()
352 IfTable* iftable = GetIfTable(); in FindVirtualMethodForInterface() local
354 if (iftable->GetInterface(i) == declaring_class) { in FindVirtualMethodForInterface()
355 return iftable->GetMethodArray(i)->Get(method->GetMethodIndex()); in FindVirtualMethodForInterface()
388 IfTable* iftable = GetIfTable(); in GetIfTableCount() local
389 if (iftable == NULL) { in GetIfTableCount()
392 return iftable->Count(); in GetIfTableCount()
Dart_method.cc126 IfTable* iftable = GetDeclaringClass()->GetIfTable(); in FindOverriddenMethod() local
127 for (size_t i = 0; i < iftable->Count() && result == NULL; i++) { in FindOverriddenMethod()
128 Class* interface = iftable->GetInterface(i); in FindOverriddenMethod()
Dclass.cc369 IfTable* iftable = GetIfTable(); in FindInterfaceMethod() local
371 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(name, signature); in FindInterfaceMethod()
387 IfTable* iftable = GetIfTable(); in FindInterfaceMethod() local
389 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(name, signature); in FindInterfaceMethod()
405 IfTable* iftable = GetIfTable(); in FindInterfaceMethod() local
407 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(dex_cache, dex_method_idx); in FindInterfaceMethod()
/art/runtime/
Dclass_linker.cc5091 Handle<mirror::IfTable> iftable(hs.NewHandle(AllocIfTable(self, ifcount))); in LinkInterfaceMethods() local
5092 if (UNLIKELY(iftable.Get() == nullptr)) { in LinkInterfaceMethods()
5100 iftable->SetInterface(i, super_interface); in LinkInterfaceMethods()
5111 mirror::Class* existing_interface = iftable->GetInterface(j); in LinkInterfaceMethods()
5119 iftable->SetInterface(idx++, interface); in LinkInterfaceMethods()
5125 mirror::Class* existing_interface = iftable->GetInterface(k); in LinkInterfaceMethods()
5132 iftable->SetInterface(idx++, super_interface); in LinkInterfaceMethods()
5140 iftable.Assign(down_cast<mirror::IfTable*>(iftable->CopyOf(self, idx * mirror::IfTable::kMax))); in LinkInterfaceMethods()
5141 if (UNLIKELY(iftable.Get() == nullptr)) { in LinkInterfaceMethods()
5149 klass->SetIfTable(iftable.Get()); in LinkInterfaceMethods()
[all …]
Dclass_linker_test.cc224 mirror::IfTable* iftable = klass->GetIfTable(); in AssertClass() local
226 mirror::Class* interface = iftable->GetInterface(i); in AssertClass()
229 EXPECT_EQ(0U, iftable->GetMethodArrayCount(i)); in AssertClass()
231 EXPECT_EQ(interface->NumVirtualMethods(), iftable->GetMethodArrayCount(i)); in AssertClass()