Lines Matching refs:oat_file

851       for (std::unique_ptr<File>& oat_file : oat_files_) {  in ~Dex2Oat()
852 oat_file.release(); // NOLINT in ~Dex2Oat()
1468 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_filename.c_str())); in OpenFile() local
1469 if (oat_file == nullptr) { in OpenFile()
1473 if (fchmod(oat_file->Fd(), 0644) != 0) { in OpenFile()
1475 oat_file->Erase(); in OpenFile()
1478 oat_files_.push_back(std::move(oat_file)); in OpenFile()
1512 std::unique_ptr<File> oat_file( in OpenFile() local
1514 if (!oat_file->IsOpened()) { in OpenFile()
1518 if (oat_file->SetLength(0) != 0) { in OpenFile()
1520 oat_file->Erase(); in OpenFile()
1523 oat_files_.push_back(std::move(oat_file)); in OpenFile()
1811 const OatFile* oat_file = df->GetOatDexFile()->GetOatFile(); in Setup() local
1812 CHECK(oat_file != nullptr); in Setup()
1817 return oat_file == space->GetOatFile(); in Setup()
2347 std::unique_ptr<File>& oat_file = oat_files_[i]; in WriteOutputFiles() local
2359 LOG(ERROR) << "Failed to write .rodata section to the ELF file " << oat_file->GetPath(); in WriteOutputFiles()
2367 LOG(ERROR) << "Failed to write .text section to the ELF file " << oat_file->GetPath(); in WriteOutputFiles()
2376 << oat_file->GetPath(); in WriteOutputFiles()
2383 LOG(ERROR) << "Failed to write oat header to the ELF file " << oat_file->GetPath(); in WriteOutputFiles()
2398 LOG(ERROR) << "Failed to write ELF file " << oat_file->GetPath(); in WriteOutputFiles()
2741 for (const std::unique_ptr<File>& oat_file : oat_files_) { in CreateOatWriters() local
2742 elf_writers_.emplace_back(linker::CreateElfWriterQuick(*compiler_options_, oat_file.get())); in CreateOatWriters()