/art/runtime/ |
D | art_field-inl.h | 37 inline bool ArtField::IsProxyField() { in IsProxyField() 44 inline ObjPtr<mirror::Class> ArtField::GetDeclaringClass() { in GetDeclaringClass() 52 inline void ArtField::SetDeclaringClass(ObjPtr<mirror::Class> new_declaring_class) { in SetDeclaringClass() 56 inline MemberOffset ArtField::GetOffsetDuringLinking() { in GetOffsetDuringLinking() 61 inline uint32_t ArtField::Get32(ObjPtr<mirror::Object> object) { in Get32() 71 inline void ArtField::Set32(ObjPtr<mirror::Object> object, uint32_t new_value) { in Set32() 81 inline uint64_t ArtField::Get64(ObjPtr<mirror::Object> object) { in Get64() 91 inline void ArtField::Set64(ObjPtr<mirror::Object> object, uint64_t new_value) { in Set64() 102 inline ObjPtr<MirrorType> ArtField::GetObj(ObjPtr<mirror::Object> object) { in GetObj() 112 inline void ArtField::SetObj(ObjPtr<mirror::Object> object, ObjPtr<mirror::Object> new_value) { in SetObj() [all …]
|
D | art_field.cc | 34 void ArtField::SetOffset(MemberOffset num_bytes) { in SetOffset() 47 ObjPtr<mirror::Class> ArtField::ProxyFindSystemClass(const char* descriptor) { in ProxyFindSystemClass() 55 std::string ArtField::PrettyField(ArtField* f, bool with_type) { in PrettyField() 62 std::string ArtField::PrettyField(bool with_type) { in PrettyField() 75 void ArtField::GetAccessFlagsDCheck() { in GetAccessFlagsDCheck() 79 void ArtField::GetOffsetDCheck() { in GetOffsetDCheck()
|
D | transaction_test.cc | 178 ArtField* booleanField = h_klass->FindDeclaredStaticField("booleanField", "Z"); in TEST_F() 183 ArtField* byteField = h_klass->FindDeclaredStaticField("byteField", "B"); in TEST_F() 188 ArtField* charField = h_klass->FindDeclaredStaticField("charField", "C"); in TEST_F() 193 ArtField* shortField = h_klass->FindDeclaredStaticField("shortField", "S"); in TEST_F() 198 ArtField* intField = h_klass->FindDeclaredStaticField("intField", "I"); in TEST_F() 203 ArtField* longField = h_klass->FindDeclaredStaticField("longField", "J"); in TEST_F() 208 ArtField* floatField = h_klass->FindDeclaredStaticField("floatField", "F"); in TEST_F() 213 ArtField* doubleField = h_klass->FindDeclaredStaticField("doubleField", "D"); in TEST_F() 218 ArtField* objectField = h_klass->FindDeclaredStaticField("objectField", in TEST_F() 278 ArtField* booleanField = h_klass->FindDeclaredInstanceField("booleanField", "Z"); in TEST_F() [all …]
|
D | hidden_api.cc | 126 MemberSignature::MemberSignature(ArtField* field) { in MemberSignature() 298 static ALWAYS_INLINE bool CanUpdateRuntimeFlags(ArtField*) { in CanUpdateRuntimeFlags() argument 320 static ALWAYS_INLINE uint32_t GetMemberDexIndex(ArtField* field) { in GetMemberDexIndex() 347 static_assert(std::is_same<T, ArtField>::value || std::is_same<T, ArtMethod>::value); in GetDexFlags() 348 constexpr bool kMemberIsField = std::is_same<T, ArtField>::value; in GetDexFlags() 349 using AccessorType = typename std::conditional<std::is_same<T, ArtField>::value, in GetDexFlags() 492 template uint32_t GetDexFlags<ArtField>(ArtField* member); 494 template bool HandleCorePlatformApiViolation(ArtField* member, 502 template bool ShouldDenyAccessToMemberImpl<ArtField>(ArtField* member,
|
D | common_throws.h | 31 class ArtField; variable 104 void ThrowIllegalAccessErrorField(ObjPtr<mirror::Class> referrer, ArtField* accessed) 107 void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed) 148 void ThrowIncompatibleClassChangeErrorField(ArtField* resolved_field, 219 void ThrowNullPointerExceptionForFieldAccess(ArtField* field,
|
D | art_field.h | 41 class ArtField final { 97 return MemberOffset(OFFSETOF_MEMBER(ArtField, offset_)); in OffsetOffset() 187 static ArtField* FindInstanceFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset) 194 static ArtField* FindStaticFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset) 224 static std::string PrettyField(ArtField* f, bool with_type = true)
|
D | common_throws.cc | 217 void ThrowIllegalAccessErrorField(ObjPtr<mirror::Class> referrer, ArtField* accessed) { in ThrowIllegalAccessErrorField() 219 msg << "Field '" << ArtField::PrettyField(accessed, false) << "' is inaccessible to class '" in ThrowIllegalAccessErrorField() 224 void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed) { in ThrowIllegalAccessErrorFinalField() 226 msg << "Final field '" << ArtField::PrettyField(accessed, false) in ThrowIllegalAccessErrorFinalField() 305 void ThrowIncompatibleClassChangeErrorField(ArtField* resolved_field, bool is_static, in ThrowIncompatibleClassChangeErrorField() 308 msg << "Expected '" << ArtField::PrettyField(resolved_field) << "' to be a " in ThrowIncompatibleClassChangeErrorField() 424 void ThrowNullPointerExceptionForFieldAccess(ArtField* field, bool is_read) { in ThrowNullPointerExceptionForFieldAccess() 427 << " field '" << ArtField::PrettyField(field, true) << "' on a null object reference"; in ThrowNullPointerExceptionForFieldAccess() 630 ArtField* field = in ThrowNullPointerExceptionFromDexPC() 644 ArtField* field = nullptr; in ThrowNullPointerExceptionFromDexPC() [all …]
|
D | class_linker-inl.h | 67 ArtField* referrer) { in ResolveString() 133 ArtField* referrer) { in ResolveType() 185 ArtField* referrer) { in LookupResolvedType() 399 inline ArtField* ClassLinker::LookupResolvedField(uint32_t field_idx, in LookupResolvedField() 404 ArtField* field = referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedField( in LookupResolvedField() 413 inline ArtField* ClassLinker::ResolveField(uint32_t field_idx, in ResolveField() 419 ArtField* resolved_field = referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedField( in ResolveField()
|
/art/runtime/jni/ |
D | jni_internal.h | 27 class ArtField; variable 45 static inline ArtField* DecodeArtField(jfieldID fid) { in DecodeArtField() 46 return reinterpret_cast<ArtField*>(fid); in DecodeArtField() 50 static inline jfieldID EncodeArtField(ArtField* field) { in EncodeArtField()
|
/art/runtime/dex/ |
D | dex_file_annotations.h | 31 class ArtField; variable 38 ObjPtr<mirror::Object> GetAnnotationForField(ArtField* field, 41 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForField(ArtField* field) 43 ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForField(ArtField* field) 45 bool IsFieldAnnotationPresent(ArtField* field, Handle<mirror::Class> annotation_class) 158 void ReadValueToField(ArtField* field) const REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/runtime/mirror/ |
D | field.cc | 27 ArtField* Field::GetArtField() { in GetArtField() 41 ArtField* art_field = dex_cache->GetResolvedField(GetDexFieldIndex(), kRuntimePointerSize); in GetArtField()
|
D | class-inl.h | 450 ArtField* field, in ResolvedFieldAccessTest() 523 ArtField* field, in CanAccessResolvedField() 530 ArtField* field, in CheckResolvedFieldAccess() 660 inline LengthPrefixedArray<ArtField>* Class::GetIFieldsPtr() { in GetIFieldsPtr() 662 return GetFieldPtr<LengthPrefixedArray<ArtField>*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); in GetIFieldsPtr() 697 inline void Class::SetIFieldsPtr(LengthPrefixedArray<ArtField>* new_ifields) { in SetIFieldsPtr() 702 inline void Class::SetIFieldsPtrUnchecked(LengthPrefixedArray<ArtField>* new_ifields) { in SetIFieldsPtrUnchecked() 706 inline LengthPrefixedArray<ArtField>* Class::GetSFieldsPtrUnchecked() { in GetSFieldsPtrUnchecked() 707 return GetFieldPtr<LengthPrefixedArray<ArtField>*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); in GetSFieldsPtrUnchecked() 710 inline LengthPrefixedArray<ArtField>* Class::GetIFieldsPtrUnchecked() { in GetIFieldsPtrUnchecked() [all …]
|
D | field.h | 30 class ArtField; variable 72 ArtField* GetArtField() REQUIRES_SHARED(Locks::mutator_lock_); 76 ArtField* field,
|
D | class-refvisitor-inl.h | 56 for (ArtField& field : GetSFieldsUnchecked()) { in VisitNativeRoots() 63 for (ArtField& field : GetIFieldsUnchecked()) { in VisitNativeRoots()
|
D | class.h | 47 class ArtField; variable 555 ArtField* field, 560 ArtField* field, 922 LengthPrefixedArray<ArtField>* GetIFieldsPtr() REQUIRES_SHARED(Locks::mutator_lock_); 924 ALWAYS_INLINE IterationRange<StrideIterator<ArtField>> GetIFields() 927 void SetIFieldsPtr(LengthPrefixedArray<ArtField>* new_ifields) 931 void SetIFieldsPtrUnchecked(LengthPrefixedArray<ArtField>* new_sfields) 935 ArtField* GetInstanceField(uint32_t i) REQUIRES_SHARED(Locks::mutator_lock_); 994 LengthPrefixedArray<ArtField>* GetSFieldsPtr() REQUIRES_SHARED(Locks::mutator_lock_); 995 ALWAYS_INLINE IterationRange<StrideIterator<ArtField>> GetSFields() [all …]
|
D | object.cc | 242 for (ArtField& field : cur->GetIFields()) { in CheckFieldAssignmentImpl() 260 for (ArtField& field : AsClass()->GetSFields()) { in CheckFieldAssignmentImpl() 278 ArtField* Object::FindFieldByOffset(MemberOffset offset) { in FindFieldByOffset() 279 return IsClass() ? ArtField::FindStaticFieldWithOffset(AsClass(), offset.Uint32Value()) in FindFieldByOffset() 280 : ArtField::FindInstanceFieldWithOffset(GetClass(), offset.Uint32Value()); in FindFieldByOffset()
|
D | class.cc | 356 ArtField::PrettyField(h_this->GetStaticField(i)).c_str()); in DumpClass() 367 ArtField::PrettyField(h_this->GetInstanceField(i)).c_str()); in DumpClass() 813 static ArtField* FindFieldByNameAndType(LengthPrefixedArray<ArtField>* fields, in FindFieldByNameAndType() 822 ArtField* ret = nullptr; in FindFieldByNameAndType() 825 ArtField& field = fields->At(mid); in FindFieldByNameAndType() 845 ArtField* found = nullptr; in FindFieldByNameAndType() 846 for (ArtField& field : MakeIterationRangeFromLengthPrefixedArray(fields)) { in FindFieldByNameAndType() 857 ArtField* Class::FindDeclaredInstanceField(std::string_view name, std::string_view type) { in FindDeclaredInstanceField() 862 ArtField* Class::FindDeclaredInstanceField(ObjPtr<DexCache> dex_cache, uint32_t dex_field_idx) { in FindDeclaredInstanceField() 864 for (ArtField& field : GetIFields()) { in FindDeclaredInstanceField() [all …]
|
/art/openjdkjvmti/ |
D | ti_class_loader.cc | 90 art::ArtField* internal_cookie_field = java_dex_file->GetClass()->FindDeclaredInstanceField( in UpdateJavaDexFile() 92 art::ArtField* cookie_field = java_dex_file->GetClass()->FindDeclaredInstanceField( in UpdateJavaDexFile() 108 art::ArtField* internal_cookie_field = java_dex_file_obj->GetClass()->FindDeclaredInstanceField( in GetDexFileCookie() 147 art::ArtField* path_list_field = art::jni::DecodeArtField( in GetDexElementList() 149 art::ArtField* dex_path_list_element_field = in GetDexElementList()
|
D | ti_threadgroup.cc | 106 art::ArtField* name_field = in GetThreadGroupInfo() 129 art::ArtField* parent_field = in GetThreadGroupInfo() 140 art::ArtField* prio_field = obj->GetClass()->FindDeclaredInstanceField("maxPriority", "I"); in GetThreadGroupInfo() 147 art::ArtField* daemon_field = obj->GetClass()->FindDeclaredInstanceField("daemon", "Z"); in GetThreadGroupInfo() 161 art::ArtField* thread_group_field = in IsInDesiredThreadGroup() 194 art::ArtField* groups_field = in GetChildThreadGroups()
|
D | ti_field.cc | 64 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldName() 137 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldDeclaringClass() 160 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldModifiers() 183 art::ArtField* art_field = art::jni::DecodeArtField(field); in IsFieldSynthetic()
|
/art/dex2oat/driver/ |
D | compiler_driver-inl.h | 65 inline ArtField* CompilerDriver::ResolveField(const ScopedObjectAccess& soa, in ResolveField() 70 ArtField* resolved_field = Runtime::Current()->GetClassLinker()->ResolveField( in ResolveField() 89 ArtField* resolved_field, in IsFastInstanceField()
|
/art/runtime/native/ |
D | java_lang_reflect_Field.cc | 52 ArtField::PrettyField(field->GetArtField()).c_str(), in VerifyFieldAccess() 68 ArtField::PrettyField(field->GetArtField()).c_str(), in VerifyFieldAccess() 120 ArtField::PrettyField(f->GetArtField()).c_str()).c_str()); in GetFieldValue() 322 ArtField::PrettyField(f->GetArtField()).c_str()).c_str()); in SetFieldValue() 380 ArtField::PrettyField(f->GetArtField()).c_str()).c_str()); in SetPrimitiveField() 452 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getAnnotationNative() 462 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getArtField() 468 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getNameInternal() 474 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getDeclaredAnnotations() 488 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getSignatureAnnotation() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 35 ALWAYS_INLINE static inline ArtField* FindInstanceField(uint32_t field_idx, in FindInstanceField() 44 ArtField* field = FindFieldFromCode<type, kAccessCheck>(field_idx, referrer, self, size); in FindInstanceField() 76 ArtField* field = FindFieldFast( \ 97 ArtField* field = FindFieldFast( \ 118 ArtField* field = FindFieldFast( \ 149 ArtField* field = FindFieldFast( \
|
/art/compiler/optimizing/ |
D | intrinsics.cc | 88 ArtField* cache_field = cache_class->FindDeclaredStaticField("cache", kIntegerArrayDescriptor); in GetIntegerCacheArray() 95 ArtField* field = cache_class->FindDeclaredStaticField(field_name, "I"); in GetIntegerCacheField() 128 ArtField* value_field = integer_class->FindDeclaredInstanceField(kValueFieldName, "I"); in CheckIntegerCache() 189 ArtField* value_field = integer_class->FindDeclaredInstanceField(kValueFieldName, "I"); in ComputeIntegerValueOfLocations() 232 ArtField* value_field = integer_class->FindDeclaredInstanceField(kValueFieldName, "I"); in ComputeIntegerValueOfLocations() 299 ArtField* value_field = integer_class->FindDeclaredInstanceField(kValueFieldName, "I"); in ComputeIntegerValueOfInfo() 328 ArtField* value_field = integer_class->FindDeclaredInstanceField(kValueFieldName, "I"); in ComputeIntegerValueOfInfo()
|
/art/test/159-app-image-fields/ |
D | info.txt | 1 Regression test for erroneously storing an ArtField* in the app image DexCache
|