Searched refs:image_filename (Results 1 – 5 of 5) sorted by relevance
184 std::string image_filename(GetSystemImageFilename(file.GetFilename().c_str(), kRuntimeISA)); in DoCompile()185 image_filenames.push_back(image_filename); in DoCompile()186 size_t pos = image_filename.rfind('/'); in DoCompile()187 CHECK_NE(pos, std::string::npos) << image_filename; in DoCompile()189 out_helper.image_dir = image_filename.substr(0, pos); in DoCompile()193 out_helper.image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); in DoCompile()198 for (const std::string& image_filename : image_filenames) { in DoCompile() local199 std::string oat_filename = ReplaceFileExtension(image_filename, "oat"); in DoCompile()202 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); in DoCompile()
679 bool WriteHeaderAndClose(const std::string& image_filename, const ImageHeader* image_header) { in WriteHeaderAndClose() argument682 PLOG(ERROR) << "Failed to write image file header " << image_filename; in WriteHeaderAndClose()690 PLOG(ERROR) << "Failed to flush and close image file " << image_filename; in WriteHeaderAndClose()742 const std::string& image_filename = image_filenames[i]; in Write() local746 if (image_filename.empty()) { in Write()754 LOG(ERROR) << "image fd " << image_fd << " name " << image_filename; in Write()757 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write()761 LOG(ERROR) << "Failed to open image file " << image_filename; in Write()766 PLOG(ERROR) << "Failed to make image file world readable: " << image_filename; in Write()820 PLOG(ERROR) << "Failed to write image file data " << image_filename; in Write()[all …]
185 static std::unique_ptr<ImageSpace> Init(const char* image_filename,
1881 std::string image_filename = image_space_.GetImageFilename(); in Dump() local1882 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); in Dump()1967 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump()1970 LOG(WARNING) << "Failed to find image in " << image_filename; in Dump()
2705 std::string StripIsaFrom(const char* image_filename, InstructionSet isa) { in StripIsaFrom() argument2706 std::string res(image_filename); in StripIsaFrom()