Lines Matching defs:method
66 // Compile the native method before starting the runtime
69 ArtMethod* method = direct ? c->FindDirectMethod(method_name, method_sig, pointer_size) :
71 ASSERT_TRUE(method != nullptr) << method_name << " " << method_sig;
73 method->SetEntryPointFromQuickCompiledCode(class_linker_->GetRuntimeQuickGenericJniStub());
75 const void* code = method->GetEntryPointFromQuickCompiledCode();
77 CompileMethod(method);
78 ASSERT_TRUE(method->GetEntryPointFromQuickCompiledCode() != nullptr)
86 // Initialize class loader and compile method when runtime not started.
724 // Check a single call of a JNI method is ok
734 // Call Java_MyClassNatives_throwException (JNI method that throws exception)
742 // Check a single call of a JNI method is ok
824 // 1000 invocations of a method that adds 10 local references
935 // This native method is bad, and tries to return a jstring as a jclass.
939 // Here, we just call the method incorrectly; we should catch that too.
943 check_jni_abort_catcher.Check("calling non-static method java.lang.Class MyClassNatives.instanceMethodThatShouldReturnClass() with CallStaticObjectMethodV");
953 // This native method is bad, and tries to return a jstring as a jclass.
957 // Here, we just call the method incorrectly; we should catch that too.
961 check_jni_abort_catcher.Check("calling static method java.lang.Class MyClassNatives.staticMethodThatShouldReturnClass() with CallObjectMethodV");