Home
last modified time | relevance | path

Searched refs:image_file (Results 1 – 2 of 2) sorted by relevance

/art/dex2oat/linker/
Dimage_test.h124 for (ScratchFile& image_file : image_files) { in ~CompilationHelper()
125 image_file.Unlink(); in ~CompilationHelper()
139 for (ScratchFile& image_file : image_files) { in GetImageObjectSectionSizes()
140 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in GetImageObjectSectionSizes()
408 for (ScratchFile& image_file : helper.image_files) { in TestWriteRead()
409 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in TestWriteRead()
Dimage_writer.cc663 void reset(File* image_file) { in reset() argument
664 image_file_.reset(image_file); in reset()
688 std::unique_ptr<File> image_file = std::move(image_file_); in WriteHeaderAndClose() local
689 if (image_file->FlushCloseOrErase() != 0) { in WriteHeaderAndClose()
744 ImageFileGuard image_file; in Write() local
747 image_file.reset(new File(image_fd, unix_file::kCheckSafeUsage)); in Write()
749 if (image_file != nullptr) { in Write()
750 TEMP_FAILURE_RETRY(image_file->SetLength(0)); in Write()
751 TEMP_FAILURE_RETRY(image_file->Flush()); in Write()
757 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write()
[all …]