Home
last modified time | relevance | path

Searched refs:ArtField (Results 1 – 25 of 123) sorted by relevance

12345

/art/runtime/
Dart_field-inl.h37 inline bool ArtField::IsProxyField() { in IsProxyField()
47 inline bool ArtField::CanBeChangedBy(ArtMethod* method) { in CanBeChangedBy()
55 inline ObjPtr<mirror::Class> ArtField::GetDeclaringClass() { in GetDeclaringClass()
63 inline void ArtField::SetDeclaringClass(ObjPtr<mirror::Class> new_declaring_class) { in SetDeclaringClass()
67 inline MemberOffset ArtField::GetOffsetDuringLinking() { in GetOffsetDuringLinking()
72 inline uint32_t ArtField::Get32(ObjPtr<mirror::Object> object) { in Get32()
82 inline void ArtField::Set32(ObjPtr<mirror::Object> object, uint32_t new_value) { in Set32()
92 inline uint64_t ArtField::Get64(ObjPtr<mirror::Object> object) { in Get64()
102 inline void ArtField::Set64(ObjPtr<mirror::Object> object, uint64_t new_value) { in Set64()
113 inline ObjPtr<MirrorType> ArtField::GetObj(ObjPtr<mirror::Object> object) { in GetObj()
[all …]
Dart_field.cc34 void ArtField::SetOffset(MemberOffset num_bytes) { in SetOffset()
42 ObjPtr<mirror::Class> ArtField::ProxyFindSystemClass(const char* descriptor) { in ProxyFindSystemClass()
50 std::string ArtField::PrettyField(ArtField* f, bool with_type) { in PrettyField()
57 std::string ArtField::PrettyField(bool with_type) { in PrettyField()
70 void ArtField::GetAccessFlagsDCheck() { in GetAccessFlagsDCheck()
74 void ArtField::GetOffsetDCheck() { in GetOffsetDCheck()
Dreflective_handle_scope.h39 class ArtField; variable
106 typename = typename std::enable_if_t<(kHasFields && std::is_same_v<T, ArtField>) ||
109 if constexpr (std::is_same_v<T, ArtField>) { in NewHandle()
122 ALWAYS_INLINE MutableReflectiveHandle<ArtField> NewFieldHandle(ArtField* f) in NewFieldHandle()
126 MutableReflectiveHandle<ArtField> fh(GetMutableFieldHandle(field_pos_++)); in NewFieldHandle()
130 ALWAYS_INLINE ReflectiveHandleWrapper<ArtField> NewReflectiveFieldHandleWrapper(ArtField** f) in NewReflectiveFieldHandleWrapper()
132 return ReflectiveHandleWrapper<ArtField>(f, NewMethodHandle(*f)); in NewReflectiveFieldHandleWrapper()
135 ALWAYS_INLINE ArtField* GetField(size_t i) { in GetField()
139 ALWAYS_INLINE ReflectiveHandle<ArtField> GetFieldHandle(size_t i) { in GetFieldHandle()
141 return ReflectiveHandle<ArtField>(GetFieldReference(i)); in GetFieldHandle()
[all …]
Dreflective_value_visitor.h40 class ArtField; variable
53 virtual ArtField* VisitField(ArtField* in, const ReflectionSourceInfo& info)
58 typename = typename std::enable_if<std::is_same_v<T, ArtField> ||
61 if constexpr (std::is_same_v<T, ArtField>) { in operator()
74 ArtField* VisitField(ArtField* in, const ReflectionSourceInfo& info) override in VisitField()
Dtransaction_test.cc184 ArtField* booleanField = h_klass->FindDeclaredStaticField("booleanField", "Z"); in TEST_F()
189 ArtField* byteField = h_klass->FindDeclaredStaticField("byteField", "B"); in TEST_F()
194 ArtField* charField = h_klass->FindDeclaredStaticField("charField", "C"); in TEST_F()
199 ArtField* shortField = h_klass->FindDeclaredStaticField("shortField", "S"); in TEST_F()
204 ArtField* intField = h_klass->FindDeclaredStaticField("intField", "I"); in TEST_F()
209 ArtField* longField = h_klass->FindDeclaredStaticField("longField", "J"); in TEST_F()
214 ArtField* floatField = h_klass->FindDeclaredStaticField("floatField", "F"); in TEST_F()
219 ArtField* doubleField = h_klass->FindDeclaredStaticField("doubleField", "D"); in TEST_F()
224 ArtField* objectField = h_klass->FindDeclaredStaticField("objectField", in TEST_F()
284 ArtField* booleanField = h_klass->FindDeclaredInstanceField("booleanField", "Z"); in TEST_F()
[all …]
Dreflective_reference.h26 class ArtField; variable
33 std::is_same_v<ReflectiveType, ArtField>,
Dhidden_api.cc149 ArtField* field = jni::DecodeArtField(private_core_platform_api_field); in InitializeCorePlatformApiPrivateFields()
168 MemberSignature::MemberSignature(ArtField* field) { in MemberSignature()
340 static ALWAYS_INLINE bool CanUpdateRuntimeFlags(ArtField*) { in CanUpdateRuntimeFlags() argument
362 static ALWAYS_INLINE uint32_t GetMemberDexIndex(ArtField* field) { in GetMemberDexIndex()
389 static_assert(std::is_same<T, ArtField>::value || std::is_same<T, ArtMethod>::value); in GetDexFlags()
390 constexpr bool kMemberIsField = std::is_same<T, ArtField>::value; in GetDexFlags()
391 using AccessorType = typename std::conditional<std::is_same<T, ArtField>::value, in GetDexFlags()
553 template uint32_t GetDexFlags<ArtField>(ArtField* member);
555 template bool HandleCorePlatformApiViolation(ArtField* member,
563 template bool ShouldDenyAccessToMemberImpl<ArtField>(ArtField* member,
Dart_field.h40 class ArtField final {
100 return MemberOffset(OFFSETOF_MEMBER(ArtField, offset_)); in OffsetOffset()
104 return MemberOffset(OFFSETOF_MEMBER(ArtField, declaring_class_)); in DeclaringClassOffset()
194 static ArtField* FindInstanceFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset)
201 static ArtField* FindStaticFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset)
231 static std::string PrettyField(ArtField* f, bool with_type = true)
Dcommon_dex_operations.h96 ArtField* field, in DoFieldGetCommon()
108 ReflectiveHandleWrapper<ArtField> fh(rhs.NewReflectiveHandleWrapper(&field)); in DoFieldGetCommon()
156 ArtField* field, in DoFieldPutCommon()
169 ReflectiveHandleWrapper<ArtField> fh(rhs.NewReflectiveHandleWrapper(&field)); in DoFieldPutCommon()
222 ReflectiveHandleWrapper<ArtField> fh(rhs.NewReflectiveHandleWrapper(&field)); in DoFieldPutCommon()
/art/runtime/jni/
Djni_internal.h32 class ArtField; variable
58 ArtField* FindFieldJNI(const ScopedObjectAccess& soa,
84 static inline ArtField* DecodeArtField(jfieldID fid) { in DecodeArtField()
88 return reinterpret_cast<ArtField*>(fid); in DecodeArtField()
93 ALWAYS_INLINE static inline jfieldID EncodeArtField(ReflectiveHandle<ArtField> field) in EncodeArtField()
104 static inline jfieldID EncodeArtField(ArtField* field) REQUIRES_SHARED(Locks::mutator_lock_) { in EncodeArtField()
Djni_id_manager.cc71 if constexpr (std::is_same_v<ArtType, ArtField>) { in GetIds()
102 bool ShouldReturnPointer(ObjPtr<mirror::Class> klass, ArtField* t) { in ShouldReturnPointer()
120 bool EnsureIdsArray(Thread* self, ObjPtr<mirror::Class> k, ArtField* field) { in EnsureIdsArray()
167 size_t GetIdOffset(ObjPtr<mirror::Class> k, ArtField* f, PointerSize ptr_size ATTRIBUTE_UNUSED) { in GetIdOffset()
187 std::string PrettyGeneric(ArtField* f) { in PrettyGeneric()
191 std::string PrettyGeneric(ReflectiveHandle<ArtField> f) { in PrettyGeneric()
199 bool IsObsolete(ReflectiveHandle<ArtField> t ATTRIBUTE_UNUSED) { in IsObsolete()
211 ArtField* Canonicalize(ReflectiveHandle<ArtField> t) { in Canonicalize()
228 uintptr_t JniIdManager::GetNextId<ArtField>(JniIdType type) { in GetNextId()
245 std::vector<ArtField*>& JniIdManager::GetGenericMap<ArtField>() { in GetGenericMap()
[all …]
Djni_id_manager.h54 ArtField* DecodeFieldId(jfieldID field) REQUIRES(!Locks::jni_id_lock_);
59 jfieldID EncodeFieldId(ReflectiveHandle<ArtField> field) REQUIRES(!Locks::jni_id_lock_)
61 jfieldID EncodeFieldId(ArtField* field) REQUIRES(!Locks::jni_id_lock_)
93 std::vector<ArtField*> field_id_map_ GUARDED_BY(Locks::jni_id_lock_);
/art/openjdkjvmti/
Dti_field.cc55 JvmtiFieldReflectionSource(bool is_access, art::ArtField* f) in JvmtiFieldReflectionSource()
67 art::ArtField* f_;
77 std::vector<std::pair<art::ArtField*, art::ArtField*>> updated_access_fields; in VisitReflectiveTargets()
79 art::ArtField* af = in VisitReflectiveTargets()
90 std::vector<std::pair<art::ArtField*, art::ArtField*>> updated_modify_fields; in VisitReflectiveTargets()
92 art::ArtField* af = in VisitReflectiveTargets()
145 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldName()
218 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldDeclaringClass()
241 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldModifiers()
264 art::ArtField* art_field = art::jni::DecodeArtField(field); in IsFieldSynthetic()
Dti_class_loader.cc90 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()
Dti_threadgroup.cc109 art::ArtField* name_field = in GetThreadGroupInfo()
132 art::ArtField* parent_field = in GetThreadGroupInfo()
143 art::ArtField* prio_field = tg_class->FindDeclaredInstanceField("maxPriority", "I"); in GetThreadGroupInfo()
150 art::ArtField* daemon_field = tg_class->FindDeclaredInstanceField("daemon", "Z"); in GetThreadGroupInfo()
164 art::ArtField* thread_group_field = in IsInDesiredThreadGroup()
197 art::ArtField* groups_field = in GetChildThreadGroups()
/art/runtime/mirror/
Dfield.cc30 ArtField* orig = GetArtField(); in VisitTarget()
31 ArtField* new_value = v->VisitField(orig, hrsi); in VisitTarget()
46 ArtField* Field::GetArtField() { in GetArtField()
58 ArtField* field, in CreateFromArtField()
Dclass-refvisitor-inl.h56 VisitFields<kReadBarrierOption>([&](ArtField* field) REQUIRES_SHARED(art::Locks::mutator_lock_) { in VisitNativeRoots()
86 for (ArtField& sfield : GetSFieldsUnchecked()) { in VisitFields()
89 for (ArtField& ifield : GetIFieldsUnchecked()) { in VisitFields()
Dclass-inl.h456 ArtField* field, in ResolvedFieldAccessTest()
529 ArtField* field, in CanAccessResolvedField()
536 ArtField* field, in CheckResolvedFieldAccess()
683 inline LengthPrefixedArray<ArtField>* Class::GetIFieldsPtr() { in GetIFieldsPtr()
685 return GetFieldPtr<LengthPrefixedArray<ArtField>*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); in GetIFieldsPtr()
720 inline void Class::SetIFieldsPtr(LengthPrefixedArray<ArtField>* new_ifields) { in SetIFieldsPtr()
725 inline void Class::SetIFieldsPtrUnchecked(LengthPrefixedArray<ArtField>* new_ifields) { in SetIFieldsPtrUnchecked()
729 inline LengthPrefixedArray<ArtField>* Class::GetSFieldsPtrUnchecked() { in GetSFieldsPtrUnchecked()
730 return GetFieldPtr<LengthPrefixedArray<ArtField>*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); in GetSFieldsPtrUnchecked()
733 inline LengthPrefixedArray<ArtField>* Class::GetIFieldsPtrUnchecked() { in GetIFieldsPtrUnchecked()
[all …]
Dfield.h30 class ArtField; variable
72 ArtField* GetArtField() REQUIRES_SHARED(Locks::mutator_lock_);
75 ArtField* field,
Dclass.h53 class ArtField; variable
619 ArtField* field,
624 ArtField* field,
995 LengthPrefixedArray<ArtField>* GetIFieldsPtr() REQUIRES_SHARED(Locks::mutator_lock_);
997 ALWAYS_INLINE IterationRange<StrideIterator<ArtField>> GetIFields()
1000 void SetIFieldsPtr(LengthPrefixedArray<ArtField>* new_ifields)
1004 void SetIFieldsPtrUnchecked(LengthPrefixedArray<ArtField>* new_sfields)
1008 ArtField* GetInstanceField(uint32_t i) REQUIRES_SHARED(Locks::mutator_lock_);
1067 LengthPrefixedArray<ArtField>* GetSFieldsPtr() REQUIRES_SHARED(Locks::mutator_lock_);
1068 ALWAYS_INLINE IterationRange<StrideIterator<ArtField>> GetSFields()
[all …]
/art/test/1985-structural-redefine-stack-scope/
Dstack_scope.cc52 ReflectiveHandle<ArtField> rf(fhs.NewHandle(jni::DecodeArtField(fid))); in Java_Main_NativeFieldScopeCheck()
53 ReflectiveHandle<ArtField> bf(bhs.NewHandle(jni::DecodeArtField(fid))); in Java_Main_NativeFieldScopeCheck()
54 ArtField* pre_ptr = rf.Get(); in Java_Main_NativeFieldScopeCheck()
/art/runtime/dex/
Ddex_file_annotations.h31 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/dex2oat/driver/
Dcompiler_driver-inl.h65 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/tools/cpp-define-generator/
Dart_field.def22 art::ArtField::OffsetOffset().Int32Value())
24 art::ArtField::DeclaringClassOffset().Int32Value())
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc35 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( \
138 ReflectiveHandle<ArtField> field_handle(rhs.NewHandle(field)); \
156 ArtField* field = FindFieldFast( \
186 ReflectiveHandle<ArtField> field_handle(rhs.NewHandle(field)); \

12345