/art/runtime/ |
D | dex_file-inl.h | 65 const TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() 73 const TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() 77 inline const char* DexFile::GetTypeDescriptor(const TypeId& type_id) const { in GetTypeDescriptor() 82 const DexFile::TypeId& type_id = GetTypeId(field_id.type_idx_); in GetFieldTypeDescriptor() 91 const DexFile::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor() 173 const DexFile::TypeId& return_type_id = dex_file_->GetTypeId(proto_id_->return_type_idx_); 174 const DexFile::TypeId& rhs_return_type_id = 190 const DexFile::TypeId& param_id = dex_file_->GetTypeId(params->GetTypeItem(i).type_idx_); 191 const DexFile::TypeId& rhs_param_id =
|
D | dex_file.h | 155 struct TypeId { struct 159 DISALLOW_COPY_AND_ASSIGN(TypeId); argument 575 const TypeId* FindTypeId(const char* string) const; 591 const TypeId& GetTypeId(dex::TypeIndex idx) const { in GetTypeId() 596 dex::TypeIndex GetIndexForTypeId(const TypeId& type_id) const { in GetIndexForTypeId() 610 const char* GetTypeDescriptor(const TypeId& type_id) const; 613 const TypeId* FindTypeId(dex::StringIndex string_idx) const; 634 const FieldId* FindFieldId(const DexFile::TypeId& declaring_klass, 636 const DexFile::TypeId& type) const; 645 const DexFile::TypeId& type_id = GetTypeId(field_id.class_idx_); in GetFieldDeclaringClassDescriptor() [all …]
|
D | type_lookup_table.cc | 82 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in TypeLookupTable() 96 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in TypeLookupTable()
|
D | dex_file.cc | 535 type_ids_(reinterpret_cast<const TypeId*>(base + header_->type_ids_off_)), in DexFile() 702 const DexFile::FieldId* DexFile::FindFieldId(const DexFile::TypeId& declaring_klass, in FindFieldId() 704 const DexFile::TypeId& type) const { in FindFieldId() 737 const DexFile::MethodId* DexFile::FindMethodId(const DexFile::TypeId& declaring_klass, in FindMethodId() 791 const DexFile::TypeId* DexFile::FindTypeId(const char* string) const { in FindTypeId() 796 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() 830 const DexFile::TypeId* DexFile::FindTypeId(dex::StringIndex string_idx) const { in FindTypeId() 835 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId() 919 const DexFile::TypeId* type_id = FindTypeId(descriptor.c_str()); in CreateTypeList() 1340 const DexFile::TypeId& type_id = GetTypeId(type_idx); in PrettyType()
|
D | dex_file_test.cc | 473 const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); in TEST_F() 500 const DexFile::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F() 515 const DexFile::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F() 517 const DexFile::TypeId& type = java_lang_dex_file_->GetTypeId(to_find.type_idx_); in TEST_F()
|
D | dex_file_verifier.cc | 1007 const DexFile::TypeId& type_id = dex_file_->GetTypeId(dex_file_->GetFieldId(index).type_idx_); in CheckStaticFieldTypes() 1633 if (!CheckListSize(ptr_, 1, sizeof(DexFile::TypeId), "type_ids")) { in CheckIntraSectionIterate() 1636 ptr_ += sizeof(DexFile::TypeId); in CheckIntraSectionIterate() 2028 const DexFile::TypeId* item = reinterpret_cast<const DexFile::TypeId*>(ptr_); in CheckInterTypeIdItem() 2040 const DexFile::TypeId* prev_item = reinterpret_cast<const DexFile::TypeId*>(previous_item_); in CheckInterTypeIdItem() 2049 ptr_ += sizeof(DexFile::TypeId); in CheckInterTypeIdItem() 2911 const DexFile::TypeId* type_id = in GetClassOrError() 2912 reinterpret_cast<const DexFile::TypeId*>(begin + header->type_ids_off_) + class_idx.index_; in GetClassOrError()
|
D | art_method.cc | 252 const DexFile::TypeId* other_type_id = other_dexfile.FindTypeId(mid_declaring_class_descriptor); in FindDexMethodIndexInOtherDexFile() 489 const DexFile::TypeId* declaring_class_type_id = in FindOatMethodFromDexFileFor()
|
D | class_linker_test.cc | 437 const DexFile::TypeId& type_id = dex.GetTypeId(dex::TypeIndex(i)); in AssertDexFile() 948 const DexFile::TypeId* array_id = dex_file.FindTypeId("[Ljava/lang/Object;"); in TEST_F() 1271 const DexFile::TypeId* type_id = dex_file->FindTypeId("LStaticsFromCode;"); in TEST_F()
|
/art/dexlayout/ |
D | dex_ir.h | 60 class TypeId; variable 83 virtual void Dispatch(const TypeId* type_id) = 0; 170 std::vector<std::unique_ptr<TypeId>>& TypeIds() { return type_ids_.Collection(); } in TypeIds() 222 TypeId* GetTypeId(uint32_t index) { in GetTypeId() 254 TypeId* GetTypeIdOrNullPtr(uint16_t index) { in GetTypeIdOrNullPtr() 333 CollectionVector<TypeId> type_ids_; 496 class TypeId : public IndexedItem { 498 explicit TypeId(StringId* string_id) : string_id_(string_id) { size_ = kTypeIdItemSize; } in TypeId() function 499 ~TypeId() OVERRIDE { } in ~TypeId() 510 DISALLOW_COPY_AND_ASSIGN(TypeId); [all …]
|
D | dex_ir.cc | 110 std::vector<TypeId*>* type_ids, in GetIdFromInstruction() 183 std::vector<TypeId*>* type_ids, in GetIdsFromByteCode() 333 const DexFile::TypeId& disk_type_id = dex_file.GetTypeId(dex::TypeIndex(i)); in CreateTypeId() 334 TypeId* type_id = new TypeId(GetStringId(disk_type_id.descriptor_idx_.index_)); in CreateTypeId() 335 type_ids_.AddIndexedItem(type_id, TypeIdsOffset() + i * TypeId::ItemSize(), i); in CreateTypeId() 367 const TypeId* class_type = GetTypeId(disk_class_def.class_idx_.index_); in CreateClassDef() 369 const TypeId* superclass = GetTypeIdOrNullPtr(disk_class_def.superclass_idx_.index_); in CreateClassDef() 608 const TypeId* type_id = GetTypeIdOrNullPtr(type_index.index_); in CreateCodeItem() 649 const TypeId* type_id = GetTypeIdOrNullPtr(DecodeUnsignedLeb128(&handlers_data)); in CreateCodeItem() 672 std::unique_ptr<std::vector<TypeId*>> type_ids(new std::vector<TypeId*>()); in CreateCodeItem()
|
D | dex_visualize.cc | 123 void DumpTypeId(const dex_ir::TypeId* type_id, int class_index) { in DumpTypeId() 154 for (const dex_ir::TypeId* t : *type_list->GetTypeList()) { in DumpProtoId() 191 std::vector<dex_ir::TypeId*>* type_ids = fixups->TypeIds(); in DumpMethodItem() 192 for (dex_ir::TypeId* type_id : *type_ids) { in DumpMethodItem()
|
D | dex_verify.h | 38 bool VerifyId(dex_ir::TypeId* orig, dex_ir::TypeId* output, std::string* error_msg);
|
D | dexlayout.h | 108 void DumpInterface(const dex_ir::TypeId* type_item, int i);
|
D | dexlayout.cc | 253 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) { in GetSignatureForProtoId() 550 dex_ir::TypeId* type_id = data->GetTypeId(); in DumpEncodedValue() 782 void DexLayout::DumpInterface(const dex_ir::TypeId* type_item, int i) { in DumpInterface() 813 const dex_ir::TypeId* type_id = handler->GetTypeId(); in DumpCatches() 1545 const dex_ir::TypeId* superclass = class_def->Superclass(); in LayoutStringData() 1551 for (const dex_ir::TypeId* interface_type : *interfaces->GetTypeList()) { in LayoutStringData()
|
D | dex_writer.cc | 262 for (std::unique_ptr<dex_ir::TypeId>& type_id : header_->GetCollections().TypeIds()) { in WriteTypes() 276 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) { in WriteTypeLists()
|
D | dex_verify.cc | 81 bool VerifyId(dex_ir::TypeId* orig, dex_ir::TypeId* output, std::string* error_msg) { in VerifyId()
|
/art/runtime/native/ |
D | java_lang_reflect_Executable.cc | 232 const DexFile::TypeId& lhs = this_method->GetDexFile()->GetTypeId( in Executable_compareMethodParametersInternal() 234 const DexFile::TypeId& rhs = other_method->GetDexFile()->GetTypeId( in Executable_compareMethodParametersInternal()
|
/art/compiler/utils/ |
D | test_dex_file_builder.h | 121 uint32_t proto_ids_offset = type_ids_offset + types_.size() * sizeof(DexFile::TypeId); in Build() 176 Write32(type_ids_offset + entry.second * sizeof(DexFile::TypeId), GetStringIdx(entry.first)); in Build()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 103 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); in GetClassDescriptorStringId() 121 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx); in TryGetClassDescriptorStringId() 123 const DexFile::TypeId& klass_type_id = klass_dex.GetTypeId(klass->GetClassDef()->class_idx_); in TryGetClassDescriptorStringId()
|
/art/profman/ |
D | profman.cc | 479 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_index); in GetClassNamesAndMethods() 648 const DexFile::TypeId* type_id = dex_file->FindTypeId(klass_descriptor.c_str()); in FindClass()
|
/art/runtime/openjdkjvmti/ |
D | ti_redefine.cc | 1371 const art::DexFile::TypeId& declaring_class_id = dex_file_->GetTypeId(class_def.class_idx_); in UpdateMethods() 1415 const art::DexFile::TypeId* new_declaring_id = in UpdateFields() 1418 const art::DexFile::TypeId* new_type_id = dex_file_->FindTypeId(field.GetTypeDescriptor()); in UpdateFields()
|
/art/runtime/mirror/ |
D | object_test.cc | 359 const DexFile::TypeId* klass_type_id = dex_file->FindTypeId("LStaticsFromCode;"); in TEST_F() 362 const DexFile::TypeId* type_type_id = dex_file->FindTypeId("Ljava/lang/Object;"); in TEST_F()
|
D | class.cc | 968 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); in GetDescriptor() 1210 const DexFile::TypeId* type_id = dex_file.FindTypeId(GetDescriptor(&temp)); in FindTypeIndexInOtherDexFile()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1218 const DexFile::TypeId* type_id = dex->FindTypeId("LManyMethods;"); in TEST_F() 1321 const DexFile::TypeId* type_id = dex_file->FindTypeId("LManyMethods;"); in TEST_F()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 1126 const DexFile::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); in LoadImageClasses() 2225 const DexFile::TypeId& class_type_id = dex_file.GetTypeId(class_def.class_idx_); in Visit() 2247 const DexFile::TypeId& class_type_id = dex_file.GetTypeId(class_def->class_idx_); in TryInitializeClass()
|