Searched defs:interface (Results 1 - 9 of 9) sorted by relevance

/art/runtime/mirror/
H A Diftable-inl.h26 inline void IfTable::SetInterface(int32_t i, ObjPtr<Class> interface) { argument
27 DCHECK(interface != nullptr);
28 DCHECK(interface->IsInterface());
31 SetWithoutChecks<false>(idx, interface);
H A Diftable.h29 Class* interface = GetWithoutChecks((i * kMax) + kInterface)->AsClass(); local
30 DCHECK(interface != nullptr);
31 return interface;
34 ALWAYS_INLINE void SetInterface(int32_t i, ObjPtr<Class> interface)
61 // Points to the interface class.
63 // Method pointers into the vtable, allow fast map from interface method index to concrete
H A Dclass.cc266 os << "----- " << (IsInterface() ? "interface" : "class") << " "
283 ObjPtr<Class> interface = GetDirectInterface(self, h_this.Get(), i); local
284 if (interface == nullptr) {
287 ObjPtr<ClassLoader> cl = interface->GetClassLoader();
288 os << StringPrintf(" %2zd: %s (cl=%p)\n", i, PrettyClass(interface).c_str(), cl.Ptr());
546 // excludes interface methods which might be found by this.
633 DCHECK(IsInterface()) << "Should only be called on a interface class";
634 // Check if we have one defined on this interface first. This includes searching copied ones to
653 // copied virtuals of this interface. Order matters, traverse in reverse topological order; most
659 // Iterate through every declared method on this interface
819 ObjPtr<Class> interface = GetDirectInterface(self, k, i); local
845 ObjPtr<Class> interface = GetDirectInterface(self, k, i); local
873 ObjPtr<Class> interface = GetDirectInterface(self, k, i); local
936 ObjPtr<Class> interface; local
951 ObjPtr<Class> interface = ClassLinker::LookupResolvedType( local
958 ObjPtr<Class> interface = GetDirectInterface(self, klass.Get(), idx); local
[all...]
/art/runtime/
H A Dcha.cc225 // If virtual_method doesn't come from a default interface method, it should
381 // interface_method. Invoking the interface method on the class will throw
502 mirror::Class* interface = iftable->GetInterface(i); local
504 ArtMethod* interface_method = interface->GetVirtualMethod(j, image_pointer_size);
H A Dart_method.cc210 mirror::Class* interface = iftable->GetInterface(i); local
211 for (ArtMethod& interface_method : interface->GetVirtualMethods(pointer_size)) {
H A Dclass_linker_test.cc301 mirror::Class* interface = iftable->GetInterface(i); local
302 ASSERT_TRUE(interface != nullptr);
306 EXPECT_EQ(interface->NumDeclaredVirtualMethods(), iftable->GetMethodArrayCount(i));
H A Ddebugger.cc1588 ObjPtr<mirror::Class> interface = mirror::Class::GetDirectInterface(self, c, i); local
1589 DCHECK(interface != nullptr);
1590 expandBufAddRefTypeId(pReply, gRegistry->AddRefType(interface));
H A Dclass_linker.cc508 // Create array interface entries to populate once we can load system classes.
3125 return; // no fields or methods - for example a marker interface
3727 // there. Do this by clearing the interface list so the GC will just
3743 // Arrays can't be used as a superclass or interface, so we want to add "abstract final"
3744 // and remove "interface".
4052 // recursive initialization by themselves. This is because when an interface is initialized
4069 // We had a hard failure while verifying this interface. Just return immediately.
4529 // interface prototype. The exception to this are Constructors and the Class of the Proxy itself.
4733 // We have already done this for this interface. Skip it.
4737 // interfaces with default methods are initialized. Non-default interface initializatio
5602 ObjPtr<mirror::Class> interface = ResolveType(dex_file, idx, klass.Get()); local
6417 ObjPtr<mirror::Class> interface = if_table->GetInterface(i); local
6484 ObjPtr<mirror::Class> interface = if_table->GetInterface(i); local
6654 ObjPtr<mirror::Class> interface = have_interfaces local
6693 ObjPtr<mirror::Class> interface = have_interfaces ? interfaces->Get(i) : local
[all...]
/art/compiler/driver/
H A Dcompiler_driver.cc133 "virtual/interface calls made direct based on type information");
235 // Type based devirtualization for invoke interface and virtual.
831 // empty class, probably a marker interface
1189 ObjPtr<mirror::Class> interface = mirror::Class::GetDirectInterface(self, klass, i); local
1190 DCHECK(interface != nullptr);
1191 MaybeAddToImageClasses(self, interface, image_classes);
1683 // Empty class such as a marker interface.
1753 // Empty class such as a marker interface.
2585 // empty class, probably a marker interface

Completed in 2535 milliseconds