Lines Matching defs:methods

362   // Create runtime resolution and imt conflict methods. Also setup the default imt.
1913 methods(hs.NewHandle(AllocArtMethodArray(self, dex_file.NumMethodIds())));
1914 if (methods.Get() == nullptr) {
1922 dex_cache->Init(&dex_file, location.Get(), strings.Get(), types.Get(), methods.Get(),
2371 // Process methods
2394 // Although we overwrite the trampoline of non-static methods, we may get here via the resolution
2395 // method for direct methods (or virtual methods made direct).
2403 // by search for its position in the declared virtual methods.
2550 return; // No direct methods => no static methods.
2563 // There should always be class data if there were direct methods.
2575 // Link the code of methods skipped by LinkCode.
2579 // Only update static methods.
2624 // Ignore virtual methods on the iterator.
2641 // non-abstract methods also get their code pointers.
2670 // For static methods excluding the class initializer, install the trampoline.
2754 return; // no fields or methods - for example a marker interface
2813 // Load methods.
2815 // TODO: append direct methods to class object
2825 // TODO: append direct methods to class object
2908 if (klass->GetClassLoader() != nullptr) { // All non-boot finalizer methods are flagged.
3141 // It is possible to execute some methods against arrays, because
3622 // As this is a fake verified status, make sure the methods are _not_ marked preverified
3636 // Class is verified so we don't need to do any access check on its methods.
3778 jobjectArray methods, jobjectArray throws) {
3789 // Set the class access flags incl. preverified, so we do not try to set the flag on the methods.
3818 // 2. Create a static field 'throws' that holds exceptions thrown by our methods.
3847 soa.Decode<mirror::ObjectArray<mirror::ArtMethod>*>(methods)->GetLength();
3860 soa.Decode<mirror::ObjectArray<mirror::ArtMethod>*>(methods);
3879 // Link the fields and virtual methods, creating vtable and iftables
3912 soa.Decode<mirror::ObjectArray<mirror::ArtMethod>*>(methods);
4326 // Begin with the methods local to the superclass.
4419 mirror::ObjectArray<mirror::ArtMethod>* methods = new_class->GetDirectMethods();
4420 if (methods != nullptr) {
4421 for (int index = 0; index < methods->GetLength(); index ++) {
4422 if (methods->Get(index)->GetDeclaringClass() == temp_class) {
4423 methods->Get(index)->SetDeclaringClass(new_class);
4428 methods = new_class->GetVirtualMethods();
4429 if (methods != nullptr) {
4430 for (int index = 0; index < methods->GetLength(); index ++) {
4431 if (methods->Get(index)->GetDeclaringClass() == temp_class) {
4432 methods->Get(index)->SetDeclaringClass(new_class);
4551 os << " Direct methods:\n";
4557 os << " Virtual methods:\n";
4575 // methods and fields.
4789 ThrowClassFormatError(klass.Get(), "Too many methods on interface: %zd", count);
4795 } else if (!LinkVirtualMethods(self, klass)) { // Link virtual methods first.
4801 // Comparator for name and signature of a method, used in finding overriding methods. Implementation
4949 // 2. Loop through super virtual methods, if they overwrite, update hash table to j
4952 // 3. Add non overridden methods to the end of the vtable.
4965 // Add virtual methods to the hash table.
4996 // Add the non overridden methods at the end.
5010 ThrowClassFormatError(klass.Get(), "Too many methods defined on class: %zd", actual_count);
5026 ThrowClassFormatError(klass.Get(), "Too many methods: %d",
5212 // We are overwriting a super class interface, try to only virtual methods instead of the
5227 // If the added virtual methods is empty, do nothing.
5296 // TODO: If a methods move then the miranda_list may hold stale references.
5738 // change, or no such method. First try to find the method among direct and virtual methods.
5771 // methods and throw if we find the method there. If we find nothing, throw a
6002 // Non-image methods don't use direct code pointer.