Searched defs:input_oat (Results 1 - 1 of 1) sorted by relevance

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

Completed in 366 milliseconds