/art/runtime/mirror/ |
art_field.cc | 30 Class* ArtField::java_lang_reflect_ArtField_ = NULL; 32 void ArtField::SetClass(Class* java_lang_reflect_ArtField) { 38 void ArtField::ResetClass() { 43 void ArtField::SetOffset(MemberOffset num_bytes) { 52 SetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, offset_), num_bytes.Uint32Value(), false);
|
art_field-inl.h | 32 inline Class* ArtField::GetDeclaringClass() const { 33 Class* result = GetFieldObject<Class*>(OFFSET_OF_OBJECT_MEMBER(ArtField, declaring_class_), false); 39 inline void ArtField::SetDeclaringClass(Class *new_declaring_class) { 40 SetFieldObject(OFFSET_OF_OBJECT_MEMBER(ArtField, declaring_class_), new_declaring_class, false); 43 inline uint32_t ArtField::GetAccessFlags() const { 45 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, access_flags_), false); 48 inline MemberOffset ArtField::GetOffset() const { 50 return MemberOffset(GetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, offset_), false)); 53 inline MemberOffset ArtField::GetOffsetDuringLinking() const { 55 return MemberOffset(GetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, offset_), false)) [all...] |
class-inl.h | 266 inline ObjectArray<ArtField>* Class::GetIFields() const { 268 return GetFieldObject<ObjectArray<ArtField>*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), false); 271 inline void Class::SetIFields(ObjectArray<ArtField>* new_ifields) 273 DCHECK(NULL == GetFieldObject<ObjectArray<ArtField>*>( 278 inline ObjectArray<ArtField>* Class::GetSFields() const { 280 return GetFieldObject<ObjectArray<ArtField>*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), false); 283 inline void Class::SetSFields(ObjectArray<ArtField>* new_sfields) 285 DCHECK(NULL == GetFieldObject<ObjectArray<ArtField>*>( 294 inline ArtField* Class::GetStaticField(uint32_t i) const // TODO: uint16_t 299 inline void Class::SetStaticField(uint32_t i, ArtField* f) // TODO: uint16_ [all...] |
object.cc | 70 ArtField* field = klass->GetInstanceField(i); 93 ObjectArray<ArtField>* fields = cur->GetIFields(); 97 ArtField* field = fields->Get(i); 111 ObjectArray<ArtField>* fields = AsClass()->GetSFields(); 115 ArtField* field = fields->Get(i);
|
dex_cache.h | 35 class ArtField; 50 ObjectArray<ArtField>* fields, 121 ArtField* GetResolvedField(uint32_t field_idx) const 126 void SetResolvedField(uint32_t field_idx, ArtField* resolved) 147 ObjectArray<ArtField>* GetResolvedFields() const 149 return GetFieldObject< ObjectArray<ArtField>* >(ResolvedFieldsOffset(), false); 170 ObjectArray<ArtField>* resolved_fields_;
|
art_field.h | 30 // C++ mirror of java.lang.reflect.ArtField 31 class MANAGED ArtField : public Object { 40 SetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, access_flags_), new_access_flags, false); 56 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, field_dex_idx_), false); 60 SetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, field_dex_idx_), new_idx, false); 67 return MemberOffset(OFFSETOF_MEMBER(ArtField, offset_)); 154 DISALLOW_IMPLICIT_CONSTRUCTORS(ArtField);
|
class.h | 66 class ArtField; 603 ObjectArray<ArtField>* GetIFields() const; 605 void SetIFields(ObjectArray<ArtField>* new_ifields) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 609 ArtField* GetInstanceField(uint32_t i) const // TODO: uint16_t 612 void SetInstanceField(uint32_t i, ArtField* f) // TODO: uint16_t 665 ObjectArray<ArtField>* GetSFields() const; 667 void SetSFields(ObjectArray<ArtField>* new_sfields) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 671 ArtField* GetStaticField(uint32_t i) const; // TODO: uint16_t 673 void SetStaticField(uint32_t i, ArtField* f); // TODO: uint16_t 682 ArtField* FindField(const StringPiece& name, const StringPiece& type [all...] |
class.cc | 463 ArtField* Class::FindDeclaredInstanceField(const StringPiece& name, const StringPiece& type) { 468 ArtField* f = GetInstanceField(i); 477 ArtField* Class::FindDeclaredInstanceField(const DexCache* dex_cache, uint32_t dex_field_idx) { 480 ArtField* f = GetInstanceField(i); 489 ArtField* Class::FindInstanceField(const StringPiece& name, const StringPiece& type) { 493 ArtField* f = c->FindDeclaredInstanceField(name, type); 501 ArtField* Class::FindInstanceField(const DexCache* dex_cache, uint32_t dex_field_idx) { 505 ArtField* f = c->FindDeclaredInstanceField(dex_cache, dex_field_idx); 513 ArtField* Class::FindDeclaredStaticField(const StringPiece& name, const StringPiece& type) { 517 ArtField* f = GetStaticField(i) [all...] |
object-inl.h | 125 inline ArtField* Object::AsArtField() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 127 return down_cast<ArtField*>(this); 130 inline const ArtField* Object::AsArtField() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 132 return down_cast<const ArtField*>(this); 236 DCHECK(!IsArtField() || result == sizeof(ArtField));
|
dex_cache.cc | 39 ObjectArray<ArtField>* resolved_fields,
|
object.h | 34 class ArtField; 160 ArtField* AsArtField() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 162 const ArtField* AsArtField() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
/libcore/libart/src/main/java/java/lang/ |
DexCache.java | 36 import java.lang.reflect.ArtField; 56 ArtField[] resolvedFields;
|
/libcore/libart/src/main/java/java/lang/reflect/ |
ArtField.java | 40 public final class ArtField { 53 private ArtField() {}
|
/art/runtime/entrypoints/portable/ |
portable_field_entrypoints.cc | 28 mirror::ArtField* field = FindFieldFast(field_idx, 53 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, sizeof(uint64_t)); 75 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectWrite, 93 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, sizeof(uint32_t)); 108 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, sizeof(uint64_t)); 123 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectRead, 140 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite, sizeof(uint32_t)); 158 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite, sizeof(uint64_t)); 177 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstanceObjectWrite, 196 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, sizeof(uint32_t)) [all...] |
/art/runtime/ |
reflection.h | 25 class ArtField; 40 mirror::ArtField* f)
|
common_throws.h | 25 class ArtField; 85 void ThrowIllegalAccessErrorField(mirror::Class* referrer, mirror::ArtField* accessed) 89 mirror::ArtField* accessed) 113 void ThrowIncompatibleClassChangeErrorField(const mirror::ArtField* resolved_field, bool is_static, 152 mirror::ArtField* field,
|
class_linker-inl.h | 54 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, const mirror::ArtField* referrer) { 81 inline mirror::ArtField* ClassLinker::ResolveField(uint32_t field_idx, 84 mirror::ArtField* resolved_field = 123 inline mirror::ObjectArray<mirror::ArtField>* ClassLinker::AllocArtFieldArray(Thread* self, 125 return mirror::ObjectArray<mirror::ArtField>::Alloc(self,
|
class_linker_test.cc | 171 void AssertField(mirror::Class* klass, mirror::ArtField* field) 258 mirror::ArtField* field = klass->GetInstanceField(i); 264 mirror::ArtField* field = klass->GetStaticField(i); 273 mirror::ArtField* field = klass->GetInstanceField(i); 281 mirror::ArtField* field = klass->GetInstanceField(i); 390 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); 400 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); 415 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); 423 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); 452 struct ArtFieldOffsets : public CheckOffsets<mirror::ArtField> { [all...] |
common_throws.cc | 156 void ThrowIllegalAccessErrorField(mirror::Class* referrer, mirror::ArtField* accessed) { 164 mirror::ArtField* accessed) { 216 void ThrowIncompatibleClassChangeErrorField(const mirror::ArtField* resolved_field, bool is_static, 290 mirror::ArtField* field, bool is_read) { 374 mirror::ArtField* field = 385 mirror::ArtField* field = 405 mirror::ArtField* field = 416 mirror::ArtField* field =
|
scoped_thread_state_change.h | 205 mirror::ArtField* DecodeField(jfieldID fid) const 213 return reinterpret_cast<mirror::ArtField*>(fid); 216 jfieldID EncodeField(mirror::ArtField* field) const
|
/art/runtime/entrypoints/quick/ |
quick_field_entrypoints.cc | 32 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, 49 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, 66 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectRead, 84 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, 107 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, 131 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstanceObjectRead, 154 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, 172 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, 191 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectWrite, 212 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite [all...] |
/art/runtime/native/ |
java_lang_reflect_Field.cc | 30 static bool GetFieldValue(const ScopedObjectAccess& soa, mirror::Object* o, mirror::ArtField* f, 80 static bool CheckReceiver(const ScopedObjectAccess& soa, jobject j_rcvr, mirror::ArtField* f, 98 mirror::ArtField* f = soa.DecodeField(env->FromReflectedField(javaField)); 116 mirror::ArtField* f = soa.DecodeField(env->FromReflectedField(javaField)); 171 static void SetFieldValue(mirror::Object* o, mirror::ArtField* f, const JValue& new_value, 225 mirror::ArtField* f = soa.DecodeField(env->FromReflectedField(javaField)); 246 mirror::ArtField* f = soa.DecodeField(env->FromReflectedField(javaField));
|
/art/runtime/gc/accounting/ |
space_bitmap.cc | 189 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetIFields(); 192 mirror::ArtField* field = fields->Get(i); 219 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetSFields(); 222 mirror::ArtField* field = fields->Get(i);
|
/art/runtime/verifier/ |
method_verifier.h | 208 static mirror::ArtField* FindAccessedFieldAtDexPc(mirror::ArtMethod* m, uint32_t dex_pc) 276 mirror::ArtField* FindAccessedFieldAtDexPc(uint32_t dex_pc) 500 mirror::ArtField* GetInstanceField(const RegType& obj_type, int field_idx) 504 mirror::ArtField* GetStaticField(int field_idx) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 518 mirror::ArtField* GetQuickFieldAccess(const Instruction* inst, RegisterLine* reg_line)
|
/art/runtime/entrypoints/ |
entrypoint_utils.h | 37 class ArtField; 128 extern mirror::ArtField* FindFieldFromCode(uint32_t field_idx, const mirror::ArtMethod* referrer, 134 static inline mirror::ArtField* FindFieldFast(uint32_t field_idx, 138 mirror::ArtField* resolved_field =
|