Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 29) sorted by relevance

12

/art/libdexfile/dex/
Ddex_file_layout.cc66 for (const DexLayoutSection& section : sections_) { in Madvise()
69 section.parts_[static_cast<size_t>(LayoutType::kLayoutTypeStartupOnly)].Madvise( in Madvise()
72 section.parts_[static_cast<size_t>(LayoutType::kLayoutTypeHot)].Madvise( in Madvise()
78 section.parts_[static_cast<size_t>(LayoutType::kLayoutTypeStartupOnly)].Madvise( in Madvise()
84 section.parts_[static_cast<size_t>(LayoutType::kLayoutTypeSometimesUsed)].Madvise( in Madvise()
87 section.parts_[static_cast<size_t>(LayoutType::kLayoutTypeUsedOnce)].Madvise( in Madvise()
97 std::ostream& operator<<(std::ostream& os, const DexLayoutSection& section) { in operator <<() argument
99 const DexLayoutSection::Subsection& part = section.parts_[i]; in operator <<()
Ddex_file_layout.h122 std::ostream& operator<<(std::ostream& os, const DexLayoutSection& section);
/art/libelffile/elf/
Delf_builder.h353 const Section* section, in Add() argument
364 Add(sym, section); in Add()
368 void Add(Elf_Sym sym, const Section* section) { in Add() argument
369 DCHECK(section != nullptr); in Add()
370 DCHECK_LE(section->GetAddress(), sym.st_value); in Add()
371 DCHECK_LE(sym.st_value, section->GetAddress() + section->header_.sh_size); in Add()
372 sym.st_shndx = section->GetSectionIndex(); in Add()
539 for (auto* section : sections_) { in End()
540 section->header_.sh_name = shstrtab_.Write(section->name_); in End()
541 if (section->link_ != nullptr) { in End()
[all …]
Delf_debug_reader.h73 for (const Elf_Shdr& section : sections_) { in ElfDebugReader() local
74 const char* name = Read<char>(sections_[header_->e_shstrndx].sh_offset + section.sh_name); in ElfDebugReader()
75 section_map_[std::string_view(name)] = &section; in ElfDebugReader()
/art/runtime/
Dimage-inl.h90 const ImageSection& section = GetImTablesSection(); in VisitPackedImTables() local
91 for (size_t pos = 0; pos < section.Size();) { in VisitPackedImTables()
92 ImTable* imt = reinterpret_cast<ImTable*>(base + section.Offset() + pos); in VisitPackedImTables()
108 const ImageSection& section = GetIMTConflictTablesSection(); in VisitPackedImtConflictTables() local
109 for (size_t pos = 0; pos < section.Size(); ) { in VisitPackedImtConflictTables()
110 auto* table = reinterpret_cast<ImtConflictTable*>(base + section.Offset() + pos); in VisitPackedImtConflictTables()
Dintern_table-inl.h34 const ImageSection& section = header.GetInternedStringsSection(); in AddImageStringsToTable() local
35 if (section.Size() > 0) { in AddImageStringsToTable()
36 AddTableFromMemory(image_space->Begin() + section.Offset(), visitor, !header.IsAppImage()); in AddImageStringsToTable()
Dimage.cc151 std::ostream& operator<<(std::ostream& os, const ImageSection& section) { in operator <<() argument
152 return os << "size=" << section.Size() << " range=" << section.Offset() << "-" << section.End(); in operator <<()
Dimage.h48 ImageSection(const ImageSection& section) = default;
49 ImageSection& operator=(const ImageSection& section) = default;
584 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageSections& section);
585 std::ostream& operator<<(std::ostream& os, const ImageSection& section);
/art/tools/ahat/src/main/com/android/ahat/
DObjectHandler.java74 doc.section("Object Info"); in handle()
95 doc.section("Object Size"); in handle()
115 doc.section("Fields"); in printClassInstanceFields()
123 doc.section("Array Elements"); in printArrayElements()
208 doc.section("Class Info"); in printClassInfo()
216 doc.section("Static Fields"); in printClassInfo()
224 doc.section("Objects with References to this Object"); in printReferences()
240 doc.section("Allocation Site"); in printAllocationSite()
249 doc.section("Bitmap Image"); in printBitmap()
256 doc.section("Sample Path from GC Root"); in printGcRootPath()
[all …]
DSiteHandler.java48 doc.section("Allocation Site"); in handle()
51 doc.section("Sites Called from Here"); in handle()
83 doc.section("Objects Allocated"); in handle()
DOverviewHandler.java44 doc.section("General Information"); in handle()
58 doc.section("Bytes Retained by Heap"); in handle()
DDoc.java38 void section(String title); in section() method
DHtmlDoc.java61 public void section(String title) { in section() method in HtmlDoc
/art/test/1001-app-image-regions/
Dexpected.txt4 App image section size large enough true
/art/dexlayout/
Ddex_visualize.cc85 uint16_t section = 0; in GetColor() local
88 section = file_section.type; in GetColor()
93 ColorMapType::const_iterator iter = kColorMap.find(section); in GetColor()
308 const dex_ir::DexFileSection& section = sorted_sections[i]; in FindNextByteAfterSection() local
309 if (section.size != 0) { in FindNextByteAfterSection()
310 return section.offset; in FindNextByteAfterSection()
Dcompact_dex_writer.h41 explicit Deduper(bool enabled, DexContainer::Section* section);
60 explicit HashEqual(DexContainer::Section* section) : section_(section) {} in HashEqual() argument
Ddexdiag.cc188 for (const auto& section : sections) { in FindSectionTypeForPage() local
189 size_t first_page_of_section = section.offset / kPageSize; in FindSectionTypeForPage()
191 if (section.size == 0) { in FindSectionTypeForPage()
196 return section.type; in FindSectionTypeForPage()
251 const dex_ir::DexFileSection& section = sections[i - 1]; in DisplayDexStatistics() local
252 const uint16_t type = section.type; in DisplayDexStatistics()
Ddex_writer.h72 explicit Stream(DexContainer::Section* section) : section_(section) { in Stream() argument
Dcompact_dex_writer.cc212 CompactDexWriter::Deduper::Deduper(bool enabled, DexContainer::Section* section) in Deduper() argument
215 HashedMemoryRange::HashEqual(section), in Deduper()
216 HashedMemoryRange::HashEqual(section)) {} in Deduper()
/art/runtime/arch/arm/
Dinstruction_set_features_assembly_tests.S19 .section .text
/art/runtime/jit/
Djit.cc635 const ImageSection& section = header.GetMethodsSection(); in NotifyZygoteCompilationDone() local
640 uint8_t* page_start = AlignUp(header.GetImageBegin() + section.Offset(), kPageSize); in NotifyZygoteCompilationDone()
642 AlignDown(header.GetImageBegin() + section.Offset() + section.Size(), kPageSize); in NotifyZygoteCompilationDone()
694 const ImageSection& section = header.GetMethodsSection(); in NotifyZygoteCompilationDone() local
699 uint8_t* page_start = AlignUp(header.GetImageBegin() + section.Offset(), kPageSize); in NotifyZygoteCompilationDone()
701 AlignDown(header.GetImageBegin() + section.Offset() + section.Size(), kPageSize); in NotifyZygoteCompilationDone()
722 const ImageSection& section = header.GetMethodsSection(); in NotifyZygoteCompilationDone() local
727 uint8_t* page_start = AlignUp(header.GetImageBegin() + section.Offset(), kPageSize); in NotifyZygoteCompilationDone()
729 AlignDown(header.GetImageBegin() + section.Offset() + section.Size(), kPageSize); in NotifyZygoteCompilationDone()
1076 const ImageSection& section = header.GetMethodsSection(); in MapBootImageMethods() local
[all …]
/art/imgdiag/
Dimgdiag.cc1406 const ImageHeader::ImageSections section = static_cast<ImageHeader::ImageSections>(i); in ComputeDirtyBytes() local
1407 if (image_header.GetImageSection(section).Contains(offset)) { in ComputeDirtyBytes()
1430 const ImageHeader::ImageSections section = static_cast<ImageHeader::ImageSections>(i); in ComputeDirtyBytes() local
1431 os << section << " " << image_header.GetImageSection(section) in ComputeDirtyBytes()
/art/compiler/optimizing/
Dcode_generator.cc838 static uint32_t GetBootImageOffsetImpl(const void* object, ImageHeader::ImageSections section) { in GetBootImageOffsetImpl() argument
846 [object, section](gc::space::ImageSpace* space) { in GetBootImageOffsetImpl()
849 return space->GetImageHeader().GetImageSection(section).Contains(offset); in GetBootImageOffsetImpl()
/art/runtime/gc/space/
Dimage_space.cc891 auto& section = image_header.GetImageSection(section_idx); in Init() local
893 << reinterpret_cast<void*>(image_header.GetImageBegin() + section.Offset()) << " " in Init()
894 << section; in Init()
4161 const ImageSection& section = header.GetImageSection(section_type); in DumpSections() local
4162 os << section_type << " " << reinterpret_cast<const void*>(base + section.Offset()) in DumpSections()
4163 << "-" << reinterpret_cast<const void*>(base + section.End()) << "\n"; in DumpSections()
/art/dex2oat/linker/
Doat_writer.cc3229 DexContainer::Section* const section = dex_container_->GetDataSection(); in WriteDexFiles() local
3230 if (section->Size() > 0) { in WriteDexFiles()
3238 shared_data_size = section->Size(); in WriteDexFiles()
3239 if (!out->WriteFully(section->Begin(), shared_data_size)) { in WriteDexFiles()
3269 section->Clear(); in WriteDexFiles()

12