Lines Matching refs:dex_ir

49   explicit Dumper(dex_ir::Header* header)  in Dumper()
52 dex_ir::GetSortedDexFileSections(header, dex_ir::SortDirection::kSortDescending)) { } in Dumper()
68 for (const dex_ir::DexFileSection& s : sorted_sections_) { in OpenAndPrintHeader()
86 for (const dex_ir::DexFileSection& file_section : sorted_sections_) { in GetColor()
107 void DumpAddressRange(const dex_ir::Item* item, int class_index) { in DumpAddressRange()
113 void DumpStringData(const dex_ir::StringData* string_data, int class_index) { in DumpStringData()
117 void DumpStringId(const dex_ir::StringId* string_id, int class_index) { in DumpStringId()
125 void DumpTypeId(const dex_ir::TypeId* type_id, int class_index) { in DumpTypeId()
130 void DumpFieldId(const dex_ir::FieldId* field_id, int class_index) { in DumpFieldId()
140 void DumpFieldItem(const dex_ir::FieldItem* field, int class_index) { in DumpFieldItem()
148 void DumpProtoId(const dex_ir::ProtoId* proto_id, int class_index) { in DumpProtoId()
154 const dex_ir::TypeList* type_list = proto_id->Parameters(); in DumpProtoId()
156 for (const dex_ir::TypeId* t : *type_list->GetTypeList()) { in DumpProtoId()
163 void DumpMethodId(const dex_ir::MethodId* method_id, int class_index) { in DumpMethodId()
173 void DumpMethodItem(dex_ir::MethodItem* method, in DumpMethodItem()
188 const dex_ir::CodeItem* code_item = method->GetCodeItem(); in DumpMethodItem()
191 const dex_ir::CodeFixups* fixups = code_item->GetCodeFixups(); in DumpMethodItem()
193 for (dex_ir::TypeId* type_id : fixups->TypeIds()) { in DumpMethodItem()
196 for (dex_ir::StringId* string_id : fixups->StringIds()) { in DumpMethodItem()
199 for (dex_ir::MethodId* method_id : fixups->MethodIds()) { in DumpMethodItem()
202 for (dex_ir::FieldId* field_id : fixups->FieldIds()) { in DumpMethodItem()
236 std::vector<dex_ir::DexFileSection> sorted_sections_;
245 void VisualizeDexLayout(dex_ir::Header* header, in VisualizeDexLayout()
257 dex_ir::ClassDef* class_def = header->ClassDefs()[class_index]; in VisualizeDexLayout()
277 dex_ir::ClassData* class_data = class_def->GetClassData(); in VisualizeDexLayout()
304 static uint32_t FindNextByteAfterSection(dex_ir::Header* header, in FindNextByteAfterSection()
305 const std::vector<dex_ir::DexFileSection>& sorted_sections, in FindNextByteAfterSection()
308 const dex_ir::DexFileSection& section = sorted_sections[i]; in FindNextByteAfterSection()
319 void ShowDexSectionStatistics(dex_ir::Header* header, size_t dex_file_index) { in ShowDexSectionStatistics()
325 std::vector<dex_ir::DexFileSection> sorted_sections = in ShowDexSectionStatistics()
326 GetSortedDexFileSections(header, dex_ir::SortDirection::kSortAscending); in ShowDexSectionStatistics()
328 const dex_ir::DexFileSection& file_section = sorted_sections[i]; in ShowDexSectionStatistics()