Lines Matching refs:elf_file
46 virtual bool Write(File* elf_file) { in Write() argument
47 if (static_cast<off_t>(offset_) != lseek(elf_file->Fd(), offset_, SEEK_SET)) { in Write()
49 << elf_file->GetPath(); in Write()
53 return DoActualWrite(elf_file); in Write()
64 virtual bool DoActualWrite(File* elf_file) = 0;
74 bool DoActualWrite(File* elf_file) OVERRIDE { in DoActualWrite() argument
77 if (!elf_file->WriteFully(data_, size_)) { in DoActualWrite()
78 PLOG(ERROR) << "Failed to write " << dbg_name_ << " for " << elf_file->GetPath(); in DoActualWrite()
100 bool DoActualWrite(File* elf_file) OVERRIDE { in DoActualWrite() argument
102 new BufferedOutputStream(new FileOutputStream(elf_file))); in DoActualWrite()
104 PLOG(ERROR) << "Failed to write .rodata and .text for " << elf_file->GetPath(); in DoActualWrite()
124 bool DoActualWrite(File* elf_file) OVERRIDE { in DoActualWrite() argument
139 static bool WriteOutFile(const std::vector<ElfFilePiece*>& pieces, File* elf_file) { in WriteOutFile() argument
142 if (!(*it)->Write(elf_file)) { in WriteOutFile()
881 bool ElfWriterQuick::Create(File* elf_file, in Create() argument
887 ElfWriterQuick elf_writer(driver, elf_file); in Create()