/art/runtime/ |
D | field_helper.cc | 34 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index); in GetType() local 35 mirror::Class* type = field_->GetDexCache()->GetResolvedType(field_id.type_idx_); in GetType() 37 type = Runtime::Current()->GetClassLinker()->ResolveType(field_id.type_idx_, field_.Get()); in GetType()
|
D | dex_file.h | 553 uint32_t GetIndexForFieldId(const FieldId& field_id) const { in GetIndexForFieldId() argument 554 CHECK_GE(&field_id, field_ids_) << GetLocation(); in GetIndexForFieldId() 555 CHECK_LT(&field_id, field_ids_ + header_->field_ids_size_) << GetLocation(); in GetIndexForFieldId() 556 return &field_id - field_ids_; in GetIndexForFieldId() 565 const char* GetFieldDeclaringClassDescriptor(const FieldId& field_id) const { in GetFieldDeclaringClassDescriptor() argument 566 const DexFile::TypeId& type_id = GetTypeId(field_id.class_idx_); in GetFieldDeclaringClassDescriptor() 571 const char* GetFieldTypeDescriptor(const FieldId& field_id) const { in GetFieldTypeDescriptor() argument 572 const DexFile::TypeId& type_id = GetTypeId(field_id.type_idx_); in GetFieldTypeDescriptor() 577 const char* GetFieldName(const FieldId& field_id) const { in GetFieldName() argument 578 return StringDataByIdx(field_id.name_idx_); in GetFieldName()
|
D | debugger.h | 384 static void OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value, 391 static std::string GetFieldName(JDWP::FieldId field_id) 393 static JDWP::JdwpTag GetFieldBasicTag(JDWP::FieldId field_id) 395 static JDWP::JdwpTag GetStaticFieldBasicTag(JDWP::FieldId field_id) 397 static JDWP::JdwpError GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id, 400 static JDWP::JdwpError SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id, 403 static JDWP::JdwpError GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id, 406 static JDWP::JdwpError SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width)
|
D | debugger.cc | 1516 std::string Dbg::GetFieldName(JDWP::FieldId field_id) in GetFieldName() argument 1518 mirror::ArtField* f = FromFieldId(field_id); in GetFieldName() 1765 void Dbg::OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value, in OutputFieldValue() argument 1767 mirror::ArtField* f = FromFieldId(field_id); in OutputFieldValue() 1789 JDWP::JdwpTag Dbg::GetFieldBasicTag(JDWP::FieldId field_id) { in GetFieldBasicTag() argument 1790 return BasicTagFromDescriptor(FromFieldId(field_id)->GetTypeDescriptor()); in GetFieldBasicTag() 1793 JDWP::JdwpTag Dbg::GetStaticFieldBasicTag(JDWP::FieldId field_id) { in GetStaticFieldBasicTag() argument 1794 return BasicTagFromDescriptor(FromFieldId(field_id)->GetTypeDescriptor()); in GetStaticFieldBasicTag() 1798 JDWP::FieldId field_id, JDWP::ExpandBuf* pReply, in GetFieldValueImpl() argument 1811 mirror::ArtField* f = FromFieldId(field_id); in GetFieldValueImpl() [all …]
|
D | utils.cc | 312 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx); in PrettyField() local 315 result += dex_file.GetFieldTypeDescriptor(field_id); in PrettyField() 318 result += PrettyDescriptor(dex_file.GetFieldDeclaringClassDescriptor(field_id)); in PrettyField() 320 result += dex_file.GetFieldName(field_id); in PrettyField()
|
D | class_linker.cc | 2330 const DexFile::FieldId& field_id = dex_file.GetFieldId(it.GetMemberIndex()); in SizeOfClassWithoutEmbeddedTables() local 2331 const char* descriptor = dex_file.GetFieldTypeDescriptor(field_id); in SizeOfClassWithoutEmbeddedTables() 5834 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx); in ResolveField() local 5838 hs.NewHandle(ResolveType(dex_file, field_id.class_idx_, dex_cache, class_loader))); in ResolveField() 5851 const char* name = dex_file.GetFieldName(field_id); in ResolveField() 5852 const char* type = dex_file.GetFieldTypeDescriptor(field_id); in ResolveField() 5876 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx); in ResolveFieldJLS() local 5880 hs.NewHandle(ResolveType(dex_file, field_id.class_idx_, dex_cache, class_loader))); in ResolveFieldJLS() 5886 StringPiece name(dex_file.StringDataByIdx(field_id.name_idx_)); in ResolveFieldJLS() 5888 dex_file.GetTypeId(field_id.type_idx_).descriptor_idx_)); in ResolveFieldJLS()
|
/art/compiler/dex/ |
D | local_value_numbering.cc | 58 uint16_t field_id) { in StartMemoryVersion() argument 59 uint16_t type = gvn->GetFieldType(field_id); in StartMemoryVersion() 60 return gvn->LookupValue(kAliasingIFieldStartVersionOp, field_id, in StartMemoryVersion() 71 uint16_t field_id, uint16_t base, uint16_t memory_version) { in LookupGlobalValue() argument 72 return gvn->LookupValue(kAliasingIFieldOp, field_id, base, memory_version); in LookupGlobalValue() 76 uint16_t field_id, uint16_t base) { in LookupMergeValue() argument 78 uint16_t type = gvn->GetFieldType(field_id); in LookupMergeValue() 79 if (lvn->IsNonAliasingIField(base, field_id, type)) { in LookupMergeValue() 80 uint16_t loc = gvn->LookupValue(kNonAliasingIFieldLocOp, base, field_id, type); in LookupMergeValue() 87 gvn, lvn, &lvn->aliasing_ifield_value_map_, field_id, base); in LookupMergeValue() [all …]
|
D | local_value_numbering.h | 169 uint16_t field_id; // None (kNoValue) for arrays and unresolved instance field stores. member 173 return base == other.base && type == other.type && field_id == other.field_id; 189 return lhs.field_id < rhs.field_id; in operator() 297 bool IsNonAliasingIField(uint16_t reg, uint16_t field_id, uint16_t type) const;
|
D | global_value_numbering.h | 135 uint16_t GetFieldType(uint16_t field_id) { in GetFieldType() argument 136 DCHECK_LT(field_id, field_index_reverse_map_.size()); in GetFieldType() 137 return field_index_reverse_map_[field_id]->first.type; in GetFieldType()
|
/art/runtime/jdwp/ |
D | jdwp_event.cc | 978 FieldId field_id = Dbg::ToFieldId(field); in PostFieldEvent() local 987 << Dbg::GetClassName(field_id); in PostFieldEvent() 988 VLOG(jdwp) << StringPrintf(" field=%#" PRIx32, field_id) << " " in PostFieldEvent() 989 << Dbg::GetFieldName(field_id); in PostFieldEvent() 1014 expandBufAddFieldId(pReq, field_id); in PostFieldEvent() 1018 Dbg::OutputFieldValue(field_id, fieldValue, pReq); in PostFieldEvent()
|
D | jdwp.h | 386 std::string DescribeField(const FieldId& field_id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
D | jdwp_handler.cc | 40 std::string DescribeField(const FieldId& field_id) { in DescribeField() argument 41 return StringPrintf("%#x (%s)", field_id, Dbg::GetFieldName(field_id).c_str()); in DescribeField()
|
/art/runtime/mirror/ |
D | art_field-inl.h | 264 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index); in GetTypeDescriptor() local 265 return dex_file->GetFieldTypeDescriptor(field_id); in GetTypeDescriptor()
|
D | object_test.cc | 350 const DexFile::FieldId* field_id = dex_file->FindFieldId( in TEST_F() local 352 ASSERT_TRUE(field_id != NULL); in TEST_F() 353 uint32_t field_idx = dex_file->GetIndexForFieldId(*field_id); in TEST_F()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 3659 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx); in GetStaticField() local 3661 RegType& klass_type = ResolveClassAndCheckAccess(field_id.class_idx_); in GetStaticField() 3664 field_idx, dex_file_->GetFieldName(field_id), in GetStaticField() 3665 dex_file_->GetFieldDeclaringClassDescriptor(field_id))); in GetStaticField() 3676 << dex_file_->GetFieldName(field_id) << ") in " in GetStaticField() 3677 << dex_file_->GetFieldDeclaringClassDescriptor(field_id); in GetStaticField() 3694 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx); in GetInstanceField() local 3696 RegType& klass_type = ResolveClassAndCheckAccess(field_id.class_idx_); in GetInstanceField() 3699 field_idx, dex_file_->GetFieldName(field_id), in GetInstanceField() 3700 dex_file_->GetFieldDeclaringClassDescriptor(field_id))); in GetInstanceField() [all …]
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 281 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_idx); in PreloadDexCachesResolveField() local 284 Handle<mirror::Class> klass(hs.NewHandle(dex_cache->GetResolvedType(field_id.class_idx_))); in PreloadDexCachesResolveField()
|