Home
last modified time | relevance | path

Searched refs:TypeId (Results 1 – 25 of 40) sorted by relevance

12

/art/libdexfile/dex/
Dsignature-inl.h51 const dex::TypeId& return_type_id = dex_file_->GetTypeId(proto_id_->return_type_idx_);
52 const dex::TypeId& rhs_return_type_id =
68 const dex::TypeId& param_id = dex_file_->GetTypeId(params->GetTypeItem(i).type_idx_);
69 const dex::TypeId& rhs_param_id =
Ddex_file.cc56 using dex::TypeId;
114 type_ids_(reinterpret_cast<const TypeId*>(base + header_->type_ids_off_)), in DexFile()
240 const FieldId* DexFile::FindFieldId(const TypeId& declaring_klass, in FindFieldId()
242 const TypeId& type) const { in FindFieldId()
275 const MethodId* DexFile::FindMethodId(const TypeId& declaring_klass, in FindMethodId()
329 const TypeId* DexFile::FindTypeId(const char* string) const { in FindTypeId()
334 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId()
349 const TypeId* DexFile::FindTypeId(dex::StringIndex string_idx) const { in FindTypeId()
354 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId()
439 const TypeId* type_id = FindTypeId(descriptor.c_str()); in CreateTypeList()
[all …]
Ddex_file.h273 const dex::TypeId* FindTypeId(const char* string) const;
286 const dex::TypeId& GetTypeId(dex::TypeIndex idx) const { in GetTypeId()
291 dex::TypeIndex GetIndexForTypeId(const dex::TypeId& type_id) const { in GetIndexForTypeId()
305 const char* GetTypeDescriptor(const dex::TypeId& type_id) const;
308 const dex::TypeId* FindTypeId(dex::StringIndex string_idx) const;
329 const dex::FieldId* FindFieldId(const dex::TypeId& declaring_klass,
331 const dex::TypeId& type) const;
340 const dex::TypeId& type_id = GetTypeId(field_id.class_idx_); in GetFieldDeclaringClassDescriptor()
369 const dex::MethodId* FindMethodId(const dex::TypeId& declaring_klass,
840 const dex::TypeId* const type_ids_;
Dart_dex_file_loader_test.cc239 const dex::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); in TEST_F()
266 const dex::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F()
281 const dex::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F()
283 const dex::TypeId& type = java_lang_dex_file_->GetTypeId(to_find.type_idx_); in TEST_F()
Ddex_file_structs.h60 struct TypeId { struct
64 DISALLOW_COPY_AND_ASSIGN(TypeId); argument
Ddex_file-inl.h85 const dex::TypeId& type_id = GetTypeId(idx); in StringByTypeIdx()
93 const dex::TypeId& type_id = GetTypeId(idx); in StringByTypeIdx()
97 inline const char* DexFile::GetTypeDescriptor(const dex::TypeId& type_id) const { in GetTypeDescriptor()
102 const dex::TypeId& type_id = GetTypeId(field_id.type_idx_); in GetFieldTypeDescriptor()
112 const dex::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor()
Dtype_lookup_table.cc51 const dex::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in Create()
66 const dex::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in Create()
Ddex_file_verifier.cc149 const dex::TypeId* type_id = in GetClass()
150 reinterpret_cast<const dex::TypeId*>(begin + header->type_ids_off_) + class_idx.index_; in GetClass()
1141 const dex::TypeId& type_id = dex_file_->GetTypeId(dex_file_->GetFieldId(index).type_idx_); in CheckStaticFieldTypes()
1228 if (!CheckListSize(ptr_, 1, sizeof(dex::TypeId), "type_ids")) { in CheckIntraTypeIdItem()
1232 const dex::TypeId* type_id = reinterpret_cast<const dex::TypeId*>(ptr_); in CheckIntraTypeIdItem()
1239 ptr_ += sizeof(dex::TypeId); in CheckIntraTypeIdItem()
2499 const dex::TypeId* item = reinterpret_cast<const dex::TypeId*>(ptr_); in CheckInterTypeIdItem()
2504 size_t index = item - reinterpret_cast<const dex::TypeId*>(begin_ + header_->type_ids_off_); in CheckInterTypeIdItem()
2516 const dex::TypeId* prev_item = reinterpret_cast<const dex::TypeId*>(previous_item_); in CheckInterTypeIdItem()
2525 ptr_ += sizeof(dex::TypeId); in CheckInterTypeIdItem()
Dtest_dex_file_builder.h124 uint32_t proto_ids_offset = type_ids_offset + types_.size() * sizeof(dex::TypeId); in Build()
179 Write32(type_ids_offset + entry.second * sizeof(dex::TypeId), GetStringIdx(entry.first)); in Build()
/art/dexlayout/
Ddex_ir.h64 class TypeId; variable
87 virtual void Dispatch(const TypeId* type_id) = 0;
440 IndexedCollectionVector<TypeId>& TypeIds() { return type_ids_; } in TypeIds()
441 const IndexedCollectionVector<TypeId>& TypeIds() const { return type_ids_; } in TypeIds()
498 TypeId* GetTypeIdOrNullPtr(uint16_t index) { in GetTypeIdOrNullPtr()
551 IndexedCollectionVector<TypeId> type_ids_;
618 class TypeId : public IndexedItem {
620 explicit TypeId(StringId* string_id) : string_id_(string_id) { size_ = kTypeIdItemSize; } in TypeId() function
621 ~TypeId() override { } in ~TypeId()
632 DISALLOW_COPY_AND_ASSIGN(TypeId);
[all …]
Ddex_verify.h38 bool VerifyId(dex_ir::TypeId* orig, dex_ir::TypeId* output, std::string* error_msg);
Ddex_visualize.cc125 void DumpTypeId(const dex_ir::TypeId* type_id, int class_index) { in DumpTypeId()
156 for (const dex_ir::TypeId* t : *type_list->GetTypeList()) { in DumpProtoId()
193 for (dex_ir::TypeId* type_id : fixups->TypeIds()) { in DumpMethodItem()
Ddex_ir_builder.cc184 std::vector<TypeId*>* type_ids,
190 std::vector<TypeId*>* type_ids,
438 const dex::TypeId& disk_type_id = dex_file.GetTypeId(dex::TypeIndex(i)); in CreateTypeId()
440 header_->TypeIds().GetOffset() + i * TypeId::ItemSize(), in CreateTypeId()
480 const TypeId* class_type = header_->TypeIds()[disk_class_def.class_idx_.index_]; in CreateClassDef()
482 const TypeId* superclass = header_->GetTypeIdOrNullPtr(disk_class_def.superclass_idx_.index_); in CreateClassDef()
847 const TypeId* type_id = header_->GetTypeIdOrNullPtr(type_index.index_); in DedupeOrCreateCodeItem()
888 const TypeId* type_id = in DedupeOrCreateCodeItem()
925 std::vector<TypeId*> type_ids; in DedupeOrCreateCodeItem()
1009 std::vector<TypeId*>* type_ids, in GetIdsFromByteCode()
[all …]
Ddexlayout.h159 void DumpInterface(const dex_ir::TypeId* type_item, int i);
Ddexlayout.cc243 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) { in GetSignatureForProtoId()
540 dex_ir::TypeId* type_id = data->GetTypeId(); in DumpEncodedValue()
771 void DexLayout::DumpInterface(const dex_ir::TypeId* type_item, int i) { in DumpInterface()
802 const dex_ir::TypeId* type_id = handler->GetTypeId(); in DumpCatches()
1061 dex_ir::TypeId* type_id = header->GetTypeIdOrNullPtr(idx); in StringDataByTypeIdx()
1120 for (const dex_ir::TypeId* type_id : *parameter_type_vector) { in DumpCode()
1630 const dex_ir::TypeId* superclass = class_def->Superclass(); in LayoutStringData()
1636 for (const dex_ir::TypeId* interface_type : *interfaces->GetTypeList()) { in LayoutStringData()
Ddex_verify.cc87 bool VerifyId(dex_ir::TypeId* orig, dex_ir::TypeId* output, std::string* error_msg) { in VerifyId()
/art/test/683-clinit-inline-static-invoke/
Dinfo.txt3 current dex file does not have a TypeId for it. This was likely to crash.
/art/compiler/optimizing/
Ddata_type-inl.h47 constexpr char DataType::TypeId(DataType::Type type) { in TypeId() function
Dgraph_visualizer.cc604 input_list.NewEntryStream() << DataType::TypeId(input->GetType()) << input->GetId(); in PrintInstruction()
623 vregs.NewEntryStream() << DataType::TypeId(insn->GetType()) << insn->GetId(); in PrintInstruction()
736 << DataType::TypeId(instruction->GetType()) << instruction->GetId() << " "; in PrintInstructions()
859 output_ << instruction->GetId() << " " << DataType::TypeId(instruction->GetType()) in VisitBasicBlock()
Ddata_type.h48 static constexpr char TypeId(DataType::Type type);
Dscheduler.cc414 return DataType::TypeId(instruction->GetType()) + std::to_string(instruction->GetId()); in InstructionTypeId()
/art/runtime/native/
Djava_lang_reflect_Executable.cc301 const dex::TypeId& lhs = this_method->GetDexFile()->GetTypeId( in Executable_compareMethodParametersInternal()
303 const dex::TypeId& rhs = other_method->GetDexFile()->GetTypeId( in Executable_compareMethodParametersInternal()
/art/profman/
Dboot_image_profile.cc43 const dex::TypeId& type_id = ref.dex_file->GetTypeId(ref.TypeIndex()); in GetTypeDescriptor()
/art/runtime/
Dart_method.cc254 const dex::TypeId* other_type_id = other_dexfile.FindTypeId(mid_declaring_class_descriptor); in FindDexMethodIndexInOtherDexFile()
442 const dex::TypeId* declaring_class_type_id = in FindOatMethodFromDexFileFor()
/art/runtime/verifier/
Dverifier_deps.cc117 const dex::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); in GetClassDescriptorStringId()
135 const dex::TypeId& type_id = dex_file.GetTypeId(type_idx); in TryGetClassDescriptorStringId()
137 const dex::TypeId& klass_type_id = klass_dex.GetTypeId(klass->GetClassDef()->class_idx_); in TryGetClassDescriptorStringId()

12