/art/runtime/ |
H A D | field_helper.cc | 34 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index); local 35 mirror::Class* type = field_->GetDexCache()->GetResolvedType(field_id.type_idx_); 37 type = Runtime::Current()->GetClassLinker()->ResolveType(field_id.type_idx_, field_.Get());
|
H A D | dex_file.h | 553 uint32_t GetIndexForFieldId(const FieldId& field_id) const { 554 CHECK_GE(&field_id, field_ids_) << GetLocation(); 555 CHECK_LT(&field_id, field_ids_ + header_->field_ids_size_) << GetLocation(); 556 return &field_id - field_ids_; 565 const char* GetFieldDeclaringClassDescriptor(const FieldId& field_id) const { 566 const DexFile::TypeId& type_id = GetTypeId(field_id.class_idx_); 571 const char* GetFieldTypeDescriptor(const FieldId& field_id) const { 572 const DexFile::TypeId& type_id = GetTypeId(field_id.type_idx_); 577 const char* GetFieldName(const FieldId& field_id) const { 578 return StringDataByIdx(field_id [all...] |
H A 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)
|
H A D | debugger.cc | 1516 std::string Dbg::GetFieldName(JDWP::FieldId field_id) 1518 mirror::ArtField* f = FromFieldId(field_id); 1765 void Dbg::OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value, argument 1767 mirror::ArtField* f = FromFieldId(field_id); 1789 JDWP::JdwpTag Dbg::GetFieldBasicTag(JDWP::FieldId field_id) { argument 1790 return BasicTagFromDescriptor(FromFieldId(field_id)->GetTypeDescriptor()); 1793 JDWP::JdwpTag Dbg::GetStaticFieldBasicTag(JDWP::FieldId field_id) { argument 1794 return BasicTagFromDescriptor(FromFieldId(field_id)->GetTypeDescriptor()); 1798 JDWP::FieldId field_id, JDWP::ExpandBuf* pReply, 1811 mirror::ArtField* f = FromFieldId(field_id); 1854 GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id, JDWP::ExpandBuf* pReply) argument 1859 GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id, JDWP::ExpandBuf* pReply) argument 1924 SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id, uint64_t value, int width) argument 1929 SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width) argument [all...] |
H A D | utils.cc | 312 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx); local 315 result += dex_file.GetFieldTypeDescriptor(field_id); 318 result += PrettyDescriptor(dex_file.GetFieldDeclaringClassDescriptor(field_id)); 320 result += dex_file.GetFieldName(field_id);
|
H A D | class_linker.cc | 2330 const DexFile::FieldId& field_id = dex_file.GetFieldId(it.GetMemberIndex()); local 2331 const char* descriptor = dex_file.GetFieldTypeDescriptor(field_id); 5834 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx); local 5838 hs.NewHandle(ResolveType(dex_file, field_id.class_idx_, dex_cache, class_loader))); 5851 const char* name = dex_file.GetFieldName(field_id); 5852 const char* type = dex_file.GetFieldTypeDescriptor(field_id); 5876 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx); local 5880 hs.NewHandle(ResolveType(dex_file, field_id.class_idx_, dex_cache, class_loader))); 5886 StringPiece name(dex_file.StringDataByIdx(field_id.name_idx_)); 5888 dex_file.GetTypeId(field_id [all...] |
/art/compiler/dex/ |
H A D | local_value_numbering.cc | 58 uint16_t field_id) { 59 uint16_t type = gvn->GetFieldType(field_id); 60 return gvn->LookupValue(kAliasingIFieldStartVersionOp, field_id, 71 uint16_t field_id, uint16_t base, uint16_t memory_version) { 72 return gvn->LookupValue(kAliasingIFieldOp, field_id, base, memory_version); 76 uint16_t field_id, uint16_t base) { 77 // If the base/field_id is non-aliasing in lvn, use the non-aliasing value. 78 uint16_t type = gvn->GetFieldType(field_id); 79 if (lvn->IsNonAliasingIField(base, field_id, type)) { 80 uint16_t loc = gvn->LookupValue(kNonAliasingIFieldLocOp, base, field_id, typ 57 StartMemoryVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, uint16_t field_id) argument 70 LookupGlobalValue(GlobalValueNumbering* gvn, uint16_t field_id, uint16_t base, uint16_t memory_version) argument 75 LookupMergeValue(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, uint16_t field_id, uint16_t base) argument 90 HasNewBaseVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, uint16_t field_id) argument 97 LookupMergeBlockValue(GlobalValueNumbering* gvn, uint16_t lvn_id, uint16_t field_id) argument 102 LookupMergeLocationValue(GlobalValueNumbering* gvn, uint16_t lvn_id, uint16_t field_id, uint16_t base) argument 671 uint16_t field_id = entry.first; local 945 IsNonAliasingIField(uint16_t reg, uint16_t field_id, uint16_t type) const argument 1155 uint16_t field_id = gvn_->GetFieldId(field_info, type); local 1212 uint16_t field_id = gvn_->GetFieldId(field_info, type); local 1261 uint16_t field_id = gvn_->GetFieldId(field_info, type); local 1299 uint16_t field_id = gvn_->GetFieldId(field_info, type); local [all...] |
H A D | local_value_numbering.h | 160 // Maps instance field "location" (derived from base, field_id and type) to value name. 169 uint16_t field_id; // None (kNoValue) for arrays and unresolved instance field stores. member in struct:art::LocalValueNumbering::EscapedIFieldClobberKey 173 return base == other.base && type == other.type && field_id == other.field_id; 183 // Compare type second. This makes the type-clobber entries (field_id == kNoValue) last 189 return lhs.field_id < rhs.field_id; 297 bool IsNonAliasingIField(uint16_t reg, uint16_t field_id, uint16_t type) const;
|
H A D | global_value_numbering.h | 135 uint16_t GetFieldType(uint16_t field_id) { argument 136 DCHECK_LT(field_id, field_index_reverse_map_.size()); 137 return field_index_reverse_map_[field_id]->first.type;
|
/art/runtime/jdwp/ |
H A D | jdwp_event.cc | 978 FieldId field_id = Dbg::ToFieldId(field); local 987 << Dbg::GetClassName(field_id); 988 VLOG(jdwp) << StringPrintf(" field=%#" PRIx32, field_id) << " " 989 << Dbg::GetFieldName(field_id); 1014 expandBufAddFieldId(pReq, field_id); 1018 Dbg::OutputFieldValue(field_id, fieldValue, pReq);
|
H A D | jdwp.h | 386 std::string DescribeField(const FieldId& field_id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
H A D | jdwp_handler.cc | 40 std::string DescribeField(const FieldId& field_id) { argument 41 return StringPrintf("%#x (%s)", field_id, Dbg::GetFieldName(field_id).c_str());
|
/art/runtime/mirror/ |
H A D | art_field-inl.h | 264 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index); local 265 return dex_file->GetFieldTypeDescriptor(field_id);
|
H A D | object_test.cc | 350 const DexFile::FieldId* field_id = dex_file->FindFieldId( local 352 ASSERT_TRUE(field_id != NULL); 353 uint32_t field_idx = dex_file->GetIndexForFieldId(*field_id);
|
/art/runtime/verifier/ |
H A D | method_verifier.cc | 3659 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx); local 3661 RegType& klass_type = ResolveClassAndCheckAccess(field_id.class_idx_); 3664 field_idx, dex_file_->GetFieldName(field_id), 3665 dex_file_->GetFieldDeclaringClassDescriptor(field_id))); 3676 << dex_file_->GetFieldName(field_id) << ") in " 3677 << dex_file_->GetFieldDeclaringClassDescriptor(field_id); 3694 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx); local 3696 RegType& klass_type = ResolveClassAndCheckAccess(field_id.class_idx_); 3699 field_idx, dex_file_->GetFieldName(field_id), 3700 dex_file_->GetFieldDeclaringClassDescriptor(field_id))); 3800 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx); local [all...] |
/art/runtime/native/ |
H A D | dalvik_system_VMRuntime.cc | 281 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_idx); local 284 Handle<mirror::Class> klass(hs.NewHandle(dex_cache->GetResolvedType(field_id.class_idx_)));
|