Lines Matching refs:OatWriter

115 struct OatWriter::BssMappingInfo {
136 bool Write(OatWriter* oat_writer, OutputStream* out) const;
139 class OatWriter::ChecksumUpdatingOutputStream : public OutputStream {
141 ChecksumUpdatingOutputStream(OutputStream* out, OatWriter* writer) in ChecksumUpdatingOutputStream()
165 OatWriter* const writer_;
170 class OatWriter::OatClassHeader {
190 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
210 class OatWriter::OatClass {
217 bool Write(OatWriter* oat_writer, OutputStream* out) const;
266 class OatWriter::OatDexFile {
278 bool Write(OatWriter* oat_writer, OutputStream* out) const;
279 bool WriteClassOffsets(OatWriter* oat_writer, OutputStream* out);
346 OatWriter::OatWriter(const CompilerOptions& compiler_options, in OatWriter() function in art::linker::OatWriter
408 bool OatWriter::AddDexFileSource(const char* filename, const char* location) { in AddDexFileSource()
421 bool OatWriter::AddDexFileSource(File&& dex_file_fd, const char* location) { in AddDexFileSource()
444 bool OatWriter::AddVdexDexFilesSource(const VdexFile& vdex_file, const char* location) { in AddVdexDexFilesSource()
484 bool OatWriter::AddRawDexFileSource(const std::shared_ptr<DexFileContainer>& container, in AddRawDexFileSource()
507 dchecked_vector<std::string> OatWriter::GetSourceLocations() const { in GetSourceLocations()
516 bool OatWriter::MayHaveCompiledMethods() const { in MayHaveCompiledMethods()
520 bool OatWriter::WriteAndOpenDexFiles( in WriteAndOpenDexFiles()
551 bool OatWriter::StartRoData(const std::vector<const DexFile*>& dex_files, in StartRoData()
580 void OatWriter::Initialize(const CompilerDriver* compiler_driver, in Initialize()
590 void OatWriter::PrepareLayout(MultiOatRelativePatcher* relative_patcher) { in PrepareLayout()
654 OatWriter::~OatWriter() { in ~OatWriter()
657 class OatWriter::DexMethodVisitor {
659 DexMethodVisitor(OatWriter* writer, size_t offset) in DexMethodVisitor()
690 OatWriter* const writer_;
700 class OatWriter::OatDexMethodVisitor : public DexMethodVisitor {
702 OatDexMethodVisitor(OatWriter* writer, size_t offset) in OatDexMethodVisitor()
731 class OatWriter::InitBssLayoutMethodVisitor : public DexMethodVisitor {
733 explicit InitBssLayoutMethodVisitor(OatWriter* writer) in InitBssLayoutMethodVisitor()
811 class OatWriter::InitOatClassesMethodVisitor : public DexMethodVisitor {
813 InitOatClassesMethodVisitor(OatWriter* writer, size_t offset) in InitOatClassesMethodVisitor()
898 struct OatWriter::OrderedMethodData {
952 class OatWriter::OrderedMethodVisitor {
1003 class OatWriter::LayoutCodeMethodVisitor final : public OatDexMethodVisitor {
1005 LayoutCodeMethodVisitor(OatWriter* writer, size_t offset) in LayoutCodeMethodVisitor()
1133 class OatWriter::LayoutReserveOffsetCodeMethodVisitor : public OrderedMethodVisitor {
1135 LayoutReserveOffsetCodeMethodVisitor(OatWriter* writer, in LayoutReserveOffsetCodeMethodVisitor()
1270 LayoutReserveOffsetCodeMethodVisitor(OatWriter* writer, in LayoutReserveOffsetCodeMethodVisitor()
1313 OatWriter* writer_;
1331 class OatWriter::InitMapMethodVisitor : public OatDexMethodVisitor {
1333 InitMapMethodVisitor(OatWriter* writer, size_t offset) in InitMapMethodVisitor()
1396 class OatWriter::InitImageMethodVisitor final : public OatDexMethodVisitor {
1398 InitImageMethodVisitor(OatWriter* writer, in InitImageMethodVisitor()
1527 class OatWriter::WriteCodeMethodVisitor : public OrderedMethodVisitor {
1529 WriteCodeMethodVisitor(OatWriter* writer, in WriteCodeMethodVisitor()
1804 OatWriter* const writer_;
1926 bool OatWriter::VisitDexMethods(DexMethodVisitor* visitor) { in VisitDexMethods()
1949 size_t OatWriter::InitOatHeader(uint32_t num_dex_files, in InitOatHeader()
1965 size_t OatWriter::InitClassOffsets(size_t offset) { in InitClassOffsets()
1980 size_t OatWriter::InitOatClasses(size_t offset) { in InitOatClasses()
2001 size_t OatWriter::InitOatMaps(size_t offset) { in InitOatMaps()
2062 size_t OatWriter::InitIndexBssMappings(size_t offset) { in InitIndexBssMappings()
2152 size_t OatWriter::InitIndexBssMappingsHelper(size_t offset, in InitIndexBssMappingsHelper()
2235 size_t OatWriter::InitOatDexFiles(size_t offset) { in InitOatDexFiles()
2244 size_t OatWriter::InitBcpBssInfo(size_t offset) { in InitBcpBssInfo()
2261 size_t OatWriter::InitOatCode(size_t offset) { in InitOatCode()
2312 size_t OatWriter::InitOatCodeDexFiles(size_t offset) { in InitOatCodeDexFiles()
2372 size_t OatWriter::InitDataImgRelRoLayout(size_t offset) { in InitDataImgRelRoLayout()
2399 void OatWriter::InitBssLayout(InstructionSet instruction_set) { in InitBssLayout()
2461 bool OatWriter::WriteRodata(OutputStream* out) { in WriteRodata()
2528 void OatWriter::WriteVerifierDeps(verifier::VerifierDeps* verifier_deps, in WriteVerifierDeps()
2552 bool OatWriter::WriteCode(OutputStream* out) { in WriteCode()
2588 bool OatWriter::WriteDataImgRelRo(OutputStream* out) { in WriteDataImgRelRo()
2619 bool OatWriter::CheckOatSize(OutputStream* out, size_t file_offset, size_t relative_offset) { in CheckOatSize()
2714 bool OatWriter::WriteHeader(OutputStream* out) { in WriteHeader()
2765 size_t OatWriter::WriteClassOffsets(OutputStream* out, size_t file_offset, size_t relative_offset) { in WriteClassOffsets()
2786 size_t OatWriter::WriteClasses(OutputStream* out, size_t file_offset, size_t relative_offset) { in WriteClasses()
2809 size_t OatWriter::WriteMaps(OutputStream* out, size_t file_offset, size_t relative_offset) { in WriteMaps()
2876 size_t OatWriter::WriteIndexBssMappingsHelper(OutputStream* out, in WriteIndexBssMappingsHelper()
3005 size_t OatWriter::WriteIndexBssMappings(OutputStream* out, in WriteIndexBssMappings()
3077 size_t OatWriter::WriteOatDexFiles(OutputStream* out, size_t file_offset, size_t relative_offset) { in WriteOatDexFiles()
3095 size_t OatWriter::WriteBcpBssInfo(OutputStream* out, size_t file_offset, size_t relative_offset) { in WriteBcpBssInfo()
3123 size_t OatWriter::WriteCode(OutputStream* out, size_t file_offset, size_t relative_offset) { in WriteCode()
3157 size_t OatWriter::WriteCodeDexFiles(OutputStream* out, in WriteCodeDexFiles()
3192 size_t OatWriter::WriteDataImgRelRo(OutputStream* out, in WriteDataImgRelRo()
3239 bool OatWriter::RecordOatDataOffset(OutputStream* out) { in RecordOatDataOffset()
3250 bool OatWriter::WriteDexFiles(File* file, in WriteDexFiles()
3443 void OatWriter::CloseSources() { in CloseSources()
3449 bool OatWriter::OpenDexFiles( in OpenDexFiles()
3523 void OatWriter::InitializeTypeLookupTables( in InitializeTypeLookupTables()
3548 bool OatWriter::WriteDexLayoutSections(OutputStream* oat_rodata, in WriteDexLayoutSections()
3611 void OatWriter::WriteTypeLookupTables(/*out*/std::vector<uint8_t>* buffer) { in WriteTypeLookupTables()
3655 bool OatWriter::FinishVdexFile(File* vdex_file, verifier::VerifierDeps* verifier_deps) { in FinishVdexFile()
3799 bool OatWriter::WriteCodeAlignment(OutputStream* out, uint32_t aligned_code_delta) { in WriteCodeAlignment()
3803 bool OatWriter::WriteUpTo16BytesAlignment(OutputStream* out, uint32_t size, uint32_t* stat) { in WriteUpTo16BytesAlignment()
3815 void OatWriter::SetMultiOatRelativePatcherAdjustment() { in SetMultiOatRelativePatcherAdjustment()
3827 OatWriter::OatDexFile::OatDexFile(std::unique_ptr<const DexFile> dex_file) in OatDexFile()
3849 size_t OatWriter::OatDexFile::SizeOf() const { in SizeOf()
3859 bool OatWriter::OatDexFile::Write(OatWriter* oat_writer, OutputStream* out) const { in Write()
3960 bool OatWriter::BssMappingInfo::Write(OatWriter* oat_writer, OutputStream* out) const { in Write()
4006 bool OatWriter::OatDexFile::WriteClassOffsets(OatWriter* oat_writer, OutputStream* out) { in WriteClassOffsets()
4016 OatWriter::OatClass::OatClass(const dchecked_vector<CompiledMethod*>& compiled_methods, in OatClass()
4057 size_t OatWriter::OatClass::SizeOf() const { in SizeOf()
4063 bool OatWriter::OatClassHeader::Write(OatWriter* oat_writer, in Write()
4081 bool OatWriter::OatClass::Write(OatWriter* oat_writer, OutputStream* out) const { in Write()
4106 debug::DebugInfo OatWriter::GetDebugInfo() const { in GetDebugInfo()