Home
last modified time | relevance | path

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

/art/compiler/
Dimage_test.cc58 ScratchFile image_file(OS::CreateEmptyFile(image_filename.c_str())); in TEST_F() local
100 bool success_image = writer.Write(image_file.GetFilename(), requested_image_base, in TEST_F()
108 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in TEST_F()
187 image_file.Unlink(); in TEST_F()
Dimage_writer.cc147 std::unique_ptr<File> image_file(OS::CreateEmptyFile(image_filename.c_str())); in Write() local
149 if (image_file.get() == NULL) { in Write()
153 if (fchmod(image_file->Fd(), 0644) != 0) { in Write()
160 if (!image_file->WriteFully(image_->Begin(), image_end_)) { in Write()
167 if (!image_file->Write(reinterpret_cast<char*>(image_bitmap_->Begin()), in Write()
/art/runtime/gc/space/
Dimage_space.cc214 std::unique_ptr<File> image_file(OS::OpenFileForReading(filename)); in ReadSpecificImageHeader() local
215 if (image_file.get() == nullptr) { in ReadSpecificImageHeader()
218 const bool success = image_file->ReadFully(image_header, sizeof(ImageHeader)); in ReadSpecificImageHeader()