/art/runtime/ |
H A D | type_lookup_table.cc | 82 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); local 83 const DexFile::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); 96 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); local 97 const DexFile::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_);
|
H A D | dex_file-inl.h | 65 const TypeId& type_id = GetTypeId(idx); local 66 return StringDataAndUtf16LengthByIdx(type_id.descriptor_idx_, unicode_length); 73 const TypeId& type_id = GetTypeId(idx); local 74 return StringDataByIdx(type_id.descriptor_idx_); 77 inline const char* DexFile::GetTypeDescriptor(const TypeId& type_id) const { 78 return StringDataByIdx(type_id.descriptor_idx_); 82 const DexFile::TypeId& type_id = GetTypeId(field_id.type_idx_); local 83 return GetTypeDescriptor(type_id); 91 const DexFile::TypeId& type_id = GetTypeId(method_id.class_idx_); local 92 return GetTypeDescriptor(type_id); [all...] |
H A D | dex_file_test.cc | 471 const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); local 472 ASSERT_EQ(type_id, java_lang_dex_file_->FindTypeId(type_str)); 473 ASSERT_TRUE(type_id != nullptr); 474 EXPECT_EQ(java_lang_dex_file_->GetIndexForTypeId(*type_id).index_, i);
|
H A D | class_linker_test.cc | 437 const DexFile::TypeId& type_id = dex.GetTypeId(dex::TypeIndex(i)); local 438 const char* descriptor = dex.GetTypeDescriptor(type_id); 1270 const DexFile::TypeId* type_id = dex_file->FindTypeId("LStaticsFromCode;"); local 1271 ASSERT_TRUE(type_id != nullptr); 1272 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id);
|
H A D | dex_file.cc | 775 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); local 776 const DexFile::StringId& str_id = GetStringId(type_id.descriptor_idx_); 784 return &type_id; 814 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); local 815 if (string_idx > type_id.descriptor_idx_) { 817 } else if (string_idx < type_id.descriptor_idx_) { 820 return &type_id; 898 const DexFile::TypeId* type_id = FindTypeId(descriptor.c_str()); local 899 if (type_id == nullptr) { 902 dex::TypeIndex type_idx = GetIndexForTypeId(*type_id); 1319 const DexFile::TypeId& type_id = GetTypeId(type_idx); local [all...] |
H A D | dex_file_verifier.cc | 1007 const DexFile::TypeId& type_id = dex_file_->GetTypeId(dex_file_->GetFieldId(index).type_idx_); local 1009 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); 2909 const DexFile::TypeId* type_id = local 2914 return GetStringOrError(begin, header, type_id->descriptor_idx_);
|
H A D | oat_file.cc | 1393 const DexFile::TypeId* type_id = dex_file.FindTypeId(descriptor); local 1394 if (type_id != nullptr) { 1395 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id);
|
H A D | dex_file.h | 595 dex::TypeIndex GetIndexForTypeId(const TypeId& type_id) const { 596 CHECK_GE(&type_id, type_ids_) << GetLocation(); 597 CHECK_LT(&type_id, type_ids_ + header_->type_ids_size_) << GetLocation(); 598 size_t result = &type_id - type_ids_; 609 const char* GetTypeDescriptor(const TypeId& type_id) const; 642 const DexFile::TypeId& type_id = GetTypeId(field_id.class_idx_); local 643 return GetTypeDescriptor(type_id);
|
H A D | debugger.cc | 1076 JDWP::RefTypeId type_id = gRegistry->AddRefType(o->GetClass()); local 1079 expandBufAddRefTypeId(pReply, type_id);
|
H A D | class_linker.cc | 8957 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_idx); local 8958 const char* descriptor = dex_file->GetTypeDescriptor(type_id);
|
/art/dexlayout/ |
H A D | dex_visualize.cc | 123 void DumpTypeId(const dex_ir::TypeId* type_id, int class_index) { argument 124 DumpAddressRange(type_id, class_index); 125 DumpStringId(type_id->GetStringId(), class_index); 192 for (dex_ir::TypeId* type_id : *type_ids) { 193 DumpTypeId(type_id, class_index);
|
H A D | dex_ir.cc | 359 TypeId* type_id = new TypeId(GetStringId(disk_type_id.descriptor_idx_.index_)); local 360 type_ids_.AddIndexedItem(type_id, TypeIdsOffset() + i * TypeId::ItemSize(), i); 633 const TypeId* type_id = GetTypeIdOrNullPtr(type_index.index_); local 634 catch_all |= type_id == nullptr; 636 new TypeAddrPair(type_id, it.GetHandlerAddress()))); 674 const TypeId* type_id = GetTypeIdOrNullPtr(DecodeUnsignedLeb128(&handlers_data)); local 677 std::unique_ptr<const TypeAddrPair>(new TypeAddrPair(type_id, addr)));
|
H A D | dexlayout.cc | 252 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) { 253 result += type_id->GetStringId()->Data(); 549 dex_ir::TypeId* type_id = data->GetTypeId(); local 550 fputs(type_id->GetStringId()->Data(), out_file_); 812 const dex_ir::TypeId* type_id = handler->GetTypeId(); local 813 const char* descriptor = (type_id == nullptr) ? "<any>" : type_id->GetStringId()->Data();
|
H A D | dex_ir.h | 82 virtual void Dispatch(const TypeId* type_id) = 0; 653 void SetTypeId(TypeId* type_id) { u_.type_val_ = type_id; } argument 831 TypeAddrPair(const TypeId* type_id, uint32_t address) : type_id_(type_id), address_(address) { } argument
|
/art/compiler/ |
H A D | verifier_deps_test.cc | 255 const DexFile::TypeId* type_id = dex_file.FindTypeId(cls.c_str()); local 256 DCHECK(type_id != nullptr); 257 dex::TypeIndex index = dex_file.GetIndexForTypeId(*type_id);
|
/art/profman/ |
H A D | profman.cc | 431 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_index); local 432 out_lines->insert(std::string(dex_file->GetTypeDescriptor(type_id))); 583 const DexFile::TypeId* type_id = dex_file->FindTypeId(klass_descriptor.c_str()); local 584 if (type_id == nullptr) { 587 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id);
|
/art/runtime/mirror/ |
H A D | class.cc | 903 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); local 904 return dex_file.GetTypeDescriptor(type_id); 1145 const DexFile::TypeId* type_id = dex_file.FindTypeId(GetDescriptor(&temp)); local 1146 return (type_id == nullptr) 1148 : dex_file.GetIndexForTypeId(*type_id);
|
H A D | class-inl.h | 842 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); local 843 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0;
|
/art/runtime/verifier/ |
H A D | verifier_deps.cc | 103 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); local 106 CHECK_EQ(GetIdFromString(dex_file, klass->GetDescriptor(&temp)), type_id.descriptor_idx_); 108 return type_id.descriptor_idx_; 121 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx); local 124 if (strcmp(dex_file.GetTypeDescriptor(type_id), 126 return type_id.descriptor_idx_;
|
/art/compiler/driver/ |
H A D | compiler_driver.cc | 1153 const DexFile::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); local 1154 const char* descriptor = dex_file->GetTypeDescriptor(type_id);
|