Lines Matching refs:fid
178 jfieldID fid = env_->GetFieldID(nullptr, "count", "I"); in GetFieldIdBadArgumentTest() local
179 EXPECT_EQ(nullptr, fid); in GetFieldIdBadArgumentTest()
182 fid = env_->GetFieldID(c, nullptr, "I"); in GetFieldIdBadArgumentTest()
183 EXPECT_EQ(nullptr, fid); in GetFieldIdBadArgumentTest()
186 fid = env_->GetFieldID(c, "count", nullptr); in GetFieldIdBadArgumentTest()
187 EXPECT_EQ(nullptr, fid); in GetFieldIdBadArgumentTest()
201 …jfieldID fid = env_->GetStaticFieldID(nullptr, "CASE_INSENSITIVE_ORDER", "Ljava/util/Comparator;"); in GetStaticFieldIdBadArgumentTest() local
202 EXPECT_EQ(nullptr, fid); in GetStaticFieldIdBadArgumentTest()
205 fid = env_->GetStaticFieldID(c, nullptr, "Ljava/util/Comparator;"); in GetStaticFieldIdBadArgumentTest()
206 EXPECT_EQ(nullptr, fid); in GetStaticFieldIdBadArgumentTest()
209 fid = env_->GetStaticFieldID(c, "CASE_INSENSITIVE_ORDER", nullptr); in GetStaticFieldIdBadArgumentTest()
210 EXPECT_EQ(nullptr, fid); in GetStaticFieldIdBadArgumentTest()
266 jfieldID fid = env_->GetFieldID(c, "count", "I"); in GetFromReflectedField_ToReflectedFieldBadArgumentTest() local
267 ASSERT_NE(fid, nullptr); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
270 jobject field = env_->ToReflectedField(nullptr, fid, JNI_FALSE); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
283 fid = env_->FromReflectedField(nullptr); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
284 ASSERT_EQ(fid, nullptr); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
708 jfieldID fid = env_->GetFieldID(c, "count", "J"); in TEST_F() local
709 EXPECT_EQ(nullptr, fid); in TEST_F()
713 fid = env_->GetFieldID(c, "count", "Lrod/jane/freddy;"); in TEST_F()
714 EXPECT_EQ(nullptr, fid); in TEST_F()
718 fid = env_->GetFieldID(c, "Count", "I"); in TEST_F()
719 EXPECT_EQ(nullptr, fid); in TEST_F()
723 fid = env_->GetFieldID(c, "count", "I"); in TEST_F()
724 EXPECT_NE(nullptr, fid); in TEST_F()
729 fid = env_->GetFieldID(c, "count", "I"); in TEST_F()
730 EXPECT_NE(nullptr, fid); in TEST_F()
731 EXPECT_NE(fid, nullptr); in TEST_F()
735 fid = env_->GetFieldID(c, "CASE_INSENSITIVE_ORDER", "Ljava/util/Comparator;"); in TEST_F()
736 EXPECT_EQ(nullptr, fid); in TEST_F()
751 jfieldID fid = env_->GetStaticFieldID(c, "CASE_INSENSITIVE_ORDER", "J"); in TEST_F() local
752 EXPECT_EQ(nullptr, fid); in TEST_F()
756 fid = env_->GetStaticFieldID(c, "CASE_INSENSITIVE_ORDER", "Lrod/jane/freddy;"); in TEST_F()
757 EXPECT_EQ(nullptr, fid); in TEST_F()
761 fid = env_->GetStaticFieldID(c, "cASE_INSENSITIVE_ORDER", "Ljava/util/Comparator;"); in TEST_F()
762 EXPECT_EQ(nullptr, fid); in TEST_F()
766 fid = env_->GetStaticFieldID(c, "CASE_INSENSITIVE_ORDER", "Ljava/util/Comparator;"); in TEST_F()
767 EXPECT_NE(nullptr, fid); in TEST_F()
768 EXPECT_NE(fid, nullptr); in TEST_F()
772 fid = env_->GetStaticFieldID(c, "count", "I"); in TEST_F()
773 EXPECT_EQ(nullptr, fid); in TEST_F()
943 jfieldID fid = env_->GetFieldID(c, "count", "I"); in TEST_F() local
944 ASSERT_NE(fid, nullptr); in TEST_F()
946 jobject field = env_->ToReflectedField(c, fid, JNI_FALSE); in TEST_F()
951 env_->DeleteLocalRef(env_->ToReflectedField(c, fid, JNI_FALSE)); in TEST_F()
1791 jfieldID fid = env_->GetStaticFieldID(c, field_name, sig); \
1792 EXPECT_NE(fid, nullptr); \
1793 env_->SetStatic ## type ## Field(c, fid, value1); \
1794 expect_eq(value1, env_->GetStatic ## type ## Field(c, fid)); \
1795 env_->SetStatic ## type ## Field(c, fid, value2); \
1796 expect_eq(value2, env_->GetStatic ## type ## Field(c, fid)); \
1801 env_->GetStatic ## type ## Field(nullptr, fid); \
1802 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1811 env_->GetStatic ## type ## Field(nullptr, fid); \
1813 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1824 jfieldID fid = env_->GetFieldID(c, field_name, sig); \
1825 EXPECT_NE(fid, nullptr); \
1826 env_->Set ## type ## Field(instance, fid, value1); \
1827 expect_eq(value1, env_->Get ## type ## Field(instance, fid)); \
1828 env_->Set ## type ## Field(instance, fid, value2); \
1829 expect_eq(value2, env_->Get ## type ## Field(instance, fid)); \
1833 env_->Get ## type ## Field(nullptr, fid); \
1835 env_->Set ## type ## Field(nullptr, fid, value1); \
1842 env_->Get ## type ## Field(nullptr, fid); \
1844 env_->Set ## type ## Field(nullptr, fid, value1); \
1893 jfieldID fid = env_->GetStaticFieldID(c, field_name, sig); \
1894 EXPECT_NE(fid, nullptr); \
1896 env_->Get ## type ## Field(uc, fid); \
1898 env_->Set ## type ## Field(uc, fid, value1); \