/art/runtime/mirror/ |
art_field.cc | 32 GcRoot<Class> ArtField::java_lang_reflect_ArtField_; 34 void ArtField::SetClass(Class* java_lang_reflect_ArtField) { 40 void ArtField::ResetClass() { 45 void ArtField::SetOffset(MemberOffset num_bytes) { 55 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtField, offset_), num_bytes.Uint32Value()); 58 void ArtField::VisitRoots(RootCallback* callback, void* arg) { 63 ArtField* ArtField::FindInstanceFieldWithOffset(mirror::Class* klass, uint32_t field_offset) { 65 ObjectArray<ArtField>* instance_fields = klass->GetIFields(); 68 mirror::ArtField* field = instance_fields->GetWithoutChecks(i) [all...] |
art_field-inl.h | 34 inline uint32_t ArtField::ClassSize() { 39 inline Class* ArtField::GetDeclaringClass() { 40 Class* result = GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(ArtField, declaring_class_)); 46 inline void ArtField::SetDeclaringClass(Class *new_declaring_class) { 47 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ArtField, declaring_class_), new_declaring_class); 50 inline uint32_t ArtField::GetAccessFlags() { 52 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, access_flags_)); 55 inline MemberOffset ArtField::GetOffset() { 57 return MemberOffset(GetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, offset_))); 60 inline MemberOffset ArtField::GetOffsetDuringLinking() [all...] |
dex_cache.h | 53 ObjectArray<ArtField>* fields) 115 ArtField* GetResolvedField(uint32_t field_idx) ALWAYS_INLINE 117 ArtField* field = GetResolvedFields()->Get(field_idx); 125 void SetResolvedField(uint32_t field_idx, ArtField* resolved) ALWAYS_INLINE 144 ObjectArray<ArtField>* GetResolvedFields() ALWAYS_INLINE 146 return GetFieldObject<ObjectArray<ArtField>>(ResolvedFieldsOffset()); 161 HeapReference<ObjectArray<ArtField>> resolved_fields_;
|
art_field.h | 39 // C++ mirror of java.lang.reflect.ArtField 40 class MANAGED ArtField FINAL : public Object { 42 // Size of java.lang.reflect.ArtField.class. 45 // Size of an instance of java.lang.reflect.ArtField not including its value array. 47 return sizeof(ArtField); 50 ALWAYS_INLINE static ArtField* FromReflectedField(const ScopedObjectAccessAlreadyRunnable& soa, 62 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtField, access_flags_), new_access_flags); 78 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, field_dex_idx_)); 83 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtField, field_dex_idx_), new_idx); 90 return MemberOffset(OFFSETOF_MEMBER(ArtField, offset_)) [all...] |
class-inl.h | 248 inline bool Class::ResolvedFieldAccessTest(Class* access_to, ArtField* field, 311 inline bool Class::CanAccessResolvedField(Class* access_to, ArtField* field, 316 inline bool Class::CheckResolvedFieldAccess(Class* access_to, ArtField* field, 399 inline ObjectArray<ArtField>* Class::GetIFields() { 401 return GetFieldObject<ObjectArray<ArtField>>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); 434 inline void Class::SetIFields(ObjectArray<ArtField>* new_ifields) 436 DCHECK(NULL == GetFieldObject<ObjectArray<ArtField>>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_))); 440 inline ObjectArray<ArtField>* Class::GetSFields() { 442 return GetFieldObject<ObjectArray<ArtField>>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); 445 inline void Class::SetSFields(ObjectArray<ArtField>* new_sfields [all...] |
class.cc | 554 ArtField* Class::FindDeclaredInstanceField(const StringPiece& name, const StringPiece& type) { 558 ArtField* f = GetInstanceField(i); 566 ArtField* Class::FindDeclaredInstanceField(const DexCache* dex_cache, uint32_t dex_field_idx) { 569 ArtField* f = GetInstanceField(i); 578 ArtField* Class::FindInstanceField(const StringPiece& name, const StringPiece& type) { 582 ArtField* f = c->FindDeclaredInstanceField(name, type); 590 ArtField* Class::FindInstanceField(const DexCache* dex_cache, uint32_t dex_field_idx) { 594 ArtField* f = c->FindDeclaredInstanceField(dex_cache, dex_field_idx); 602 ArtField* Class::FindDeclaredStaticField(const StringPiece& name, const StringPiece& type) { 605 ArtField* f = GetStaticField(i) [all...] |
class.h | 78 class ArtField; 572 bool CanAccessResolvedField(Class* access_to, ArtField* field, 575 bool CheckResolvedFieldAccess(Class* access_to, ArtField* field, [all...] |
dex_cache.cc | 39 ObjectArray<ArtField>* resolved_fields) {
|
object.cc | 207 ObjectArray<ArtField>* fields = cur->GetIFields(); 211 ArtField* field = fields->Get(i); 227 ObjectArray<ArtField>* fields = AsClass()->GetSFields(); 231 ArtField* field = fields->Get(i);
|
/art/runtime/ |
field_helper.h | 28 explicit FieldHelper(Handle<mirror::ArtField> f) : field_(f) {} 30 void ChangeField(mirror::ArtField* new_f) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 35 mirror::ArtField* GetField() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 46 Handle<mirror::ArtField> field_;
|
transaction_test.cc | 117 mirror::ArtField* booleanField = h_klass->FindDeclaredStaticField("booleanField", "Z"); 122 mirror::ArtField* byteField = h_klass->FindDeclaredStaticField("byteField", "B"); 127 mirror::ArtField* charField = h_klass->FindDeclaredStaticField("charField", "C"); 132 mirror::ArtField* shortField = h_klass->FindDeclaredStaticField("shortField", "S"); 137 mirror::ArtField* intField = h_klass->FindDeclaredStaticField("intField", "I"); 142 mirror::ArtField* longField = h_klass->FindDeclaredStaticField("longField", "J"); 147 mirror::ArtField* floatField = h_klass->FindDeclaredStaticField("floatField", "F"); 152 mirror::ArtField* doubleField = h_klass->FindDeclaredStaticField("doubleField", "D"); 157 mirror::ArtField* objectField = h_klass->FindDeclaredStaticField("objectField", 216 mirror::ArtField* booleanField = h_klass->FindDeclaredInstanceField("booleanField", "Z") [all...] |
common_throws.h | 25 class ArtField; 85 void ThrowIllegalAccessErrorField(mirror::Class* referrer, mirror::ArtField* accessed) 88 void ThrowIllegalAccessErrorFinalField(mirror::ArtMethod* referrer, mirror::ArtField* accessed) 116 void ThrowIncompatibleClassChangeErrorField(mirror::ArtField* resolved_field, bool is_static, 165 mirror::ArtField* field,
|
scoped_thread_state_change.h | 145 mirror::ArtField* DecodeField(jfieldID fid) const 150 mirror::ArtField* field = reinterpret_cast<mirror::ArtField*>(fid); 151 return ReadBarrier::BarrierForRoot<mirror::ArtField, kWithReadBarrier>(&field); 154 jfieldID EncodeField(mirror::ArtField* field) const
|
trace.h | 36 class ArtField; 92 mirror::ArtMethod* method, uint32_t dex_pc, mirror::ArtField* field) 95 mirror::ArtMethod* method, uint32_t dex_pc, mirror::ArtField* field,
|
class_linker-inl.h | 91 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, mirror::ArtField* referrer) { 137 inline mirror::ArtField* ClassLinker::GetResolvedField(uint32_t field_idx, 142 inline mirror::ArtField* ClassLinker::ResolveField(uint32_t field_idx, mirror::ArtMethod* referrer, 145 mirror::ArtField* resolved_field = GetResolvedField(field_idx, declaring_class); 186 inline mirror::ObjectArray<mirror::ArtField>* ClassLinker::AllocArtFieldArray(Thread* self, 192 return mirror::ObjectArray<mirror::ArtField>::Alloc(
|
reflection.h | 25 class ArtField; 38 bool UnboxPrimitiveForField(mirror::Object* o, mirror::Class* dst_class, mirror::ArtField* f,
|
instrumentation.h | 33 class ArtField; 86 uint32_t dex_pc, mirror::ArtField* field) = 0; 90 uint32_t dex_pc, mirror::ArtField* field, const JValue& field_value) = 0; 295 mirror::ArtField* field) const 305 mirror::ArtField* field, const JValue& field_value) const 371 mirror::ArtField* field) const 375 mirror::ArtField* field, const JValue& field_value) const
|
common_throws.cc | 174 void ThrowIllegalAccessErrorField(mirror::Class* referrer, mirror::ArtField* accessed) { 182 mirror::ArtField* accessed) { 240 void ThrowIncompatibleClassChangeErrorField(mirror::ArtField* resolved_field, bool is_static, 330 mirror::ArtField* field, bool is_read) { 414 mirror::ArtField* field = 425 mirror::ArtField* field = 445 mirror::ArtField* field = 456 mirror::ArtField* field =
|
/libcore/libart/src/main/java/java/lang/ |
DexCache.java | 36 import java.lang.reflect.ArtField; 53 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, 51 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, sizeof(uint64_t)); 71 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectWrite, 91 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, sizeof(uint32_t)); 106 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, sizeof(uint64_t)); 121 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectRead, 138 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite, sizeof(uint32_t)); 158 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite, sizeof(uint64_t)); 179 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstanceObjectWrite, 200 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, sizeof(uint32_t)) [all...] |
/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, 67 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectRead, 85 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, 108 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, 132 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstanceObjectRead, 155 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, 176 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, 197 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectWrite, 221 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite [all...] |
/art/runtime/native/ |
java_lang_reflect_Field.cc | 32 ALWAYS_INLINE inline static bool VerifyFieldAccess(Thread* self, mirror::ArtField* field, 50 const ScopedFastNativeObjectAccess& soa, mirror::Object* o, mirror::ArtField* f, 96 jobject j_rcvr, mirror::ArtField** f, 105 HandleWrapper<mirror::ArtField> h_f(hs.NewHandleWrapper(f)); 125 mirror::ArtField* f = mirror::ArtField::FromReflectedField(soa, javaField); 151 mirror::ArtField* f = mirror::ArtField::FromReflectedField(soa, javaField); 225 mirror::ArtField* f, Primitive::Type field_type, bool allow_references, 271 mirror::ArtField* f = mirror::ArtField::FromReflectedField(soa, javaField) [all...] |
/art/compiler/driver/ |
compiler_driver-inl.h | 60 inline mirror::ArtField* CompilerDriver::ResolveField( 66 mirror::ArtField* resolved_field = mUnit->GetClassLinker()->ResolveField( 83 mirror::ArtField* resolved_field, const DexFile** declaring_dex_file, 91 inline bool CompilerDriver::IsFieldVolatile(mirror::ArtField* field) { 97 mirror::ArtField* resolved_field, uint16_t field_idx) { 109 mirror::ArtField* resolved_field, uint16_t field_idx, MemberOffset* field_offset,
|
/art/compiler/dex/ |
mir_field_info.cc | 57 mirror::ArtField* resolved_field = 104 mirror::ArtField* resolved_field =
|