Home
last modified time | relevance | path

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

/art/patchoat/
Dpatchoat.cc178 bool PatchOat::Patch(File* input_oat, const std::string& image_location, off_t delta, in Patch() argument
186 CHECK(input_oat != nullptr); in Patch()
188 CHECK_GE(input_oat->Fd(), 0); in Patch()
196 if (sizeof(elf_hdr) != input_oat->Read(reinterpret_cast<char*>(&elf_hdr), sizeof(elf_hdr), 0)) { in Patch()
258 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat, in Patch()
261 LOG(ERROR) << "unable to open oat file " << input_oat->GetPath() << " : " << error_msg; in Patch()
272 if (!ReplaceOatFileWithSymlink(input_oat->GetPath(), in Patch()
289 LOG(ERROR) << "Failed to patch oat file " << input_oat->GetPath(); in Patch()
299 LOG(ERROR) << "Failed to write oat file " << input_oat->GetPath(); in Patch()
658 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings, in Patch() argument
[all …]