Home
last modified time | relevance | path

Searched refs:fid (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Djni_internal_test.cc179 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 …]
Djni_internal.h47 static inline ArtField* DecodeArtField(jfieldID fid) { in DecodeArtField() argument
48 return reinterpret_cast<ArtField*>(fid); in DecodeArtField()
Dcheck_jni.cc275 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 …]
Djni_internal.cc401 static jobject ToReflectedField(JNIEnv* env, jclass, jfieldID fid, jboolean) { in ToReflectedField() argument
402 CHECK_NON_NULL_ARGUMENT(fid); in ToReflectedField()
404 ArtField* f = jni::DecodeArtField(fid); in ToReflectedField()
1235 static jobject GetObjectField(JNIEnv* env, jobject obj, jfieldID fid) { in GetObjectField() argument
1237 CHECK_NON_NULL_ARGUMENT(fid); in GetObjectField()
1240 ArtField* f = jni::DecodeArtField(fid); in GetObjectField()
1244 static jobject GetStaticObjectField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticObjectField() argument
1245 CHECK_NON_NULL_ARGUMENT(fid); in GetStaticObjectField()
1247 ArtField* f = jni::DecodeArtField(fid); in GetStaticObjectField()
1251 static void SetObjectField(JNIEnv* env, jobject java_object, jfieldID fid, jobject java_value) { in SetObjectField() argument
[all …]
Dwell_known_classes.cc160 jfieldID fid = is_static ? env->GetStaticFieldID(c, name, signature) : in CacheField() local
162 if (fid == nullptr) { in CacheField()
172 return fid; in CacheField()
Ddebugger.cc1357 static ArtField* FromFieldId(JDWP::FieldId fid) in FromFieldId() argument
1359 return reinterpret_cast<ArtField*>(static_cast<uintptr_t>(fid)); in FromFieldId()