/art/runtime/ |
D | sdk_checker.cc | 110 const dex::TypeId* type_id = dex_file->FindTypeId(type_descriptor); in ShouldDenyAccess() local 111 if (type_id == nullptr) { in ShouldDenyAccess() 115 const dex::FieldId* field_id = dex_file->FindFieldId(*declaring_type_id, *name_id, *type_id); in ShouldDenyAccess() 137 const dex::TypeId* type_id = dex_file->FindTypeId(descriptor); in ShouldDenyAccess() local 138 if (type_id != nullptr) { in ShouldDenyAccess() 139 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id); in ShouldDenyAccess()
|
D | class_linker_test.cc | 436 const dex::TypeId& type_id = dex.GetTypeId(dex::TypeIndex(i)); in AssertDexFile() local 437 const char* descriptor = dex.GetTypeDescriptor(type_id); in AssertDexFile() 1344 const dex::TypeId* type_id = dex_file->FindTypeId("LStaticsFromCode;"); in TEST_F() local 1345 ASSERT_TRUE(type_id != nullptr); in TEST_F() 1346 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F()
|
/art/libdexfile/dex/ |
D | type_lookup_table.cc | 47 const dex::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in Create() local 48 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create() 62 const dex::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in Create() local 63 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create()
|
D | dex_file.cc | 471 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() local 472 std::string_view mid_descriptor = GetTypeDescriptorView(type_id); in FindTypeId() 479 return &type_id; in FindTypeId() 490 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() local 491 if (string_idx > type_id.descriptor_idx_) { in FindTypeId() 493 } else if (string_idx < type_id.descriptor_idx_) { in FindTypeId() 496 return &type_id; in FindTypeId() 574 const TypeId* type_id = FindTypeId(descriptor); in CreateTypeList() local 575 if (type_id == nullptr) { in CreateTypeList() 578 dex::TypeIndex type_idx = GetIndexForTypeId(*type_id); in CreateTypeList() [all …]
|
D | art_dex_file_loader_test.cc | 288 const dex::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); in TEST_F() local 289 ASSERT_EQ(type_id, java_lang_dex_file_->FindTypeId(type_str)); in TEST_F() 290 ASSERT_TRUE(type_id != nullptr); in TEST_F() 291 EXPECT_EQ(java_lang_dex_file_->GetIndexForTypeId(*type_id).index_, i); in TEST_F()
|
D | dex_file-inl.h | 102 inline const char* DexFile::GetTypeDescriptor(const dex::TypeId& type_id) const { in GetTypeDescriptor() argument 103 return GetStringData(type_id.descriptor_idx_); in GetTypeDescriptor() 110 inline std::string_view DexFile::GetTypeDescriptorView(const dex::TypeId& type_id) const { in GetTypeDescriptorView() argument 111 return GetStringView(type_id.descriptor_idx_); in GetTypeDescriptorView()
|
D | dex_file.h | 378 dex::TypeIndex GetIndexForTypeId(const dex::TypeId& type_id) const { in GetIndexForTypeId() argument 379 CHECK_GE(&type_id, type_ids_) << GetLocation(); in GetIndexForTypeId() 380 CHECK_LT(&type_id, type_ids_ + header_->type_ids_size_) << GetLocation(); in GetIndexForTypeId() 381 size_t result = &type_id - type_ids_; in GetIndexForTypeId() 387 const char* GetTypeDescriptor(const dex::TypeId& type_id) const; 389 std::string_view GetTypeDescriptorView(const dex::TypeId& type_id) const;
|
D | dex_file_verifier.cc | 196 const dex::TypeId& type_id = OffsetToPtr<dex::TypeId>(header_->type_ids_off_)[class_idx.index_]; in GetClass() local 201 return GetString(type_id.descriptor_idx_); in GetClass() 1275 const dex::TypeId& type_id = dex_file_->GetTypeId(dex_file_->GetFieldId(index).type_idx_); in CheckStaticFieldTypes() local 1277 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); in CheckStaticFieldTypes() 1369 const dex::TypeId* type_id = reinterpret_cast<const dex::TypeId*>(ptr_); in CheckIntraTypeIdItem() local 1370 if (!CheckIndex(type_id->descriptor_idx_.index_, in CheckIntraTypeIdItem()
|
/art/dex2oat/ |
D | dex2oat_vdex_test.cc | 99 const dex::TypeId* type_id = dex_file.FindTypeId(cls.c_str()); in GetClassDefIndex() local 100 DCHECK(type_id != nullptr); in GetClassDefIndex() 101 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id); in GetClassDefIndex()
|
D | verifier_deps_test.cc | 237 const dex::TypeId* type_id = dex_file.FindTypeId(cls.c_str()); in GetClassDefIndex() local 238 DCHECK(type_id != nullptr); in GetClassDefIndex() 239 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id); in GetClassDefIndex()
|
/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 | 1071 const dex::TypeId* type_id = dex_file->FindTypeId(klass_descriptor); in FindClassDef() local 1072 if (type_id != nullptr) { in FindClassDef() 1073 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id); in FindClassDef() 1092 const dex::TypeId* type_id = dex_file->FindTypeId(klass_descriptor); in FindClass() local 1093 if (type_id != nullptr) { in FindClass() 1094 *class_ref = TypeReference(dex_file, dex_file->GetIndexForTypeId(*type_id)); in FindClass() 1554 const dex::TypeId *type_id = class_ref.dex_file->FindTypeId(receiver_descriptor); in ProcessLine() local 1555 if (type_id == nullptr) { in ProcessLine() 1563 class_ref.dex_file->GetIndexForTypeId(*type_id); in ProcessLine()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 100 const dex::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); in GetClassDescriptorStringId() local 103 CHECK_EQ(GetIdFromString(dex_file, klass->GetDescriptor(&temp)), type_id.descriptor_idx_); in GetClassDescriptorStringId() 105 return type_id.descriptor_idx_; in GetClassDescriptorStringId()
|
/art/runtime/mirror/ |
D | class-inl.h | 846 const dex::TypeId& type_id = dex_file.GetTypeId(klass->GetDexTypeIndex()); in DescriptorEquals() local 847 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0; in DescriptorEquals() 866 const dex::TypeId& type_id = dex_file.GetTypeId(klass->GetDexTypeIndex()); in DescriptorHash() local 867 std::string_view descriptor = dex_file.GetTypeDescriptorView(type_id); in DescriptorHash()
|
D | class.cc | 1495 const dex::TypeId& type_id = dex_file.GetTypeId(klass->GetDexTypeIndex()); in GetDescriptor() local 1496 descriptor = dex_file.GetTypeDescriptor(type_id); in GetDescriptor() 1831 const dex::TypeId* type_id = dex_file.FindTypeId(descriptor); in FindTypeIndexInOtherDexFile() local 1832 return (type_id == nullptr) ? dex::TypeIndex() : dex_file.GetIndexForTypeId(*type_id); in FindTypeIndexInOtherDexFile()
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 169 const dex::TypeId* type_id = dex_file.FindTypeId(desc); in FindClass() local 170 CHECK(type_id != nullptr) << "Could not find class " << desc; in FindClass() 171 const dex::ClassDef* found = dex_file.FindClassDef(dex_file.GetIndexForTypeId(*type_id)); in FindClass()
|
/art/runtime/oat/ |
D | oat_file.cc | 2364 const dex::TypeId* type_id = dex_file.FindTypeId(descriptor); in FindClassDef() local 2365 if (type_id != nullptr) { in FindClassDef() 2366 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id); in FindClassDef()
|
/art/dexdump/ |
D | dexdump.cc | 1873 const dex::TypeId& type_id = pDexFile->GetTypeId(type_idx); in dumpCallSite() local 1874 value = pDexFile->GetTypeDescriptor(type_id); in dumpCallSite()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 705 const dex::TypeId* type_id = dex_file.FindTypeId(descriptor); in FindOrCreateTypeIndex() local 706 if (type_id != nullptr) { in FindOrCreateTypeIndex() 707 return dex_file.GetIndexForTypeId(*type_id); in FindOrCreateTypeIndex()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1420 const dex::TypeId& type_id = in StartClass() local 1422 const char* class_descriptor = dex_file->GetTypeDescriptor(type_id); in StartClass()
|