Searched refs:interface (Results 1 - 14 of 14) sorted by relevance

/art/runtime/mirror/
H A Diftable-inl.h25 inline void IfTable::SetInterface(int32_t i, Class* interface) { argument
26 DCHECK(interface != nullptr);
27 DCHECK(interface->IsInterface());
30 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, Class* interface)
66 // Points to the interface class.
68 // Method pointers into the vtable, allow fast map from interface method index to concrete
H A Dclass.cc205 os << "----- " << (IsInterface() ? "interface" : "class") << " "
222 Class* interface = GetDirectInterface(self, h_this, i); local
223 if (interface == nullptr) {
226 const ClassLoader* cl = interface->GetClassLoader();
227 os << StringPrintf(" %2zd: %s (cl=%p)\n", i, PrettyClass(interface).c_str(), cl);
473 // excludes interface methods which might be found by this.
553 DCHECK(IsInterface()) << "Should only be called on a interface class";
554 // Check if we have one defined on this interface first. This includes searching copied ones to
573 // copied virtuals of this interface. Order matters, traverse in reverse topological order; most
579 // Iterate through every declared method on this interface
867 mirror::Class* interface = klass->GetDexCache()->GetResolvedType(type_idx); local
[all...]
/art/test/972-iface-super-multidex/smali-multidex/
H A Dconflictinterface.smali17 .class public abstract interface LConflictInterface;
22 # public interface ConflictInterface extends OneConflict, TwoConflict {
H A Doneconflict.smali17 .class public abstract interface LOneConflict;
20 # public interface OneConflict {
H A Dsuperinterface.smali17 .class public abstract interface LSuperInterface;
20 # public interface SuperInterface {
H A Dtwoconflict.smali17 .class public abstract interface LTwoConflict;
20 # public interface TwoConflict {
/art/test/973-default-multidex/smali-multidex/
H A Diface.smali17 .class public abstract interface LIface;
20 # public interface Iface {
30 invoke-interface {p0}, LIface;->getString()Ljava/lang/String;
32 invoke-interface {p0}, LIface;->getString()Ljava/lang/String;
/art/runtime/
H A Dproxy_test.cc54 for (mirror::Class* interface : interfaces) {
55 methods_count += interface->NumVirtualMethods();
81 for (mirror::Class* interface : interfaces) {
82 for (auto& m : interface->GetDeclaredVirtualMethods(sizeof(void*))) {
H A Dart_method.cc146 mirror::Class* interface = iftable->GetInterface(i); local
147 for (ArtMethod& interface_method : interface->GetVirtualMethods(pointer_size)) {
H A Dclass_linker.cc469 // Create array interface entries to populate once we can load system classes.
2951 return; // no fields or methods - for example a marker interface
3491 // there. Do this by clearing the interface list so the GC will just
3507 // Arrays can't be used as a superclass or interface, so we want to add "abstract final"
3508 // and remove "interface".
3896 // recursive initialization by themselves. This is because when an interface is initialized
3913 // We had a hard failure while verifying this interface. Just return immediately.
4313 // Locate the dex cache of the original interface/Object
4402 // interface prototype. The exception to this are Constructors and the Class of the Proxy itself.
4607 // We have already done this for this interface
5464 mirror::Class* interface = ResolveType(dex_file, idx, klass.Get()); local
6243 mirror::Class* interface = if_table->GetInterface(i); local
6310 mirror::Class* interface = if_table->GetInterface(i); local
6476 mirror::Class* interface = have_interfaces local
6515 mirror::Class* interface = have_interfaces ? interfaces->Get(i) : local
[all...]
H A Dclass_linker_test.cc290 mirror::Class* interface = iftable->GetInterface(i); local
291 ASSERT_TRUE(interface != nullptr);
295 EXPECT_EQ(interface->NumDeclaredVirtualMethods(), iftable->GetMethodArrayCount(i));
/art/runtime/arch/mips/
H A Dquick_entrypoints_mips.S554 * All generated callsites for interface invokes and invocation slow paths will load arguments
1670 * t0 is a hidden argument that holds the target interface method's dex method index.
1679 lw $t0, 0($t0) # Load interface method.
1687 # If the entry is null, the interface method is not in the ImtConflictTable.
/art/runtime/arch/mips64/
H A Dquick_entrypoints_mips64.S642 * All generated callsites for interface invokes and invocation slow paths will load arguments
1689 * t0 is a hidden argument that holds the target interface method's dex method index.
1698 ld $t0, 0($t0) # Load interface method.
1706 # If the entry is null, the interface method is not in the ImtConflictTable.

Completed in 172 milliseconds