Lines Matching refs:jobj_
127 jobj_ = env_->NewObject(jklass_, constructor); in SetUpForTest()
128 ASSERT_TRUE(jobj_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
133 static jobject jobj_; member in art::JniCompilerTest
185 jobject JniCompilerTest::jobj_; member in art::JniCompilerTest
216 env_->CallNonvirtualVoidMethod(jobj_, jklass_, jmethod_); in CompileAndRunNoArgMethodImpl()
218 env_->CallNonvirtualVoidMethod(jobj_, jklass_, jmethod_); in CompileAndRunNoArgMethodImpl()
235 jint result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 24); in JNI_TEST()
274 jint result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 42); in CompileAndRunIntMethodImpl()
277 result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 0xCAFED00D); in CompileAndRunIntMethodImpl()
304 jint result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 99, 10); in CompileAndRunIntIntMethodImpl()
307 result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 0xCAFEBABE, in CompileAndRunIntIntMethodImpl()
337 jlong result = env_->CallNonvirtualLongMethod(jobj_, jklass_, jmethod_, a, b); in CompileAndRunLongLongMethodImpl()
340 result = env_->CallNonvirtualLongMethod(jobj_, jklass_, jmethod_, b, a); in CompileAndRunLongLongMethodImpl()
367 jdouble result = env_->CallNonvirtualDoubleMethod(jobj_, jklass_, jmethod_, in CompileAndRunDoubleDoubleMethodImpl()
373 result = env_->CallNonvirtualDoubleMethod(jobj_, jklass_, jmethod_, a, b); in CompileAndRunDoubleDoubleMethodImpl()
400 jlong result = env_->CallNonvirtualLongMethod(jobj_, jklass_, jmethod_, a, b); in CompileAndRun_fooJJ_synchronizedImpl()
438 jobject result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, 0, nullptr, nullptr); in CompileAndRunIntObjectObjectMethodImpl()
439 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunIntObjectObjectMethodImpl()
442 result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, 0, nullptr, jklass_); in CompileAndRunIntObjectObjectMethodImpl()
443 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunIntObjectObjectMethodImpl()
445 result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, 1, nullptr, jklass_); in CompileAndRunIntObjectObjectMethodImpl()
448 result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, 2, nullptr, jklass_); in CompileAndRunIntObjectObjectMethodImpl()
452 result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, 0, jklass_, nullptr); in CompileAndRunIntObjectObjectMethodImpl()
453 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunIntObjectObjectMethodImpl()
455 result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, 1, jklass_, nullptr); in CompileAndRunIntObjectObjectMethodImpl()
458 result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, 2, jklass_, nullptr); in CompileAndRunIntObjectObjectMethodImpl()
473 EXPECT_TRUE(env->IsInstanceOf(JniCompilerTest::jobj_, klass)); in Java_MyClassNatives_fooSII()
500 EXPECT_TRUE(env->IsInstanceOf(JniCompilerTest::jobj_, klass)); in Java_MyClassNatives_fooSDD()
603 EXPECT_TRUE(env->IsInstanceOf(JniCompilerTest::jobj_, klass)); in Java_MyClassNatives_fooSIOO()
630 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 0, nullptr, jobj_); in CompileAndRunStaticIntObjectObjectMethodImpl()
633 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 1, nullptr, jobj_); in CompileAndRunStaticIntObjectObjectMethodImpl()
636 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 2, nullptr, jobj_); in CompileAndRunStaticIntObjectObjectMethodImpl()
637 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunStaticIntObjectObjectMethodImpl()
640 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 0, jobj_, nullptr); in CompileAndRunStaticIntObjectObjectMethodImpl()
643 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 1, jobj_, nullptr); in CompileAndRunStaticIntObjectObjectMethodImpl()
644 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunStaticIntObjectObjectMethodImpl()
646 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 2, jobj_, nullptr); in CompileAndRunStaticIntObjectObjectMethodImpl()
661 EXPECT_TRUE(env->IsInstanceOf(JniCompilerTest::jobj_, klass)); in Java_MyClassNatives_fooSSIOO()
687 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 0, nullptr, jobj_); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
690 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 1, nullptr, jobj_); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
693 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 2, nullptr, jobj_); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
694 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
697 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 0, jobj_, nullptr); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
700 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 1, jobj_, nullptr); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
701 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
703 result = env_->CallStaticObjectMethod(jklass_, jmethod_, 2, jobj_, nullptr); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
737 env_->CallNonvirtualVoidMethod(jobj_, jklass_, jmethod_); in ExceptionHandlingImpl()
746 env_->CallNonvirtualVoidMethod(jobj_, jklass_, jmethod_); in ExceptionHandlingImpl()
755 env_->CallNonvirtualVoidMethod(jobj_, jklass_, jmethod_); in ExceptionHandlingImpl()
804 jint result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 10); in NativeStackTraceElementImpl()
817 jobject result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, jobj_); in ReturnGlobalRefImpl()
819 EXPECT_TRUE(env_->IsSameObject(result, jobj_)); in ReturnGlobalRefImpl()
837 jint result = env_->CallIntMethod(jobj_, jmethod_, i); in LocalReferenceTableClearingTestImpl()
847 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, src)); in JNI_TEST()
856 env_->CallStaticVoidMethod(jklass_, jmethod_, jobj_, 1234, jklass_, 5678, 9876); in JavaLangSystemArrayCopyImpl()
862 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, unsafe)); in JNI_TEST()
863 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj)); in JNI_TEST()
873 jboolean result = env_->CallBooleanMethod(jobj_, jmethod_, jobj_, INT64_C(0x12345678ABCDEF88), in CompareAndSwapIntImpl()
881 EXPECT_TRUE(env->IsInstanceOf(JniCompilerTest::jobj_, klass)); in JNI_TEST()
882 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj1)); in JNI_TEST()
883 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj2)); in JNI_TEST()
892 jint result = env_->CallStaticIntMethod(jklass_, jmethod_, 0x12345678ABCDEF88ll, jobj_, in GetTextImpl()
893 INT64_C(0x7FEDCBA987654321), jobj_); in GetTextImpl()
922 env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, nullptr)); in GetSinkPropertiesNativeImpl()
947 env_->CallObjectMethod(jobj_, jmethod_); in UpcallReturnTypeChecking_InstanceImpl()
951 env_->CallObjectMethod(jobj_, jmethod_); in UpcallReturnTypeChecking_InstanceImpl()
971 env_->CallObjectMethod(jobj_, jmethod_); in JNI_TEST()
994 env_->CallVoidMethod(jobj_, jmethod_, 123, env_->NewStringUTF("not a class!")); in UpcallArgumentTypeChecking_InstanceImpl()
1029 jfloat result = env_->CallNonvirtualFloatMethod(jobj_, jklass_, jmethod_, in CompileAndRunFloatFloatMethodImpl()
1034 result = env_->CallNonvirtualFloatMethod(jobj_, jklass_, jmethod_, a, b); in CompileAndRunFloatFloatMethodImpl()
1058 env_->CallNonvirtualVoidMethod(jobj_, jklass_, jmethod_, 1234, INT64_C(0x12345678ABCDEF0)); in CheckParameterAlignImpl()
1479 env_->CallNonvirtualVoidMethodA(jobj_, jklass_, jmethod_, args); in MaxParamNumberImpl()
1488 env_->CallNonvirtualVoidMethodA(jobj_, jklass_, jmethod_, args); in MaxParamNumberImpl()
1499 env_->CallVoidMethod(jobj_, jmethod_); in JNI_TEST()
1513 env_->CallObjectMethod(jobj_, jmethod_); in JNI_TEST()