Lines Matching refs:resolved

5620   mirror::String* resolved = dex_cache->GetResolvedString(string_idx);  in ResolveString()  local
5621 if (resolved != nullptr) { in ResolveString()
5622 return resolved; in ResolveString()
5643 mirror::Class* resolved = dex_cache->GetResolvedType(type_idx); in ResolveType() local
5644 if (resolved == nullptr) { in ResolveType()
5647 resolved = FindClass(self, descriptor, class_loader); in ResolveType()
5648 if (resolved != nullptr) { in ResolveType()
5652 dex_cache->SetResolvedType(type_idx, resolved); in ResolveType()
5660 DCHECK(resolved == nullptr); // No Handle needed to preserve resolved. in ResolveType()
5667 DCHECK((resolved == nullptr) || resolved->IsResolved() || resolved->IsErroneous()) in ResolveType()
5668 << PrettyDescriptor(resolved) << " " << resolved->GetStatus(); in ResolveType()
5669 return resolved; in ResolveType()
5679 mirror::ArtMethod* resolved = dex_cache->GetResolvedMethod(method_idx); in ResolveMethod() local
5680 if (resolved != nullptr && !resolved->IsRuntimeMethod()) { in ResolveMethod()
5681 return resolved; in ResolveMethod()
5695 resolved = klass->FindDirectMethod(dex_cache.Get(), method_idx); in ResolveMethod()
5698 resolved = klass->FindInterfaceMethod(dex_cache.Get(), method_idx); in ResolveMethod()
5699 DCHECK(resolved == nullptr || resolved->GetDeclaringClass()->IsInterface()); in ResolveMethod()
5703 resolved = klass->FindVirtualMethod(dex_cache.Get(), method_idx); in ResolveMethod()
5708 if (resolved == nullptr) { in ResolveMethod()
5715 resolved = klass->FindDirectMethod(name, signature); in ResolveMethod()
5718 resolved = klass->FindInterfaceMethod(name, signature); in ResolveMethod()
5719 DCHECK(resolved == nullptr || resolved->GetDeclaringClass()->IsInterface()); in ResolveMethod()
5723 resolved = klass->FindVirtualMethod(name, signature); in ResolveMethod()
5728 if (LIKELY(resolved != nullptr && !resolved->CheckIncompatibleClassChange(type))) { in ResolveMethod()
5730 dex_cache->SetResolvedMethod(method_idx, resolved); in ResolveMethod()
5731 return resolved; in ResolveMethod()
5734 if (resolved != nullptr) { in ResolveMethod()
5735 ThrowIncompatibleClassChangeError(type, resolved->GetInvokeType(), resolved, referrer.Get()); in ResolveMethod()
5744 resolved = klass->FindVirtualMethod(name, signature); in ResolveMethod()
5751 resolved = klass->FindDirectMethod(name, signature); in ResolveMethod()
5756 if (resolved != nullptr && referrer.Get() != nullptr) { in ResolveMethod()
5757 mirror::Class* methods_class = resolved->GetDeclaringClass(); in ResolveMethod()
5761 resolved, type); in ResolveMethod()
5764 resolved->GetAccessFlags())) { in ResolveMethod()
5765 ThrowIllegalAccessErrorMethod(referring_class, resolved); in ResolveMethod()
5776 if (resolved != nullptr) { in ResolveMethod()
5777 ThrowIncompatibleClassChangeError(type, kVirtual, resolved, referrer.Get()); in ResolveMethod()
5779 resolved = klass->FindInterfaceMethod(name, signature); in ResolveMethod()
5780 if (resolved != nullptr) { in ResolveMethod()
5781 ThrowIncompatibleClassChangeError(type, kInterface, resolved, referrer.Get()); in ResolveMethod()
5788 if (resolved != nullptr) { in ResolveMethod()
5789 ThrowIncompatibleClassChangeError(type, kDirect, resolved, referrer.Get()); in ResolveMethod()
5791 resolved = klass->FindVirtualMethod(name, signature); in ResolveMethod()
5792 if (resolved != nullptr) { in ResolveMethod()
5793 ThrowIncompatibleClassChangeError(type, kVirtual, resolved, referrer.Get()); in ResolveMethod()
5800 if (resolved != nullptr) { in ResolveMethod()
5801 ThrowIncompatibleClassChangeError(type, kDirect, resolved, referrer.Get()); in ResolveMethod()
5807 if (resolved != nullptr) { in ResolveMethod()
5808 ThrowIncompatibleClassChangeError(type, kDirect, resolved, referrer.Get()); in ResolveMethod()
5810 resolved = klass->FindInterfaceMethod(name, signature); in ResolveMethod()
5811 if (resolved != nullptr) { in ResolveMethod()
5812 ThrowIncompatibleClassChangeError(type, kInterface, resolved, referrer.Get()); in ResolveMethod()
5830 mirror::ArtField* resolved = dex_cache->GetResolvedField(field_idx); in ResolveField() local
5831 if (resolved != nullptr) { in ResolveField()
5832 return resolved; in ResolveField()
5845 resolved = mirror::Class::FindStaticField(self, klass, dex_cache.Get(), field_idx); in ResolveField()
5847 resolved = klass->FindInstanceField(dex_cache.Get(), field_idx); in ResolveField()
5850 if (resolved == nullptr) { in ResolveField()
5854 resolved = mirror::Class::FindStaticField(self, klass, name, type); in ResolveField()
5856 resolved = klass->FindInstanceField(name, type); in ResolveField()
5858 if (resolved == nullptr) { in ResolveField()
5863 dex_cache->SetResolvedField(field_idx, resolved); in ResolveField()
5864 return resolved; in ResolveField()
5872 mirror::ArtField* resolved = dex_cache->GetResolvedField(field_idx); in ResolveFieldJLS() local
5873 if (resolved != nullptr) { in ResolveFieldJLS()
5874 return resolved; in ResolveFieldJLS()
5889 resolved = mirror::Class::FindField(self, klass, name, type); in ResolveFieldJLS()
5890 if (resolved != nullptr) { in ResolveFieldJLS()
5891 dex_cache->SetResolvedField(field_idx, resolved); in ResolveFieldJLS()
5895 return resolved; in ResolveFieldJLS()