/art/libdexfile/dex/ |
D | dex_file-inl.h | 67 const TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() local 68 return StringDataAndUtf16LengthByIdx(type_id.descriptor_idx_, unicode_length); in StringByTypeIdx() 75 const TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() local 76 return StringDataByIdx(type_id.descriptor_idx_); in StringByTypeIdx() 79 inline const char* DexFile::GetTypeDescriptor(const TypeId& type_id) const { in GetTypeDescriptor() argument 80 return StringDataByIdx(type_id.descriptor_idx_); in GetTypeDescriptor() 84 const DexFile::TypeId& type_id = GetTypeId(field_id.type_idx_); in GetFieldTypeDescriptor() local 85 return GetTypeDescriptor(type_id); in GetFieldTypeDescriptor() 93 const DexFile::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor() local 94 return GetTypeDescriptor(type_id); in GetMethodDeclaringClassDescriptor()
|
D | dex_file.cc | 337 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() local 338 const DexFile::StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId() 346 return &type_id; in FindTypeId() 376 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() local 377 if (string_idx > type_id.descriptor_idx_) { in FindTypeId() 379 } else if (string_idx < type_id.descriptor_idx_) { in FindTypeId() 382 return &type_id; in FindTypeId() 460 const DexFile::TypeId* type_id = FindTypeId(descriptor.c_str()); in CreateTypeList() local 461 if (type_id == nullptr) { in CreateTypeList() 464 dex::TypeIndex type_idx = GetIndexForTypeId(*type_id); in CreateTypeList() [all …]
|
D | dex_file.h | 526 dex::TypeIndex GetIndexForTypeId(const TypeId& type_id) const { in GetIndexForTypeId() argument 527 CHECK_GE(&type_id, type_ids_) << GetLocation(); in GetIndexForTypeId() 528 CHECK_LT(&type_id, type_ids_ + header_->type_ids_size_) << GetLocation(); in GetIndexForTypeId() 529 size_t result = &type_id - type_ids_; in GetIndexForTypeId() 540 const char* GetTypeDescriptor(const TypeId& type_id) const; 575 const DexFile::TypeId& type_id = GetTypeId(field_id.class_idx_); in GetFieldDeclaringClassDescriptor() local 576 return GetTypeDescriptor(type_id); in GetFieldDeclaringClassDescriptor()
|
D | dex_file_verifier.cc | 1027 const DexFile::TypeId& type_id = dex_file_->GetTypeId(dex_file_->GetFieldId(index).type_idx_); in CheckStaticFieldTypes() local 1029 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); in CheckStaticFieldTypes() 2934 const DexFile::TypeId* type_id = in GetClassOrError() local 2939 return GetStringOrError(begin, header, type_id->descriptor_idx_); in GetClassOrError()
|
/art/runtime/ |
D | type_lookup_table.cc | 82 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in TypeLookupTable() local 83 const DexFile::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in TypeLookupTable() 96 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in TypeLookupTable() local 97 const DexFile::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in TypeLookupTable()
|
D | class_linker_test.cc | 433 const DexFile::TypeId& type_id = dex.GetTypeId(dex::TypeIndex(i)); in AssertDexFile() local 434 const char* descriptor = dex.GetTypeDescriptor(type_id); in AssertDexFile() 1309 const DexFile::TypeId* type_id = dex_file->FindTypeId("LStaticsFromCode;"); in TEST_F() local 1310 ASSERT_TRUE(type_id != nullptr); in TEST_F() 1311 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F()
|
D | oat_file.cc | 1820 const DexFile::TypeId* type_id = dex_file.FindTypeId(descriptor); in FindClassDef() local 1821 if (type_id != nullptr) { in FindClassDef() 1822 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id); in FindClassDef()
|
D | debugger.cc | 1150 JDWP::RefTypeId type_id = gRegistry->AddRefType(o->GetClass()); in GetReferenceType() local 1153 expandBufAddRefTypeId(pReply, type_id); in GetReferenceType()
|
/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 | 256 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) { in GetSignatureForProtoId() 257 result += type_id->GetStringId()->Data(); in GetSignatureForProtoId() 553 dex_ir::TypeId* type_id = data->GetTypeId(); in DumpEncodedValue() local 554 fputs(type_id->GetStringId()->Data(), out_file_); in DumpEncodedValue() 816 const dex_ir::TypeId* type_id = handler->GetTypeId(); in DumpCatches() local 817 const char* descriptor = (type_id == nullptr) ? "<any>" : type_id->GetStringId()->Data(); in DumpCatches() 1095 dex_ir::TypeId* type_id = collections.GetTypeIdOrNullPtr(idx); in StringDataByTypeIdx() local 1096 if (type_id == nullptr) { in StringDataByTypeIdx() 1099 dex_ir::StringId* string_id = type_id->GetStringId(); in StringDataByTypeIdx() 1149 for (const dex_ir::TypeId* type_id : *parameter_type_vector) { in DumpCode() [all …]
|
D | dex_ir.cc | 330 TypeId* type_id = new TypeId(GetStringId(disk_type_id.descriptor_idx_.index_)); in CreateTypeId() local 331 AddIndexedItem(type_ids_, type_id, TypeIdsOffset() + i * TypeId::ItemSize(), i); in CreateTypeId() 623 const TypeId* type_id = GetTypeIdOrNullPtr(type_index.index_); in DedupeOrCreateCodeItem() local 624 catch_all |= type_id == nullptr; in DedupeOrCreateCodeItem() 626 new TypeAddrPair(type_id, it.GetHandlerAddress()))); in DedupeOrCreateCodeItem() 664 const TypeId* type_id = GetTypeIdOrNullPtr(DecodeUnsignedLeb128(&handlers_data)); in DedupeOrCreateCodeItem() local 667 std::unique_ptr<const TypeAddrPair>(new TypeAddrPair(type_id, addr))); in DedupeOrCreateCodeItem()
|
D | dex_writer.cc | 270 for (std::unique_ptr<dex_ir::TypeId>& type_id : header_->GetCollections().TypeIds()) { in WriteTypeIds() 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 | 85 virtual void Dispatch(const TypeId* type_id) = 0; 798 void SetTypeId(TypeId* type_id) { u_.type_val_ = type_id; } in SetTypeId() argument 976 TypeAddrPair(const TypeId* type_id, uint32_t address) : type_id_(type_id), address_(address) { } in TypeAddrPair() argument
|
/art/runtime/dex/ |
D | art_dex_file_loader_test.cc | 239 const DexFile::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()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 103 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); in GetClassDescriptorStringId() local 106 CHECK_EQ(GetIdFromString(dex_file, klass->GetDescriptor(&temp)), type_id.descriptor_idx_); in GetClassDescriptorStringId() 108 return type_id.descriptor_idx_; in GetClassDescriptorStringId() 121 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx); in TryGetClassDescriptorStringId() local 124 if (strcmp(dex_file.GetTypeDescriptor(type_id), in TryGetClassDescriptorStringId() 126 return type_id.descriptor_idx_; in TryGetClassDescriptorStringId()
|
/art/profman/ |
D | profman.cc | 593 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_index); in GetClassNamesAndMethods() local 594 out_lines->insert(std::string(dex_file->GetTypeDescriptor(type_id))); in GetClassNamesAndMethods() 760 const DexFile::TypeId* type_id = dex_file->FindTypeId(klass_descriptor.c_str()); in FindClass() local 761 if (type_id == nullptr) { in FindClass() 764 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id); in FindClass()
|
/art/runtime/mirror/ |
D | class.cc | 1020 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); in GetDescriptor() local 1021 return dex_file.GetTypeDescriptor(type_id); in GetDescriptor() 1260 const DexFile::TypeId* type_id = dex_file.FindTypeId(GetDescriptor(&temp)); in FindTypeIndexInOtherDexFile() local 1261 return (type_id == nullptr) ? dex::TypeIndex() : dex_file.GetIndexForTypeId(*type_id); in FindTypeIndexInOtherDexFile()
|
D | class-inl.h | 888 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); in DescriptorEquals() local 889 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0; in DescriptorEquals()
|
/art/compiler/ |
D | verifier_deps_test.cc | 253 const DexFile::TypeId* type_id = dex_file.FindTypeId(cls.c_str()); in HasUnverifiedClass() local 254 DCHECK(type_id != nullptr); in HasUnverifiedClass() 255 dex::TypeIndex index = dex_file.GetIndexForTypeId(*type_id); in HasUnverifiedClass()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1311 const DexFile::TypeId* type_id = dex->FindTypeId("LManyMethods;"); in TEST_F() local 1312 dex::TypeIndex type_idx = dex->GetIndexForTypeId(*type_id); in TEST_F() 1415 const DexFile::TypeId* type_id = dex_file->FindTypeId("LManyMethods;"); in TEST_F() local 1416 ASSERT_TRUE(type_id != nullptr); in TEST_F() 1417 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F()
|
/art/runtime/jit/ |
D | profile_compilation_info.cc | 2038 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_idx); in GetClassDescriptors() local 2039 ret.insert(dex_file->GetTypeDescriptor(type_id)); in GetClassDescriptors()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 1142 const DexFile::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); in LoadImageClasses() local 1143 const char* descriptor = dex_file->GetTypeDescriptor(type_id); in LoadImageClasses()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1641 const DexFile::TypeId& type_id = in IsImageClass() local 1643 const char* class_descriptor = dex_file_->GetTypeDescriptor(type_id); in IsImageClass()
|