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

/art/patchoat/
H A Dpatchoat.cc194 bool PatchOat::Patch(File* input_oat, const std::string& image_location, off_t delta, argument
202 CHECK(input_oat != nullptr);
204 CHECK_GE(input_oat->Fd(), 0);
212 if (sizeof(elf_hdr) != input_oat->Read(reinterpret_cast<char*>(&elf_hdr), sizeof(elf_hdr), 0)) {
274 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat,
277 LOG(ERROR) << "unable to open oat file " << input_oat->GetPath() << " : " << error_msg;
288 if (!ReplaceOatFileWithSymlink(input_oat->GetPath(),
305 LOG(ERROR) << "Failed to patch oat file " << input_oat->GetPath();
315 LOG(ERROR) << "Failed to write oat file " << input_oat->GetPath();
563 bool PatchOat::Patch(File* input_oat, off_ argument
1171 std::unique_ptr<File> input_oat; local
[all...]
/art/runtime/
H A Dclass_linker.cc1429 const OatFile* ClassLinker::PatchAndRetrieveOat(const std::string& input_oat, argument
1438 LOG(WARNING) << "Patching of oat file '" << input_oat << "' not attempted because we are "
1440 return GetInterpretedOnlyOat(input_oat, isa, error_msg);
1444 // input_oat but make sure we only do interpretation on it's dex files.
1445 LOG(WARNING) << "Patching of oat file '" << input_oat << "' not attempted due to dex2oat being "
1447 return GetInterpretedOnlyOat(input_oat, isa, error_msg);
1455 input_oat_filename_arg += input_oat;
1481 input_oat.c_str(), output_oat.c_str(), error_msg->c_str());
1485 input_oat.c_str(), output_oat.c_str(), error_msg->c_str());
1490 LOG(WARNING) << "Patching of oat file '" << input_oat << "' faile
[all...]

Completed in 49 milliseconds