Lines Matching refs:iface

1166             << klass->PrettyDescriptor() << " iface #" << i;
4060 MutableHandle<mirror::Class> iface(hs.NewHandle<mirror::Class>(nullptr));
4063 iface.Assign(klass->GetIfTable()->GetInterface(i));
4064 DCHECK(iface != nullptr);
4066 if (LIKELY(!iface->HasDefaultMethods() || iface->IsVerified())) {
4068 } else if (UNLIKELY(!AttemptSupertypeVerification(self, klass, iface))) {
4072 } else if (UNLIKELY(!iface->IsVerified())) {
4073 // We softly failed to verify the iface. Stop checking and clean up.
4074 // Put the iface into the supertype handle so we know what caused us to fail.
4075 supertype.Assign(iface.Get());
4565 ObjPtr<mirror::Class> iface = klass->GetIfTable()->GetInterface(i);
4566 if (iface->HasDefaultMethods() &&
4567 !CanWeInitializeClass(iface, can_init_statics, can_init_parents)) {
4730 CHECK(handle_scope_iface != nullptr) << klass->PrettyDescriptor() << " iface #" << i;
4854 Handle<mirror::Class> iface,
4857 CHECK(iface->IsInterface());
4858 size_t num_direct_ifaces = iface->NumDirectInterfaces();
4863 // First we initialize all of iface's super-interfaces recursively.
4865 ObjPtr<mirror::Class> super_iface = mirror::Class::GetDirectInterface(self, iface.Get(), i);
4866 CHECK(super_iface != nullptr) << iface->PrettyDescriptor() << " iface #" << i;
4881 // Then we initialize 'iface' if it has default methods. We do not need to (and in fact must not)
4883 if (iface->HasDefaultMethods()) {
4884 result = EnsureInitialized(self, iface, can_init_statics, can_init_parents);
4892 ObjectLock<mirror::Class> lock(self, iface);
4893 iface->SetRecursivelyInitialized();
6058 // Determine if the given iface has any subinterface in the given list that declares the method
6066 // - iface: The interface we are checking to see if anything overrides.
6072 // is a subtype of iface.
6074 // of iface.
6079 Handle<mirror::Class> iface,
6083 DCHECK(iface != nullptr);
6087 DCHECK_EQ(iface.Get(), iftable->GetInterface(ifstart));
6088 DCHECK(iface->IsInterface());
6101 if (iface->IsAssignableFrom(current_iface.Get())) {
6142 MutableHandle<mirror::Class> iface(hs.NewHandle<mirror::Class>(nullptr));
6151 iface.Assign(iftable->GetInterface(k));
6153 for (auto& method_iter : iface->GetDeclaredVirtualMethods(image_pointer_size_)) {
6174 if (!iface->IsAssignableFrom(chosen_iface.Get()) &&
6179 iface,
6196 iface,
6203 chosen_iface.Assign(iface.Get());
6559 ObjPtr<mirror::Class> iface = iftable->GetInterface(i);
6560 DCHECK(NotSubinterfaceOfAny(classes_in_iftable, iface)) << "Bad ordering.";
6561 classes_in_iftable.insert(iface);
6565 // Let us call the first filled_ifcount elements of iftable the current-iface-list.
6566 // At this point in the loop current-iface-list has the invariant that:
6571 // current-iface-list so we can skip adding it.
6574 // current-iface-list, skipping those already on it.
6586 // Place this interface onto the current-iface-list after all of its super-interfaces.