/art/libdexfile/dex/ |
D | dex_file-inl.h | 84 const dex::TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() local 85 return StringDataAndUtf16LengthByIdx(type_id.descriptor_idx_, unicode_length); in StringByTypeIdx() 92 const dex::TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() local 93 return StringDataByIdx(type_id.descriptor_idx_); in StringByTypeIdx() 96 inline const char* DexFile::GetTypeDescriptor(const dex::TypeId& type_id) const { in GetTypeDescriptor() argument 97 return StringDataByIdx(type_id.descriptor_idx_); in GetTypeDescriptor() 101 const dex::TypeId& type_id = GetTypeId(field_id.type_idx_); in GetFieldTypeDescriptor() local 102 return GetTypeDescriptor(type_id); in GetFieldTypeDescriptor() 111 const dex::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor() local 112 return GetTypeDescriptor(type_id); in GetMethodDeclaringClassDescriptor()
|
D | dex_file.cc | 333 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() local 334 const StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId() 342 return &type_id; in FindTypeId() 353 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() local 354 if (string_idx > type_id.descriptor_idx_) { in FindTypeId() 356 } else if (string_idx < type_id.descriptor_idx_) { in FindTypeId() 359 return &type_id; in FindTypeId() 438 const TypeId* type_id = FindTypeId(descriptor.c_str()); in CreateTypeList() local 439 if (type_id == nullptr) { in CreateTypeList() 442 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 | 288 dex::TypeIndex GetIndexForTypeId(const dex::TypeId& type_id) const { in GetIndexForTypeId() argument 289 CHECK_GE(&type_id, type_ids_) << GetLocation(); in GetIndexForTypeId() 290 CHECK_LT(&type_id, type_ids_ + header_->type_ids_size_) << GetLocation(); in GetIndexForTypeId() 291 size_t result = &type_id - type_ids_; in GetIndexForTypeId() 302 const char* GetTypeDescriptor(const dex::TypeId& type_id) const; 337 const dex::TypeId& type_id = GetTypeId(field_id.class_idx_); in GetFieldDeclaringClassDescriptor() local 338 return GetTypeDescriptor(type_id); in GetFieldDeclaringClassDescriptor()
|
D | dex_file_verifier.cc | 980 const dex::TypeId& type_id = dex_file_->GetTypeId(dex_file_->GetFieldId(index).type_idx_); in CheckStaticFieldTypes() local 982 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); in CheckStaticFieldTypes() 3084 const dex::TypeId* type_id = in GetClassOrError() local 3089 return GetStringOrError(begin, header, type_id->descriptor_idx_); in GetClassOrError()
|
/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 | 242 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) { in GetSignatureForProtoId() 243 result += type_id->GetStringId()->Data(); in GetSignatureForProtoId() 539 dex_ir::TypeId* type_id = data->GetTypeId(); in DumpEncodedValue() local 540 fputs(type_id->GetStringId()->Data(), out_file_); in DumpEncodedValue() 801 const dex_ir::TypeId* type_id = handler->GetTypeId(); in DumpCatches() local 802 const char* descriptor = (type_id == nullptr) ? "<any>" : type_id->GetStringId()->Data(); in DumpCatches() 1060 dex_ir::TypeId* type_id = header->GetTypeIdOrNullPtr(idx); in StringDataByTypeIdx() local 1061 if (type_id == nullptr) { in StringDataByTypeIdx() 1064 dex_ir::StringId* string_id = type_id->GetStringId(); in StringDataByTypeIdx() 1119 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 | 846 const TypeId* type_id = header_->GetTypeIdOrNullPtr(type_index.index_); in DedupeOrCreateCodeItem() local 847 catch_all |= type_id == nullptr; in DedupeOrCreateCodeItem() 849 new TypeAddrPair(type_id, it.GetHandlerAddress()))); in DedupeOrCreateCodeItem() 887 const TypeId* type_id = in DedupeOrCreateCodeItem() local 891 std::unique_ptr<const TypeAddrPair>(new TypeAddrPair(type_id, addr))); in DedupeOrCreateCodeItem()
|
/art/profman/ |
D | profman.cc | 651 const dex::TypeId& type_id = dex_file->GetTypeId(type_index); in GetClassNamesAndMethods() local 652 out_lines->insert(std::string(dex_file->GetTypeDescriptor(type_id))); in GetClassNamesAndMethods() 823 const dex::TypeId* type_id = dex_file->FindTypeId(klass_descriptor.c_str()); in FindClass() local 824 if (type_id == nullptr) { in FindClass() 827 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 | 168 const dex::TypeId* type_id = dex_file.FindTypeId(desc); in FindClass() local 169 CHECK(type_id != nullptr) << "Could not find class " << desc; in FindClass() 170 const dex::ClassDef* found = dex_file.FindClassDef(dex_file.GetIndexForTypeId(*type_id)); in FindClass()
|
/art/runtime/mirror/ |
D | class.cc | 1023 const dex::TypeId& type_id = dex_file.GetTypeId(klass->GetDexTypeIndex()); in GetDescriptor() local 1024 descriptor = dex_file.GetTypeDescriptor(type_id); in GetDescriptor() 1267 const dex::TypeId* type_id = dex_file.FindTypeId(GetDescriptor(&temp)); in FindTypeIndexInOtherDexFile() local 1268 return (type_id == nullptr) ? dex::TypeIndex() : dex_file.GetIndexForTypeId(*type_id); in FindTypeIndexInOtherDexFile()
|
D | class-inl.h | 856 const dex::TypeId& type_id = dex_file.GetTypeId(klass->GetDexTypeIndex()); in DescriptorEquals() local 857 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 | 1340 const dex::TypeId* type_id = dex->FindTypeId("LManyMethods;"); in TEST_F() local 1341 dex::TypeIndex type_idx = dex->GetIndexForTypeId(*type_id); in TEST_F() 1440 const dex::TypeId* type_id = dex_file->FindTypeId("LManyMethods;"); in TEST_F() local 1441 ASSERT_TRUE(type_id != nullptr); in TEST_F() 1442 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F()
|
/art/runtime/ |
D | class_linker_test.cc | 439 const dex::TypeId& type_id = dex.GetTypeId(dex::TypeIndex(i)); in AssertDexFile() local 440 const char* descriptor = dex.GetTypeDescriptor(type_id); in AssertDexFile() 1326 const dex::TypeId* type_id = dex_file->FindTypeId("LStaticsFromCode;"); in TEST_F() local 1327 ASSERT_TRUE(type_id != nullptr); in TEST_F() 1328 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F()
|
D | oat_file.cc | 2043 const dex::TypeId* type_id = dex_file.FindTypeId(descriptor); in FindClassDef() local 2044 if (type_id != nullptr) { in FindClassDef() 2045 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id); in FindClassDef()
|
D | debugger.cc | 1145 JDWP::RefTypeId type_id = gRegistry->AddRefType(o->GetClass()); in GetReferenceType() local 1148 expandBufAddRefTypeId(pReply, type_id); in GetReferenceType()
|
/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 | 2212 const dex::TypeId& type_id = dex_file->GetTypeId(type_idx); in GetClassDescriptors() local 2213 ret.insert(dex_file->GetTypeDescriptor(type_id)); in GetClassDescriptors()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 1101 const dex::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); in LoadImageClasses() local 1102 const char* descriptor = dex_file->GetTypeDescriptor(type_id); in LoadImageClasses()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1591 const dex::TypeId& type_id = in IsImageClass() local 1593 const char* class_descriptor = dex_file_->GetTypeDescriptor(type_id); in IsImageClass()
|