Lines Matching refs:fid
179 jfieldID fid = env_->GetFieldID(nullptr, "count", "I"); in GetFieldIdBadArgumentTest() local
180 EXPECT_EQ(nullptr, fid); in GetFieldIdBadArgumentTest()
183 fid = env_->GetFieldID(c, nullptr, "I"); in GetFieldIdBadArgumentTest()
184 EXPECT_EQ(nullptr, fid); in GetFieldIdBadArgumentTest()
187 fid = env_->GetFieldID(c, "count", nullptr); in GetFieldIdBadArgumentTest()
188 EXPECT_EQ(nullptr, fid); in GetFieldIdBadArgumentTest()
202 …jfieldID fid = env_->GetStaticFieldID(nullptr, "CASE_INSENSITIVE_ORDER", "Ljava/util/Comparator;"); in GetStaticFieldIdBadArgumentTest() local
203 EXPECT_EQ(nullptr, fid); in GetStaticFieldIdBadArgumentTest()
206 fid = env_->GetStaticFieldID(c, nullptr, "Ljava/util/Comparator;"); in GetStaticFieldIdBadArgumentTest()
207 EXPECT_EQ(nullptr, fid); in GetStaticFieldIdBadArgumentTest()
210 fid = env_->GetStaticFieldID(c, "CASE_INSENSITIVE_ORDER", nullptr); in GetStaticFieldIdBadArgumentTest()
211 EXPECT_EQ(nullptr, fid); in GetStaticFieldIdBadArgumentTest()
267 jfieldID fid = env_->GetFieldID(c, "count", "I"); in GetFromReflectedField_ToReflectedFieldBadArgumentTest() local
268 ASSERT_NE(fid, nullptr); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
271 jobject field = env_->ToReflectedField(nullptr, fid, JNI_FALSE); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
284 fid = env_->FromReflectedField(nullptr); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
285 ASSERT_EQ(fid, nullptr); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
709 jfieldID fid = env_->GetFieldID(c, "count", "J"); in TEST_F() local
710 EXPECT_EQ(nullptr, fid); in TEST_F()
714 fid = env_->GetFieldID(c, "count", "Lrod/jane/freddy;"); in TEST_F()
715 EXPECT_EQ(nullptr, fid); in TEST_F()
719 fid = env_->GetFieldID(c, "Count", "I"); in TEST_F()
720 EXPECT_EQ(nullptr, fid); in TEST_F()
724 fid = env_->GetFieldID(c, "count", "I"); in TEST_F()
725 EXPECT_NE(nullptr, fid); in TEST_F()
730 fid = env_->GetFieldID(c, "count", "I"); in TEST_F()
731 EXPECT_NE(nullptr, fid); in TEST_F()
732 EXPECT_NE(fid, nullptr); in TEST_F()
736 fid = env_->GetFieldID(c, "CASE_INSENSITIVE_ORDER", "Ljava/util/Comparator;"); in TEST_F()
737 EXPECT_EQ(nullptr, fid); in TEST_F()
752 jfieldID fid = env_->GetStaticFieldID(c, "CASE_INSENSITIVE_ORDER", "J"); in TEST_F() local
753 EXPECT_EQ(nullptr, fid); in TEST_F()
757 fid = env_->GetStaticFieldID(c, "CASE_INSENSITIVE_ORDER", "Lrod/jane/freddy;"); in TEST_F()
758 EXPECT_EQ(nullptr, fid); in TEST_F()
762 fid = env_->GetStaticFieldID(c, "cASE_INSENSITIVE_ORDER", "Ljava/util/Comparator;"); in TEST_F()
763 EXPECT_EQ(nullptr, fid); in TEST_F()
767 fid = env_->GetStaticFieldID(c, "CASE_INSENSITIVE_ORDER", "Ljava/util/Comparator;"); in TEST_F()
768 EXPECT_NE(nullptr, fid); in TEST_F()
769 EXPECT_NE(fid, nullptr); in TEST_F()
773 fid = env_->GetStaticFieldID(c, "count", "I"); in TEST_F()
774 EXPECT_EQ(nullptr, fid); in TEST_F()
877 jfieldID fid = env_->GetFieldID(c, "count", "I"); in TEST_F() local
878 ASSERT_NE(fid, nullptr); in TEST_F()
880 jobject field = env_->ToReflectedField(c, fid, JNI_FALSE); in TEST_F()
885 env_->DeleteLocalRef(env_->ToReflectedField(c, fid, JNI_FALSE)); in TEST_F()
1724 jfieldID fid = env_->GetStaticFieldID(c, field_name, sig); \
1725 EXPECT_NE(fid, nullptr); \
1726 env_->SetStatic ## type ## Field(c, fid, value1); \
1727 expect_eq(value1, env_->GetStatic ## type ## Field(c, fid)); \
1728 env_->SetStatic ## type ## Field(c, fid, value2); \
1729 expect_eq(value2, env_->GetStatic ## type ## Field(c, fid)); \
1734 env_->GetStatic ## type ## Field(nullptr, fid); \
1735 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1744 env_->GetStatic ## type ## Field(nullptr, fid); \
1746 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1757 jfieldID fid = env_->GetFieldID(c, field_name, sig); \
1758 EXPECT_NE(fid, nullptr); \
1759 env_->Set ## type ## Field(instance, fid, value1); \
1760 expect_eq(value1, env_->Get ## type ## Field(instance, fid)); \
1761 env_->Set ## type ## Field(instance, fid, value2); \
1762 expect_eq(value2, env_->Get ## type ## Field(instance, fid)); \
1766 env_->Get ## type ## Field(nullptr, fid); \
1768 env_->Set ## type ## Field(nullptr, fid, value1); \
1775 env_->Get ## type ## Field(nullptr, fid); \
1777 env_->Set ## type ## Field(nullptr, fid, value1); \