Searched refs:fid (Results 1 – 7 of 7) sorted by relevance
/art/runtime/jni/ |
D | jni_internal_test.cc | 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() [all …]
|
D | jni_internal.h | 45 static inline ArtField* DecodeArtField(jfieldID fid) { in DecodeArtField() argument 46 return reinterpret_cast<ArtField*>(fid); in DecodeArtField()
|
D | check_jni.cc | 343 bool CheckInstanceFieldID(ScopedObjectAccess& soa, jobject java_object, jfieldID fid) in CheckInstanceFieldID() argument 358 ArtField* f = CheckFieldID(fid); in CheckInstanceFieldID() 435 bool CheckStaticFieldID(ScopedObjectAccess& soa, jclass java_class, jfieldID fid) in CheckStaticFieldID() argument 438 ArtField* f = CheckFieldID(fid); in CheckStaticFieldID() 443 AbortF("static jfieldID %p not valid for class %s", fid, in CheckStaticFieldID() 750 bool CheckFieldAccess(ScopedObjectAccess& soa, jobject obj, jfieldID fid, bool is_static, in CheckFieldAccess() argument 753 if (is_static && !CheckStaticFieldID(soa, down_cast<jclass>(obj), fid)) { in CheckFieldAccess() 756 if (!is_static && !CheckInstanceFieldID(soa, obj, fid)) { in CheckFieldAccess() 759 ArtField* field = jni::DecodeArtField(fid); in CheckFieldAccess() 763 field->IsStatic() ? "static" : "non-static", field->PrettyField().c_str(), fid); in CheckFieldAccess() [all …]
|
D | jni_internal.cc | 704 static jobject ToReflectedField(JNIEnv* env, jclass, jfieldID fid, jboolean) { in ToReflectedField() argument 705 CHECK_NON_NULL_ARGUMENT(fid); in ToReflectedField() 707 ArtField* f = jni::DecodeArtField(fid); in ToReflectedField() 1538 static jobject GetObjectField(JNIEnv* env, jobject obj, jfieldID fid) { in GetObjectField() argument 1540 CHECK_NON_NULL_ARGUMENT(fid); in GetObjectField() 1542 ArtField* f = jni::DecodeArtField(fid); in GetObjectField() 1548 static jobject GetStaticObjectField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticObjectField() argument 1549 CHECK_NON_NULL_ARGUMENT(fid); in GetStaticObjectField() 1551 ArtField* f = jni::DecodeArtField(fid); in GetStaticObjectField() 1556 static void SetObjectField(JNIEnv* env, jobject java_object, jfieldID fid, jobject java_value) { in SetObjectField() argument [all …]
|
/art/runtime/ |
D | well_known_classes.cc | 173 jfieldID fid = is_static ? env->GetStaticFieldID(c, name, signature) : in CacheField() local 175 if (fid == nullptr) { in CacheField() 185 return fid; in CacheField()
|
D | debugger.cc | 1429 static ArtField* FromFieldId(JDWP::FieldId fid) in FromFieldId() argument 1431 return reinterpret_cast<ArtField*>(static_cast<uintptr_t>(fid)); in FromFieldId()
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 187 const dex::FieldId& fid = dex_file.GetFieldId(field.GetIndex()); in GetFieldHiddenFlags() local 188 if (strcmp(name, dex_file.GetFieldName(fid)) == 0) { in GetFieldHiddenFlags()
|