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

/art/patchoat/
H A Dpatchoat.cc189 bool PatchOat::Patch(const File* input_oat, const std::string& image_location, off_t delta, argument
195 CHECK(input_oat != nullptr);
197 CHECK_GE(input_oat->Fd(), 0);
205 if (sizeof(elf_hdr) != input_oat->Read(reinterpret_cast<char*>(&elf_hdr), sizeof(elf_hdr), 0)) {
263 std::unique_ptr<ElfFile> elf(ElfFile::Open(const_cast<File*>(input_oat),
266 LOG(ERROR) << "unable to open oat file " << input_oat->GetPath() << " : " << error_msg;
274 LOG(ERROR) << "Failed to patch oat file " << input_oat->GetPath();
444 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings) { argument
445 CHECK(input_oat != nullptr);
447 CHECK_GE(input_oat
1022 std::unique_ptr<File> input_oat; local
[all...]
/art/runtime/
H A Dclass_linker.cc1407 const OatFile* ClassLinker::PatchAndRetrieveOat(const std::string& input_oat, argument
1414 LOG(WARNING) << "Patching of oat file '" << input_oat << "' not attempted because we are "
1416 return GetInterpretedOnlyOat(input_oat, isa, error_msg);
1420 // input_oat but make sure we only do interpretation on it's dex files.
1421 LOG(WARNING) << "Patching of oat file '" << input_oat << "' not attempted due to dex2oat being "
1423 return GetInterpretedOnlyOat(input_oat, isa, error_msg);
1431 input_oat_filename_arg += input_oat;
1456 input_oat.c_str(), output_oat.c_str(), error_msg->c_str());
1460 input_oat.c_str(), output_oat.c_str(), error_msg->c_str());
1465 LOG(WARNING) << "Patching of oat file '" << input_oat << "' faile
[all...]

Completed in 9 milliseconds