Lines Matching refs:ArtMethod

464       os << StringPrintf("    %2zd: %s\n", i, ArtMethod::PrettyMethod(  in DumpClass()
469 os << StringPrintf(" %2zd: %s\n", i, ArtMethod::PrettyMethod( in DumpClass()
558 static inline ArtMethod* FindInterfaceMethodWithSignature(ObjPtr<Class> klass, in FindInterfaceMethodWithSignature()
569 for (ArtMethod& method : klass->GetDeclaredMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature()
581 for (ArtMethod& method : iface->GetVirtualMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature()
592 for (ArtMethod& method : object_class->GetDeclaredMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature()
602 ArtMethod* Class::FindInterfaceMethod(std::string_view name, in FindInterfaceMethod()
608 ArtMethod* Class::FindInterfaceMethod(std::string_view name, in FindInterfaceMethod()
614 ArtMethod* Class::FindInterfaceMethod(ObjPtr<DexCache> dex_cache, in FindInterfaceMethod()
639 ArtMethod& method) in IsInheritedMethod()
660 static inline ArtMethod* FindClassMethodWithSignature(ObjPtr<Class> this_klass, in FindClassMethodWithSignature()
666 for (ArtMethod& method : this_klass->GetDeclaredMethodsSlice(pointer_size)) { in FindClassMethodWithSignature()
667 ArtMethod* np_method = method.GetInterfaceMethodIfProxy(pointer_size); in FindClassMethodWithSignature()
677 ArtMethod* uninherited_method = nullptr; in FindClassMethodWithSignature()
680 for (ArtMethod& method : klass->GetDeclaredMethodsSlice(pointer_size)) { in FindClassMethodWithSignature()
705 for (ArtMethod& method : klass->GetCopiedMethodsSlice(pointer_size)) { in FindClassMethodWithSignature()
715 ArtMethod* Class::FindClassMethod(std::string_view name, in FindClassMethod()
721 ArtMethod* Class::FindClassMethod(std::string_view name, in FindClassMethod()
727 ArtMethod* Class::FindClassMethod(ObjPtr<DexCache> dex_cache, in FindClassMethod()
738 for (ArtMethod& method : GetDeclaredMethodsSlice(pointer_size)) { in FindClassMethod()
755 for (ArtMethod& method : GetDeclaredMethodsSlice(pointer_size)) { in FindClassMethod()
768 ArtMethod* uninherited_method = nullptr; in FindClassMethod()
771 ArtMethod* candidate_method = nullptr; in FindClassMethod()
772 ArraySlice<ArtMethod> declared_methods = klass->GetDeclaredMethodsSlice(pointer_size); in FindClassMethod()
776 for (ArtMethod& method : declared_methods) { in FindClassMethod()
788 for (ArtMethod& method : declared_methods) { in FindClassMethod()
812 ArraySlice<ArtMethod> copied_methods = klass->GetCopiedMethodsSlice(pointer_size); in FindClassMethod()
816 for (ArtMethod& method : copied_methods) { in FindClassMethod()
825 ArtMethod* Class::FindConstructor(std::string_view signature, PointerSize pointer_size) { in FindConstructor()
829 for (ArtMethod& method : GetDirectMethodsSliceUnchecked(pointer_size)) { in FindConstructor()
837 ArtMethod* Class::FindDeclaredDirectMethodByName(std::string_view name, PointerSize pointer_size) { in FindDeclaredDirectMethodByName()
839 ArtMethod* const np_method = method.GetInterfaceMethodIfProxy(pointer_size); in FindDeclaredDirectMethodByName()
847 ArtMethod* Class::FindDeclaredVirtualMethodByName(std::string_view name, PointerSize pointer_size) { in FindDeclaredVirtualMethodByName()
849 ArtMethod* const np_method = method.GetInterfaceMethodIfProxy(pointer_size); in FindDeclaredVirtualMethodByName()
857 ArtMethod* Class::FindVirtualMethodForInterfaceSuper(ArtMethod* method, PointerSize pointer_size) { in FindVirtualMethodForInterfaceSuper()
863 for (ArtMethod& iface_method : GetVirtualMethods(pointer_size)) { in FindVirtualMethodForInterfaceSuper()
869 std::vector<ArtMethod*> abstract_methods; in FindVirtualMethodForInterfaceSuper()
888 ArtMethod* current_method = &method_iter; in FindVirtualMethodForInterfaceSuper()
897 for (ArtMethod* possible_override : abstract_methods) { in FindVirtualMethodForInterfaceSuper()
922 ArtMethod* Class::FindClassInitializer(PointerSize pointer_size) { in FindClassInitializer()
923 for (ArtMethod& method : GetDirectMethods(pointer_size)) { in FindClassInitializer()
1282 SetEmbeddedVTableEntry(i, table->GetElementPtrSize<ArtMethod*>(i, pointer_size), pointer_size); in PopulateEmbeddedVTable()
1388 ArtMethod* Class::GetDeclaredConstructor( in GetDeclaredConstructor()
1421 static bool IsMethodPreferredOver(ArtMethod* orig_method, in IsMethodPreferredOver()
1423 ArtMethod* new_method, in IsMethodPreferredOver()
1473 ArtMethod* result = nullptr; in GetDeclaredMethodInternal()
1565 ArtMethod* result = klass->GetDeclaredConstructor(self, hs.NewHandle(args), kPointerSize); in GetDeclaredConstructorInternal()
1774 size_t Class::GetMethodIdOffset(ArtMethod* method, PointerSize pointer_size) { in GetMethodIdOffset()
1780 for (ArtMethod& m : GetMethodsSlice(kRuntimePointerSize)) { in GetMethodIdOffset()
1788 size_t art_method_size = ArtMethod::Size(pointer_size); in GetMethodIdOffset()
1789 size_t art_method_align = ArtMethod::Alignment(pointer_size); in GetMethodIdOffset()