/art/libdexfile/dex/ |
D | dex_file-inl.h | 85 const dex::TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() local 86 return StringDataAndUtf16LengthByIdx(type_id.descriptor_idx_, unicode_length); in StringByTypeIdx() 93 const dex::TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() local 94 return StringDataByIdx(type_id.descriptor_idx_); in StringByTypeIdx() 97 inline const char* DexFile::GetTypeDescriptor(const dex::TypeId& type_id) const { in GetTypeDescriptor() argument 98 return StringDataByIdx(type_id.descriptor_idx_); in GetTypeDescriptor() 102 const dex::TypeId& type_id = GetTypeId(field_id.type_idx_); in GetFieldTypeDescriptor() local 103 return GetTypeDescriptor(type_id); in GetFieldTypeDescriptor() 112 const dex::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor() local 113 return GetTypeDescriptor(type_id); in GetMethodDeclaringClassDescriptor()
|
D | dex_file.cc | 334 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() local 335 const StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId() 343 return &type_id; in FindTypeId() 354 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() local 355 if (string_idx > type_id.descriptor_idx_) { in FindTypeId() 357 } else if (string_idx < type_id.descriptor_idx_) { in FindTypeId() 360 return &type_id; in FindTypeId() 439 const TypeId* type_id = FindTypeId(descriptor.c_str()); in CreateTypeList() local 440 if (type_id == nullptr) { in CreateTypeList() 443 dex::TypeIndex type_idx = GetIndexForTypeId(*type_id); in CreateTypeList() [all …]
|
D | type_lookup_table.cc | 51 const dex::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in Create() local 52 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create() 66 const dex::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in Create() local 67 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create()
|
D | art_dex_file_loader_test.cc | 239 const dex::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); in TEST_F() local 240 ASSERT_EQ(type_id, java_lang_dex_file_->FindTypeId(type_str)); in TEST_F() 241 ASSERT_TRUE(type_id != nullptr); in TEST_F() 242 EXPECT_EQ(java_lang_dex_file_->GetIndexForTypeId(*type_id).index_, i); in TEST_F()
|
D | dex_file.h | 291 dex::TypeIndex GetIndexForTypeId(const dex::TypeId& type_id) const { in GetIndexForTypeId() argument 292 CHECK_GE(&type_id, type_ids_) << GetLocation(); in GetIndexForTypeId() 293 CHECK_LT(&type_id, type_ids_ + header_->type_ids_size_) << GetLocation(); in GetIndexForTypeId() 294 size_t result = &type_id - type_ids_; in GetIndexForTypeId() 305 const char* GetTypeDescriptor(const dex::TypeId& type_id) const; 340 const dex::TypeId& type_id = GetTypeId(field_id.class_idx_); in GetFieldDeclaringClassDescriptor() local 341 return GetTypeDescriptor(type_id); in GetFieldDeclaringClassDescriptor()
|
D | dex_file_verifier.cc | 149 const dex::TypeId* type_id = in GetClass() local 155 return GetString(begin, header, type_id->descriptor_idx_); in GetClass() 1145 const dex::TypeId& type_id = dex_file_->GetTypeId(dex_file_->GetFieldId(index).type_idx_); in CheckStaticFieldTypes() local 1147 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); in CheckStaticFieldTypes() 1236 const dex::TypeId* type_id = reinterpret_cast<const dex::TypeId*>(ptr_); in CheckIntraTypeIdItem() local 1237 if (!CheckIndex(type_id->descriptor_idx_.index_, in CheckIntraTypeIdItem()
|
/art/dexlayout/ |
D | dex_visualize.cc | 125 void DumpTypeId(const dex_ir::TypeId* type_id, int class_index) { in DumpTypeId() argument 126 DumpAddressRange(type_id, class_index); in DumpTypeId() 127 DumpStringId(type_id->GetStringId(), class_index); in DumpTypeId() 193 for (dex_ir::TypeId* type_id : fixups->TypeIds()) { in DumpMethodItem() 194 DumpTypeId(type_id, class_index); in DumpMethodItem()
|
D | dexlayout.cc | 243 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) { in GetSignatureForProtoId() 244 result += type_id->GetStringId()->Data(); in GetSignatureForProtoId() 540 dex_ir::TypeId* type_id = data->GetTypeId(); in DumpEncodedValue() local 541 fputs(type_id->GetStringId()->Data(), out_file_); in DumpEncodedValue() 802 const dex_ir::TypeId* type_id = handler->GetTypeId(); in DumpCatches() local 803 const char* descriptor = (type_id == nullptr) ? "<any>" : type_id->GetStringId()->Data(); in DumpCatches() 1061 dex_ir::TypeId* type_id = header->GetTypeIdOrNullPtr(idx); in StringDataByTypeIdx() local 1062 if (type_id == nullptr) { in StringDataByTypeIdx() 1065 dex_ir::StringId* string_id = type_id->GetStringId(); in StringDataByTypeIdx() 1120 for (const dex_ir::TypeId* type_id : *parameter_type_vector) { in DumpCode() [all …]
|
D | dex_writer.cc | 270 for (auto& type_id : header_->TypeIds()) { in WriteTypeIds() local 272 ProcessOffset(stream, type_id.get()); in WriteTypeIds() 273 descriptor_idx[0] = type_id->GetStringId()->GetIndex(); in WriteTypeIds() 274 stream->Write(descriptor_idx, type_id->GetSize()); in WriteTypeIds() 290 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) { in WriteTypeLists() 291 list[0] = type_id->GetIndex(); in WriteTypeLists()
|
D | dex_ir.h | 87 virtual void Dispatch(const TypeId* type_id) = 0; 780 void SetTypeId(TypeId* type_id) { u_.type_val_ = type_id; } in SetTypeId() argument 956 TypeAddrPair(const TypeId* type_id, uint32_t address) : type_id_(type_id), address_(address) { } in TypeAddrPair() argument
|
D | dex_ir_builder.cc | 847 const TypeId* type_id = header_->GetTypeIdOrNullPtr(type_index.index_); in DedupeOrCreateCodeItem() local 848 catch_all |= type_id == nullptr; in DedupeOrCreateCodeItem() 850 new TypeAddrPair(type_id, it.GetHandlerAddress()))); in DedupeOrCreateCodeItem() 888 const TypeId* type_id = in DedupeOrCreateCodeItem() local 892 std::unique_ptr<const TypeAddrPair>(new TypeAddrPair(type_id, addr))); in DedupeOrCreateCodeItem()
|
/art/profman/ |
D | boot_image_profile.cc | 43 const dex::TypeId& type_id = ref.dex_file->GetTypeId(ref.TypeIndex()); in GetTypeDescriptor() local 44 return ref.dex_file->GetTypeDescriptor(type_id); in GetTypeDescriptor()
|
D | profman.cc | 748 const dex::TypeId& type_id = dex_file->GetTypeId(type_index); in GetClassNamesAndMethods() local 749 out_lines->insert(std::string(dex_file->GetTypeDescriptor(type_id))); in GetClassNamesAndMethods() 921 const dex::TypeId* type_id = dex_file->FindTypeId(klass_descriptor.c_str()); in FindClass() local 922 if (type_id == nullptr) { in FindClass() 925 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id); in FindClass()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 120 const dex::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); in GetClassDescriptorStringId() local 123 CHECK_EQ(GetIdFromString(dex_file, klass->GetDescriptor(&temp)), type_id.descriptor_idx_); in GetClassDescriptorStringId() 125 return type_id.descriptor_idx_; in GetClassDescriptorStringId() 138 const dex::TypeId& type_id = dex_file.GetTypeId(type_idx); in TryGetClassDescriptorStringId() local 141 if (strcmp(dex_file.GetTypeDescriptor(type_id), in TryGetClassDescriptorStringId() 143 return type_id.descriptor_idx_; in TryGetClassDescriptorStringId()
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 167 const dex::TypeId* type_id = dex_file.FindTypeId(desc); in FindClass() local 168 CHECK(type_id != nullptr) << "Could not find class " << desc; in FindClass() 169 const dex::ClassDef* found = dex_file.FindClassDef(dex_file.GetIndexForTypeId(*type_id)); in FindClass()
|
/art/runtime/mirror/ |
D | class.cc | 1171 const dex::TypeId& type_id = dex_file.GetTypeId(klass->GetDexTypeIndex()); in GetDescriptor() local 1172 descriptor = dex_file.GetTypeDescriptor(type_id); in GetDescriptor() 1416 const dex::TypeId* type_id = dex_file.FindTypeId(GetDescriptor(&temp)); in FindTypeIndexInOtherDexFile() local 1417 return (type_id == nullptr) ? dex::TypeIndex() : dex_file.GetIndexForTypeId(*type_id); in FindTypeIndexInOtherDexFile()
|
D | class-inl.h | 882 const dex::TypeId& type_id = dex_file.GetTypeId(klass->GetDexTypeIndex()); in DescriptorEquals() local 883 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0; in DescriptorEquals()
|
/art/dex2oat/ |
D | verifier_deps_test.cc | 251 const dex::TypeId* type_id = dex_file.FindTypeId(cls.c_str()); in GetClassDefIndex() local 252 DCHECK(type_id != nullptr); in GetClassDefIndex() 253 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id); in GetClassDefIndex()
|
D | dex2oat_test.cc | 1372 const dex::TypeId* type_id = dex->FindTypeId("LManyMethods;"); in TEST_F() local 1373 dex::TypeIndex type_idx = dex->GetIndexForTypeId(*type_id); in TEST_F() 1471 const dex::TypeId* type_id = dex_file->FindTypeId("LManyMethods;"); in TEST_F() local 1472 ASSERT_TRUE(type_id != nullptr); in TEST_F() 1473 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F()
|
/art/runtime/ |
D | class_linker_test.cc | 440 const dex::TypeId& type_id = dex.GetTypeId(dex::TypeIndex(i)); in AssertDexFile() local 441 const char* descriptor = dex.GetTypeDescriptor(type_id); in AssertDexFile() 1333 const dex::TypeId* type_id = dex_file->FindTypeId("LStaticsFromCode;"); in TEST_F() local 1334 ASSERT_TRUE(type_id != nullptr); in TEST_F() 1335 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F()
|
D | oat_file.cc | 2034 const dex::TypeId* type_id = dex_file.FindTypeId(descriptor); in FindClassDef() local 2035 if (type_id != nullptr) { in FindClassDef() 2036 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id); in FindClassDef()
|
/art/dexdump/ |
D | dexdump.cc | 1760 const dex::TypeId& type_id = pDexFile->GetTypeId(type_idx); in dumpCallSite() local 1761 value = pDexFile->GetTypeDescriptor(type_id); in dumpCallSite()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 2132 const dex::TypeId& type_id = dex_file->GetTypeId(type_idx); in GetClassDescriptors() local 2133 ret.insert(dex_file->GetTypeDescriptor(type_id)); in GetClassDescriptors()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 1140 const dex::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); in LoadImageClasses() local 1141 const char* descriptor = dex_file->GetTypeDescriptor(type_id); in LoadImageClasses()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1613 const dex::TypeId& type_id = in IsImageClass() local 1615 const char* class_descriptor = dex_file_->GetTypeDescriptor(type_id); in IsImageClass()
|