• Home
  • Raw
  • Download

Lines Matching full:method

161 inline Span<Method> Class::GetMethods() const  in GetMethods()
178 inline Method *Class::FindDirectMethod(Pred pred) const in FindDirectMethod()
189 inline Method *Class::FindClassMethod(Pred pred) const in FindClassMethod()
193 auto *method = cls->FindDirectMethod<filter>(pred); in FindClassMethod() local
194 if (method != nullptr) { in FindClassMethod()
195 return method; in FindClassMethod()
209 inline Method *Class::FindInterfaceMethod(Pred pred) const in FindInterfaceMethod()
214 auto *method = FindDirectMethod<filter>(pred); in FindInterfaceMethod() local
215 if (method != nullptr) { in FindInterfaceMethod()
216 return method; in FindInterfaceMethod()
226 auto *method = iface->FindDirectMethod<FindFilter::INSTANCE>(pred); in FindInterfaceMethod() local
227 if (method != nullptr) { in FindInterfaceMethod()
228 return method; in FindInterfaceMethod()
234 [&pred](const Method &method) { return method.IsPublic() && pred(method); }); in FindInterfaceMethod()
241 inline Method *Class::FindInterfaceMethod(Pred pred) const in FindInterfaceMethod()
247 inline Method *Class::FindVirtualInterfaceMethod(Pred pred) const in FindVirtualInterfaceMethod()
253 inline Method *Class::FindStaticInterfaceMethod(Pred pred) const in FindStaticInterfaceMethod()
301 inline Method *Class::FindVirtualClassMethod(Pred pred) const in FindVirtualClassMethod()
307 inline Method *Class::FindStaticClassMethod(Pred pred) const in FindStaticClassMethod()
313 inline Method *Class::FindClassMethod(Pred pred) const in FindClassMethod()
318 inline Method *Class::GetDirectMethod(const uint8_t *mutf8_name, const Method::Proto &proto) const in GetDirectMethod()
322 …[sd, proto](const Method &method) { return method.GetName() == sd && method.GetProto() == proto; }… in GetDirectMethod()
325 inline Method *Class::GetClassMethod(const uint8_t *mutf8_name, const Method::Proto &proto) const in GetClassMethod()
329 …[sd, proto](const Method &method) { return method.GetName() == sd && method.GetProto() == proto; }… in GetClassMethod()
332 inline Method *Class::GetInterfaceMethod(const uint8_t *mutf8_name, const Method::Proto &proto) con… in GetInterfaceMethod()
336 …[sd, proto](const Method &method) { return method.GetName() == sd && method.GetProto() == proto; }… in GetInterfaceMethod()
339 inline Method *Class::GetDirectMethod(const uint8_t *mutf8_name) const in GetDirectMethod()
342 …return FindDirectMethod<FindFilter::ALL>([sd](const Method &method) { return method.GetName() == s… in GetDirectMethod()
345 inline Method *Class::GetClassMethod(const uint8_t *mutf8_name) const in GetClassMethod()
348 return FindClassMethod([sd](const Method &method) { return method.GetName() == sd; }); in GetClassMethod()
351 inline Method *Class::ResolveVirtualMethod(const Method *method) const in ResolveVirtualMethod() argument
353 Method *resolved = nullptr; in ResolveVirtualMethod()
357 if (method->GetClass()->IsInterface() && !method->IsDefaultInterfaceMethod()) { in ResolveVirtualMethod()
358 // find method in imtable in ResolveVirtualMethod()
362 auto method_id = GetIMTableIndex(method->GetFileId().GetOffset()); in ResolveVirtualMethod()
369 // find method in itable in ResolveVirtualMethod()
370 auto *iface = method->GetClass(); in ResolveVirtualMethod()
378 resolved = entry.GetMethods()[method->GetVTableIndex()]; in ResolveVirtualMethod()
381 // find method in vtable in ResolveVirtualMethod()
383 ASSERT(method->GetVTableIndex() < vtable.size()); in ResolveVirtualMethod()
384 resolved = vtable[method->GetVTableIndex()]; in ResolveVirtualMethod()