Lines Matching refs:Field
267 jobject field = env_->ToReflectedField(nullptr, fid, JNI_FALSE);
269 EXPECT_EQ(field, nullptr);
272 EXPECT_NE(field, nullptr);
275 field = env_->ToReflectedField(c, nullptr, JNI_FALSE);
276 EXPECT_EQ(field, nullptr);
282 check_jni_abort_catcher.Check(check_jni ? "expected non-null java.lang.reflect.Field"
718 // Good declared field lookup.
723 // Good superclass field lookup.
761 // Good declared field lookup.
864 jclass jlrField = env_->FindClass("java/lang/reflect/Field");
869 // Turn the fid into a java.lang.reflect.Field...
870 jobject field = env_->ToReflectedField(c, fid, JNI_FALSE);
877 ASSERT_TRUE(env_->IsInstanceOf(field, jlrField));
879 jfieldID fid2 = env_->FromReflectedField(field);
1685 env_->SetStatic ## type ## Field(c, fid, value1); \
1686 expect_eq(value1, env_->GetStatic ## type ## Field(c, fid)); \
1687 env_->SetStatic ## type ## Field(c, fid, value2); \
1688 expect_eq(value2, env_->GetStatic ## type ## Field(c, fid)); \
1693 env_->GetStatic ## type ## Field(nullptr, fid); \
1694 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1697 env_->GetStatic ## type ## Field(c, nullptr); \
1699 env_->SetStatic ## type ## Field(c, nullptr, value1); \
1703 env_->GetStatic ## type ## Field(nullptr, fid); \
1705 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1707 env_->GetStatic ## type ## Field(c, nullptr); \
1709 env_->SetStatic ## type ## Field(c, nullptr, value1); \
1718 env_->Set ## type ## Field(instance, fid, value1); \
1719 expect_eq(value1, env_->Get ## type ## Field(instance, fid)); \
1720 env_->Set ## type ## Field(instance, fid, value2); \
1721 expect_eq(value2, env_->Get ## type ## Field(instance, fid)); \
1725 env_->Get ## type ## Field(nullptr, fid); \
1727 env_->Set ## type ## Field(nullptr, fid, value1); \
1729 env_->Get ## type ## Field(instance, nullptr); \
1731 env_->Set ## type ## Field(instance, nullptr, value1); \
1734 env_->Get ## type ## Field(nullptr, fid); \
1735 jni_abort_catcher.Check("field operation on NULL object:"); \
1736 env_->Set ## type ## Field(nullptr, fid, value1); \
1737 jni_abort_catcher.Check("field operation on NULL object:"); \
1738 env_->Get ## type ## Field(instance, nullptr); \
1740 env_->Set ## type ## Field(instance, nullptr, value1); \
2267 // The segment_state_ field is private, and we want to avoid friend declaration. So we'll check