Searched refs:fid (Results 1 – 6 of 6) sorted by relevance
/art/runtime/ |
D | jni_internal_test.cc | 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() [all …]
|
D | jni_internal.h | 38 static inline ArtField* DecodeArtField(jfieldID fid) { in DecodeArtField() argument 39 return reinterpret_cast<ArtField*>(fid); in DecodeArtField()
|
D | check_jni.cc | 275 bool CheckInstanceFieldID(ScopedObjectAccess& soa, jobject java_object, jfieldID fid) in CheckInstanceFieldID() argument 290 ArtField* f = CheckFieldID(fid); in CheckInstanceFieldID() 367 bool CheckStaticFieldID(ScopedObjectAccess& soa, jclass java_class, jfieldID fid) in CheckStaticFieldID() argument 370 ArtField* f = CheckFieldID(fid); in CheckStaticFieldID() 375 AbortF("static jfieldID %p not valid for class %s", fid, in CheckStaticFieldID() 680 bool CheckFieldAccess(ScopedObjectAccess& soa, jobject obj, jfieldID fid, bool is_static, in CheckFieldAccess() argument 683 if (is_static && !CheckStaticFieldID(soa, down_cast<jclass>(obj), fid)) { in CheckFieldAccess() 686 if (!is_static && !CheckInstanceFieldID(soa, obj, fid)) { in CheckFieldAccess() 689 ArtField* field = jni::DecodeArtField(fid); in CheckFieldAccess() 693 field->IsStatic() ? "static" : "non-static", field->PrettyField().c_str(), fid); in CheckFieldAccess() [all …]
|
D | jni_internal.cc | 486 static jobject ToReflectedField(JNIEnv* env, jclass, jfieldID fid, jboolean) { in ToReflectedField() argument 487 CHECK_NON_NULL_ARGUMENT(fid); in ToReflectedField() 489 ArtField* f = jni::DecodeArtField(fid); in ToReflectedField() 1320 static jobject GetObjectField(JNIEnv* env, jobject obj, jfieldID fid) { in GetObjectField() argument 1322 CHECK_NON_NULL_ARGUMENT(fid); in GetObjectField() 1324 ArtField* f = jni::DecodeArtField(fid); in GetObjectField() 1330 static jobject GetStaticObjectField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticObjectField() argument 1331 CHECK_NON_NULL_ARGUMENT(fid); in GetStaticObjectField() 1333 ArtField* f = jni::DecodeArtField(fid); in GetStaticObjectField() 1338 static void SetObjectField(JNIEnv* env, jobject java_object, jfieldID fid, jobject java_value) { in SetObjectField() argument [all …]
|
D | well_known_classes.cc | 163 jfieldID fid = is_static ? env->GetStaticFieldID(c, name, signature) : in CacheField() local 165 if (fid == nullptr) { in CacheField() 175 return fid; in CacheField()
|
D | debugger.cc | 1363 static ArtField* FromFieldId(JDWP::FieldId fid) in FromFieldId() argument 1365 return reinterpret_cast<ArtField*>(static_cast<uintptr_t>(fid)); in FromFieldId()
|