Lines Matching refs:header
47 explicit Dumper(dex_ir::Header* header) in Dumper() argument
50 dex_ir::GetSortedDexFileSections(header, dex_ir::SortDirection::kSortDescending)) { } in Dumper()
247 void VisualizeDexLayout(dex_ir::Header* header, in VisualizeDexLayout() argument
251 std::unique_ptr<Dumper> dumper(new Dumper(header)); in VisualizeDexLayout()
257 const uint32_t class_defs_size = header->GetCollections().ClassDefsSize(); in VisualizeDexLayout()
259 dex_ir::ClassDef* class_def = header->GetCollections().GetClassDef(class_index); in VisualizeDexLayout()
306 static uint32_t FindNextByteAfterSection(dex_ir::Header* header, in FindNextByteAfterSection() argument
315 return header->FileSize(); in FindNextByteAfterSection()
321 void ShowDexSectionStatistics(dex_ir::Header* header, size_t dex_file_index) { in ShowDexSectionStatistics() argument
325 header->FileSize()); in ShowDexSectionStatistics()
328 GetSortedDexFileSections(header, dex_ir::SortDirection::kSortAscending); in ShowDexSectionStatistics()
333 bytes = FindNextByteAfterSection(header, sorted_sections, i) - file_section.offset; in ShowDexSectionStatistics()
342 100 * bytes / header->FileSize()); in ShowDexSectionStatistics()