/art/test/2009-structural-local-ref/ |
D | local-ref.cc | 39 jmethodID new_method = in Java_art_Test2009_NativeLocalCallStatic() local 44 return reinterpret_cast<jstring>(env->CallStaticObjectMethod(obj_klass, new_method)); in Java_art_Test2009_NativeLocalCallStatic() 53 jmethodID new_method = env->GetMethodID(obj_klass, "getGreeting", "()Ljava/lang/String;"); in Java_art_Test2009_NativeLocalCallVirtual() local 57 return reinterpret_cast<jstring>(env->CallObjectMethod(obj, new_method)); in Java_art_Test2009_NativeLocalCallVirtual()
|
/art/runtime/ |
D | runtime_callbacks.cc | 324 /*out*/void** new_method) { in RegisterNativeMethod() argument 326 *new_method = cur_method; in RegisterNativeMethod() 328 cb->RegisterNativeMethod(method, cur_method, new_method); in RegisterNativeMethod() 329 if (*new_method != nullptr) { in RegisterNativeMethod() 330 cur_method = *new_method; in RegisterNativeMethod()
|
D | class_linker.cc | 7972 ArtMethod& new_method = *out; in ReallocMethods() local 7973 new_method.CopyFrom(mir_method, pointer_size); in ReallocMethods() 7974 new_method.SetAccessFlags(new_method.GetAccessFlags() | kAccMiranda | kAccCopied); in ReallocMethods() 7975 DCHECK_NE(new_method.GetAccessFlags() & kAccAbstract, 0u) in ReallocMethods() 7977 move_table_.emplace(mir_method, &new_method); in ReallocMethods() 7982 miranda_methods_[i] = &new_method; in ReallocMethods() 7995 ArtMethod& new_method = *out; in ReallocMethods() local 7996 new_method.CopyFrom(def_method, pointer_size); in ReallocMethods() 8001 DCHECK_EQ(new_method.GetAccessFlags() & kAccNative, 0u); in ReallocMethods() 8004 new_method.SetAccessFlags((new_method.GetAccessFlags() | kSetFlags) & kMaskFlags); in ReallocMethods() [all …]
|
D | class_linker.h | 1163 static MethodTranslation CreateTranslatedMethod(ArtMethod* new_method) { in CreateTranslatedMethod() argument 1164 return MethodTranslation(Type::kTranslation, new_method); in CreateTranslatedMethod()
|
/art/openjdkjvmti/ |
D | events-inl.h | 517 void** new_method) const { 525 new_method); 526 *new_method = cur_method; 528 *new_method = cur_method; 534 new_method); 535 if (*new_method != nullptr) { 536 cur_method = *new_method; 539 *new_method = cur_method;
|
D | ti_redefine.cc | 961 for (const art::ClassAccessor::Method& new_method : accessor.GetMethods()) { in CheckMethods() local 963 MethodNameAndSignature new_method_id(dex_file_.get(), new_method.GetIndex()); in CheckMethods() 970 if (!new_method.IsStaticOrDirect()) { in CheckMethods() 982 } else if (new_method.GetAccessFlags() != old_iter->GetAccessFlags()) { in CheckMethods() 2809 art::ArtMethod* new_method = in UpdateClassStructurally() local 2811 DCHECK(new_class->GetMethodsSlice(art::kRuntimePointerSize).Contains(new_method)) in UpdateClassStructurally() 2813 DCHECK(new_method->IsNative()); in UpdateClassStructurally() 2814 new_method->SetEntryPointFromJni(m.GetEntryPointFromJni()); in UpdateClassStructurally()
|
D | ti_method.cc | 89 /*out*/void** new_method) in RegisterNativeMethod() 105 new_method); in RegisterNativeMethod()
|
/art/runtime/jni/ |
D | jni_id_manager.cc | 475 ArtMethod* new_method = in VisitReflectiveTargets() local 477 if (old_method != new_method) { in VisitReflectiveTargets() 478 *it = new_method; in VisitReflectiveTargets() 480 ObjPtr<mirror::Class> new_class(new_method->GetDeclaringClass()); in VisitReflectiveTargets() 495 size_t new_off = ArraySlice<ArtMethod>(new_class->GetMethodsPtr()).OffsetOf(new_method); in VisitReflectiveTargets()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 198 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument 199 std::replace(methods_.begin(), methods_.end(), old_method, new_method); in MoveObsoleteMethod() 888 void JitCodeCache::MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument 894 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod() 906 new_method->SetProfilingInfo(info); in MoveObsoleteMethod() 909 info->method_ = new_method; in MoveObsoleteMethod() 914 it.second = new_method; in MoveObsoleteMethod() 920 osr_code_map_.Put(new_method, code_map->second); in MoveObsoleteMethod()
|
D | jit.cc | 1131 ArtMethod* new_method = reinterpret_cast<ArtMethod*>( in MapBootImageMethods() local 1133 const void* code = new_method->GetEntryPointFromQuickCompiledCode(); in MapBootImageMethods() 1138 new_method->SetEntryPointFromQuickCompiledCode(GetQuickResolutionStub()); in MapBootImageMethods()
|
D | jit_code_cache.h | 362 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method)
|
/art/compiler/optimizing/ |
D | inliner.cc | 1207 ArtMethod* new_method = nullptr; in TryInlinePolymorphicCallToSameTarget() local 1209 new_method = classes->Get(i)->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget() 1211 if (new_method->IsRuntimeMethod()) { in TryInlinePolymorphicCallToSameTarget() 1218 new_method = classes->Get(i)->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget() 1220 DCHECK(new_method != nullptr); in TryInlinePolymorphicCallToSameTarget() 1222 actual_method = new_method; in TryInlinePolymorphicCallToSameTarget() 1223 } else if (actual_method != new_method) { in TryInlinePolymorphicCallToSameTarget()
|
/art/runtime/mirror/ |
D | class.cc | 1423 ArtMethod* new_method, in IsMethodPreferredOver() argument 1425 DCHECK(new_method != nullptr); in IsMethodPreferredOver() 1440 DCHECK(!orig_method->IsDirect() || new_method->IsDirect()); in IsMethodPreferredOver() 1443 if (orig_method->IsSynthetic() && !new_method->IsSynthetic()) { in IsMethodPreferredOver()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 708 jmethodID new_method = env_->GetMethodID(concrete_class_, "<init>", "()V"); in TestCalls() local 709 jobject obj = env_->NewObject(concrete_class_, new_method); in TestCalls()
|