/art/runtime/openjdkjvmti/ |
fixed_up_dex_file.cc | 37 #include "oat_file.h" 59 const art::OatFile* oat_file = oat_dex->GetOatFile(); local 60 if (oat_file == nullptr) { 63 const art::VdexFile* vdex = oat_file->GetVdexFile(); 69 for (const art::OatDexFile* cur_oat_dex : oat_file->GetOatDexFiles()) {
|
/art/test/117-nopatchoat/ |
nopatchoat.cc | 22 #include "oat_file.h" 57 const OatFile* oat_file = oat_dex_file->GetOatFile(); local 58 return !oat_file->IsPic() 59 && CompilerFilter::IsAotCompilationEnabled(oat_file->GetCompilerFilter());
|
/art/test/137-cfi/ |
cfi.cc | 35 #include "oat_file.h" 113 const OatFile* oat_file = image_spaces[0]->GetOatFile(); local 114 CHECK(oat_file != nullptr); // We should have an oat file to go with the image. 115 return oat_file->IsPic();
|
/art/test/common/ |
runtime_state.cc | 104 const OatFile* oat_file = oat_dex_file->GetOatFile(); local 105 CHECK(oat_file != nullptr); 107 const char* cmd_line = oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kDex2OatCmdLineKey);
|
/art/runtime/ |
class_table.cc | 20 #include "oat_file.h" 241 const OatFile* oat_file = dex_file->GetOatDexFile()->GetOatFile(); local 242 if (oat_file != nullptr && !oat_file->GetBssGcRoots().empty()) { 243 InsertOatFileLocked(oat_file); // Ignore return value. 250 bool ClassTable::InsertOatFile(const OatFile* oat_file) { 252 return InsertOatFileLocked(oat_file); 255 bool ClassTable::InsertOatFileLocked(const OatFile* oat_file) { 256 if (ContainsElement(oat_files_, oat_file)) { 259 oat_files_.push_back(oat_file); [all...] |
oat_file_assistant_test.cc | 118 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 119 EXPECT_EQ(nullptr, oat_file.get()); 399 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 400 ASSERT_TRUE(oat_file.get() != nullptr); 401 EXPECT_TRUE(oat_file->IsExecutable()); 403 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); 489 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 490 ASSERT_TRUE(oat_file.get() != nullptr); 491 EXPECT_TRUE(oat_file->IsExecutable()); 493 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()) 666 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 694 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 734 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 810 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 863 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 891 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 920 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 1059 const OatFile* oat_file = nullptr; local 1111 const OatFile* oat_file = task->GetLoadedOatFile(); local 1131 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 1153 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local 1249 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); local [all...] |
art_method.cc | 44 #include "oat_file-inl.h" 591 const OatFile* oat_file = oat_dex_file->GetOatFile(); local 592 if (oat_file == nullptr) { 595 return oat_file->DexBegin() + header->GetVmapTableOffset(); [all...] |
class_linker.cc | 97 #include "oat_file.h" 98 #include "oat_file-inl.h" 1502 const OatFile* oat_file = space->GetOatFile(); local 1719 const OatFile* oat_file = space->GetOatFile(); local [all...] |
/art/runtime/jit/ |
profile_saver.cc | 403 const OatFile* oat_file = oat_manager.FindOpenedOatFileFromDexLocation(location); local 404 if (oat_file == nullptr) { 411 CompilerFilter::Filter filter = oat_file->GetCompilerFilter(); 415 << location << " oat location: " << oat_file->GetLocation();
|
/art/runtime/native/ |
dalvik_system_DexFile.cc | 33 #include "oat_file.h" 53 /*out*/ const OatFile*& oat_file) { 69 oat_file = reinterpret_cast<const OatFile*>(static_cast<uintptr_t>(long_data[kOatFileIndex])); 80 const OatFile* oat_file, 94 long_data[kOatFileIndex] = reinterpret_cast<uintptr_t>(oat_file); 274 const OatFile* oat_file = nullptr; local 279 /*out*/ &oat_file, 283 jlongArray array = ConvertDexFilesToJavaArray(env, oat_file, dex_files); 310 const OatFile* oat_file; local 311 if (!ConvertJavaArrayToDexFiles(env, cookie, dex_files, oat_file)) { 357 const OatFile* oat_file; local 417 const OatFile* oat_file = nullptr; local 651 const OatFile* oat_file = nullptr; local [all...] |
/art/compiler/ |
oat_test.cc | 42 #include "oat_file-inl.h" 127 File* oat_file, 145 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify); 149 File* oat_file, 161 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify); 165 File* oat_file, 177 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify); 181 File* oat_file, 189 oat_file); 194 if (!oat_writer.WriteAndOpenDexFiles(kIsVdexEnabled ? vdex_file : oat_file, 605 ScratchFile oat_file, vdex_file(oat_file, ".vdex"); local 725 ScratchFile oat_file, vdex_file(oat_file, ".vdex"); local 771 ScratchFile oat_file, vdex_file(oat_file, ".vdex"); local 835 ScratchFile oat_file, vdex_file(oat_file, ".vdex"); local [all...] |
image_writer.cc | 67 #include "oat_file.h" 2371 const OatFile* oat_file = image_spaces[0]->GetOatFile(); local [all...] |
/art/dex2oat/ |
dex2oat_test.cc | 36 #include "oat_file.h" 60 std::unique_ptr<File> oat_file; local 64 oat_file.reset(OS::CreateEmptyFile(odex_location.c_str())); 65 CHECK(oat_file != nullptr) << odex_location; 66 args.push_back("--oat-fd=" + std::to_string(oat_file->Fd())); 78 if (oat_file != nullptr) { 79 CHECK_EQ(oat_file->FlushClose(), 0) << "Could not flush and close oat file";
|
dex2oat.cc | 585 for (std::unique_ptr<File>& oat_file : oat_files_) { 586 oat_file.release(); 1937 std::unique_ptr<File>& oat_file = oat_files_[i]; local [all...] |
/art/oatdump/ |
oatdump.cc | 60 #include "oat_file-inl.h" 116 OatSymbolizer(const OatFile* oat_file, const std::string& output_name, bool no_bits) : 117 oat_file_(oat_file), 345 OatDumper(const OatFile& oat_file, const OatDumperOptions& options) 346 : oat_file_(oat_file), 347 oat_dex_files_(oat_file.GetOatDexFiles()), 354 oat_file.Begin(), 355 oat_file.End(), 1821 const OatFile* oat_file = image_space_.GetOatFile(); local 2845 OatFile* oat_file = OatFile::Open(oat_filename, local [all...] |