Home | History | Annotate | Download | only in dex2oat

Lines Matching refs:oat_file

43 #include "oat_file.h"
72 std::unique_ptr<File> oat_file;
79 oat_file.reset(OS::CreateEmptyFile(odex_location.c_str()));
80 CHECK(oat_file != nullptr) << odex_location;
81 args.push_back("--oat-fd=" + std::to_string(oat_file->Fd()));
93 if (oat_file != nullptr) {
94 CHECK_EQ(oat_file->FlushClose(), 0) << "Could not flush and close oat file";
1111 auto check_oat = [expected_classpath_key](const OatFile& oat_file) {
1113 const char* classpath = oat_file.GetOatHeader().GetStoreValueByKey(OatHeader::kClassPathKey);
1195 std::unique_ptr<OatFile> oat_file(oat_file_assistant.GetBestOatFile());
1197 OatFileAssistant::LoadDexFiles(*oat_file, stripped_classpath.c_str());
2168 [&](const OatFile& oat_file) {
2169 EXPECT_NE(oat_file.GetClassLoaderContext(), stored_context) << output_;
2170 EXPECT_NE(oat_file.GetClassLoaderContext(), valid_context) << output_;
2180 [&](const OatFile& oat_file) {
2181 EXPECT_EQ(oat_file.GetClassLoaderContext(), expected_stored_context) << output_;