Lines Matching defs:oat_file
44 const OatFile* oat_file = class_linker->FindOpenedOatFileFromOatLocation(oat_location);
45 if (oat_file == nullptr) {
47 oat_file = OatFile::Open(oat_location, oat_location, NULL, false, error_msg);
48 if (oat_file == nullptr) {
53 CHECK_EQ(class_linker->RegisterOatFile(oat_file), oat_file);
55 return ElfPatcher::Patch(driver, elf_file, oat_file,
56 reinterpret_cast<uintptr_t>(oat_file->Begin()), cb, cb_data, error_msg);
59 bool ElfPatcher::Patch(const CompilerDriver* driver, ElfFile* elf, const OatFile* oat_file,
73 ElfPatcher p(driver, elf, oat_file, oat_header, oat_data_start, cb, cb_data, error_msg);
226 // oat_file to the elf_patcher oat_file so we need to adjust the quick oat code to be the
227 // one in the output oat_file (ie where it is actually going to be loaded).