Lines Matching refs:header
49 explicit Dumper(dex_ir::Header* header) in Dumper() argument
52 dex_ir::GetSortedDexFileSections(header, dex_ir::SortDirection::kSortDescending)) { } in Dumper()
245 void VisualizeDexLayout(dex_ir::Header* header, in VisualizeDexLayout() argument
249 std::unique_ptr<Dumper> dumper(new Dumper(header)); in VisualizeDexLayout()
255 const uint32_t class_defs_size = header->ClassDefs().Size(); in VisualizeDexLayout()
257 dex_ir::ClassDef* class_def = header->ClassDefs()[class_index]; in VisualizeDexLayout()
304 static uint32_t FindNextByteAfterSection(dex_ir::Header* header, in FindNextByteAfterSection() argument
313 return header->FileSize(); in FindNextByteAfterSection()
319 void ShowDexSectionStatistics(dex_ir::Header* header, size_t dex_file_index) { in ShowDexSectionStatistics() argument
323 header->FileSize()); in ShowDexSectionStatistics()
326 GetSortedDexFileSections(header, dex_ir::SortDirection::kSortAscending); in ShowDexSectionStatistics()
331 bytes = FindNextByteAfterSection(header, sorted_sections, i) - file_section.offset; in ShowDexSectionStatistics()
340 100 * bytes / header->FileSize()); in ShowDexSectionStatistics()