Lines Matching refs:OatFile
676 const OatFile* ClassLinker::RegisterOatFile(const OatFile* oat_file) { in RegisterOatFile()
688 OatFile& ClassLinker::GetImageOatFile(gc::space::ImageSpace* space) { in GetImageOatFile()
690 OatFile* oat_file = space->ReleaseOatFile(); in GetImageOatFile()
696 const OatFile::OatDexFile* ClassLinker::FindOpenedOatDexFileForDexFile(const DexFile& dex_file) { in FindOpenedOatDexFileForDexFile()
702 const OatFile::OatDexFile* ClassLinker::FindOpenedOatDexFile(const char* oat_location, in FindOpenedOatDexFile()
706 for (const OatFile* oat_file : oat_files_) { in FindOpenedOatDexFile()
715 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in FindOpenedOatDexFile()
735 static bool LoadMultiDexFilesFromOatFile(const OatFile* oat_file, in LoadMultiDexFilesFromOatFile()
768 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(next_name, nullptr, false); in LoadMultiDexFilesFromOatFile()
844 const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFile(oat_location, dex_location, in OpenDexFilesFromOat()
846 std::unique_ptr<const OatFile> open_oat_file( in OpenDexFilesFromOat()
909 const OatFile* oat_file = open_oat_file.release(); // Avoid deleting it. in OpenDexFilesFromOat()
979 const OatFile* ClassLinker::FindOatFileInOatLocationForDexFile(const char* dex_location, in FindOatFileInOatLocationForDexFile()
983 std::unique_ptr<OatFile> oat_file(OatFile::Open(oat_location, oat_location, nullptr, nullptr, in FindOatFileInOatLocationForDexFile()
1021 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in FindOatFileInOatLocationForDexFile()
1044 const OatFile* ClassLinker::CreateOatFileForDexLocation(const char* dex_location, in CreateOatFileForDexLocation()
1055 std::unique_ptr<OatFile> oat_file(OatFile::Open(oat_location, oat_location, nullptr, nullptr, in CreateOatFileForDexLocation()
1068 bool ClassLinker::VerifyOatImageChecksum(const OatFile* oat_file, in VerifyOatImageChecksum()
1087 bool ClassLinker::VerifyOatChecksums(const OatFile* oat_file, in VerifyOatChecksums()
1134 bool ClassLinker::VerifyOatAndDexFileChecksums(const OatFile* oat_file, in VerifyOatAndDexFileChecksums()
1143 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in VerifyOatAndDexFileChecksums()
1148 for (const OatFile::OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) { in VerifyOatAndDexFileChecksums()
1167 bool ClassLinker::VerifyOatWithDexFile(const OatFile* oat_file, in VerifyOatWithDexFile()
1178 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, nullptr); in VerifyOatWithDexFile()
1198 const OatFile* ClassLinker::FindOatFileContainingDexFileFromDexLocation( in FindOatFileContainingDexFileFromDexLocation()
1207 std::unique_ptr<const OatFile> oat_file(OpenOatFileFromDexLocation(dex_location_str, isa, in FindOatFileContainingDexFileFromDexLocation()
1235 const OatFile* ClassLinker::FindOpenedOatFileFromOatLocation(const std::string& oat_location) { in FindOpenedOatFileFromOatLocation()
1238 const OatFile* oat_file = oat_files_[i]; in FindOpenedOatFileFromOatLocation()
1247 const OatFile* ClassLinker::OpenOatFileFromDexLocation(const std::string& dex_location, in OpenOatFileFromDexLocation()
1253 const OatFile* ret = nullptr; in OpenOatFileFromDexLocation()
1312 std::unique_ptr<OatFile> odex_oat_file(OatFile::Open(odex_filename, odex_filename, nullptr, in OpenOatFileFromDexLocation()
1336 std::unique_ptr<OatFile> cache_oat_file(OatFile::Open(cache_filename, cache_filename, nullptr, in OpenOatFileFromDexLocation()
1411 const OatFile* ClassLinker::GetInterpretedOnlyOat(const std::string& oat_path, in GetInterpretedOnlyOat()
1415 …std::unique_ptr<OatFile> output(OatFile::Open(oat_path, oat_path, nullptr, nullptr, false, error_m… in GetInterpretedOnlyOat()
1429 const OatFile* ClassLinker::PatchAndRetrieveOat(const std::string& input_oat, in PatchAndRetrieveOat()
1472 std::unique_ptr<OatFile> output(OatFile::Open(output_oat, output_oat, nullptr, nullptr, in PatchAndRetrieveOat()
1501 bool ClassLinker::CheckOatFile(const Runtime* runtime, const OatFile* oat_file, InstructionSet isa, in CheckOatFile()
1566 const OatFile* ClassLinker::FindOatFileFromOatLocation(const std::string& oat_location, in FindOatFileFromOatLocation()
1568 const OatFile* oat_file = FindOpenedOatFileFromOatLocation(oat_location); in FindOatFileFromOatLocation()
1573 …return OatFile::Open(oat_location, oat_location, nullptr, nullptr, !Runtime::Current()->IsCompiler… in FindOatFileFromOatLocation()
1607 OatFile& oat_file = GetImageOatFile(space); in InitFromImage()
1639 const OatFile::OatDexFile* oat_dex_file = oat_file.GetOatDexFile(dex_file_location.c_str(), in InitFromImage()
2347 OatFile::OatClass* oat_class) { in FindOatClass()
2350 const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFileForDexFile(dex_file); in FindOatClass()
2392 bool ClassLinker::FindOatMethodFor(mirror::ArtMethod* method, OatFile::OatMethod* oat_method) { in FindOatMethodFor()
2422 OatFile::OatClass oat_class; in FindOatMethodFor()
2439 OatFile::OatMethod oat_method; in GetQuickOatCodeFor()
2470 OatFile::OatMethod oat_method; in GetPortableOatCodeFor()
2497 OatFile::OatMethod oat_method; in GetOatMethodQuickCodeFor()
2504 OatFile::OatClass oat_class; in GetQuickOatCodeFor()
2515 OatFile::OatClass oat_class; in GetPortableOatCodeFor()
2573 OatFile::OatClass oat_class; in FixupStaticTrampolines()
2585 OatFile::OatMethod oat_method = oat_class.GetOatMethod(method_index); in FixupStaticTrampolines()
2627 void ClassLinker::LinkCode(Handle<mirror::ArtMethod> method, const OatFile::OatClass* oat_class, in LinkCode()
2642 const OatFile::OatMethod oat_method = oat_class->GetOatMethod(method_index); in LinkCode()
2757 OatFile::OatClass oat_class; in LoadClass()
2771 const OatFile::OatClass* oat_class) { in LoadClassMembers()
3672 const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFileForDexFile(dex_file); in VerifyClassUsingOatFile()
4636 const OatFile* class_oat_file = dex_file.GetOatFile(); in CheckSuperClassChange()
4638 const OatFile* loaded_super_oat_file = super_class->GetDexFile().GetOatFile(); in CheckSuperClassChange()
6011 … const OatFile::OatDexFile* oat_dex_file = class_linker->FindOpenedOatDexFileForDexFile(dex_file); in MayBeCalledWithDirectCodePointer()
6016 const OatFile* oat_file = oat_dex_file->GetOatFile(); in MayBeCalledWithDirectCodePointer()
6022 for (const OatFile* oat_file : oat_files_) { in MayBeCalledWithDirectCodePointer()