/art/test/117-nopatchoat/ |
H A D | nopatchoat.cc | 44 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); local 46 return oat_dex_file != nullptr && oat_dex_file->GetOatFile()->IsExecutable(); 50 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); local 52 if (oat_dex_file == nullptr) { 56 const OatFile* oat_file = oat_dex_file->GetOatFile();
|
/art/compiler/ |
H A D | oat_writer.cc | 410 for (const OatDexFile& oat_dex_file : oat_dex_files_) { 411 locations.push_back(oat_dex_file.GetLocation()); 440 for (OatDexFile& oat_dex_file : oat_dex_files_) { 441 oat_dex_file.ReserveTypeLookupTable(this); 445 for (OatDexFile& oat_dex_file : oat_dex_files_) { 446 oat_dex_file.ReserveClassOffsets(this); 606 for (const OatDexFile& oat_dex_file : writer_->oat_dex_files_) { 607 num_classes += oat_dex_file.class_offsets_.size(); 1389 for (OatDexFile& oat_dex_file : oat_dex_files_) { 1390 oat_dex_file [all...] |
H A D | oat_writer.h | 257 bool ReadDexFileHeader(File* file, OatDexFile* oat_dex_file); 260 bool WriteDexFile(OutputStream* rodata, File* file, OatDexFile* oat_dex_file); 261 bool SeekToDexFile(OutputStream* rodata, File* file, OatDexFile* oat_dex_file); 262 bool WriteDexFile(OutputStream* rodata, File* file, OatDexFile* oat_dex_file, ZipEntry* dex_file); 263 bool WriteDexFile(OutputStream* rodata, File* file, OatDexFile* oat_dex_file, File* dex_file); 264 bool WriteDexFile(OutputStream* rodata, OatDexFile* oat_dex_file, const uint8_t* dex_file);
|
H A D | oat_test.cc | 396 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), local 398 ASSERT_TRUE(oat_dex_file != nullptr); 399 CHECK_EQ(dex_file.GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); 417 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i);
|
/art/test/common/ |
H A D | stack_inspect.cc | 67 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); local 68 if (oat_dex_file == nullptr) {
|
H A D | runtime_state.cc | 41 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); local 42 return (oat_dex_file != nullptr) ? JNI_TRUE : JNI_FALSE; 81 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); local 82 if (oat_dex_file == nullptr) { 86 const OatFile* oat_file = oat_dex_file->GetOatFile();
|
/art/oatdump/ |
H A D | oatdump.cc | 89 const DexFile* OpenDexFile(const OatFile::OatDexFile* oat_dex_file, std::string* error_msg) { argument 90 DCHECK(oat_dex_file != nullptr); 91 auto it = opened_dex_files.find(oat_dex_file); 95 const DexFile* ret = oat_dex_file->OpenDexFile(error_msg).release(); 96 opened_dex_files.emplace(oat_dex_file, std::unique_ptr<const DexFile>(ret)); 175 const OatFile::OatDexFile* oat_dex_file = oat_dex_files[i]; local 176 CHECK(oat_dex_file != nullptr); 177 WalkOatDexFile(oat_dex_file); 181 void WalkOatDexFile(const OatFile::OatDexFile* oat_dex_file) { argument 183 const DexFile* const dex_file = OpenDexFile(oat_dex_file, 452 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i]; local 491 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i]; local 520 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i]; local 571 DumpOatDexFile(std::ostream& os, const OatFile::OatDexFile& oat_dex_file) argument 639 ExportDexFile(std::ostream& os, const OatFile::OatDexFile& oat_dex_file) argument [all...] |
/art/runtime/ |
H A D | oat_file.cc | 459 OatDexFile* oat_dex_file = new OatDexFile(this, local 467 oat_dex_files_storage_.push_back(oat_dex_file); 470 StringPiece key(oat_dex_file->GetDexFileLocation()); 471 oat_dex_files_.Put(key, oat_dex_file); 473 StringPiece canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); 474 oat_dex_files_.Put(canonical_key, oat_dex_file); 1084 const OatFile::OatDexFile* oat_dex_file = nullptr; local 1090 oat_dex_file = primary_it->second; 1091 DCHECK(oat_dex_file != nullptr); 1099 oat_dex_file [all...] |
H A D | oat_file_assistant.cc | 274 const OatFile::OatDexFile* oat_dex_file = oat_file.GetOatDexFile( local 276 if (oat_dex_file == nullptr) { 282 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); 292 oat_dex_file = oat_file.GetOatDexFile(secondary_dex_location.c_str(), nullptr, false); 293 if (oat_dex_file == nullptr) { 298 dex_file = oat_dex_file->OpenDexFile(&error_msg); 485 const OatFile::OatDexFile* oat_dex_file = file.GetOatDexFile( local 487 if (oat_dex_file == nullptr) {
|
H A D | oat_file_manager.cc | 77 for (const OatDexFile* oat_dex_file : oat_dex_files) { 78 if (DexFile::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == dex_base_location) { 208 for (const OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) { 210 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error);
|
H A D | dex_file.h | 430 const OatDexFile* oat_dex_file, 1214 const OatDexFile* oat_dex_file, 1221 const OatDexFile* oat_dex_file);
|
H A D | dex_file.cc | 208 const OatDexFile* oat_dex_file, 217 oat_dex_file, 414 const OatDexFile* oat_dex_file, 418 new DexFile(base, size, location, location_checksum, mem_map, oat_dex_file)); 429 const OatDexFile* oat_dex_file) 442 oat_dex_file_(oat_dex_file) { 445 const uint8_t* lookup_data = (oat_dex_file != nullptr) 446 ? oat_dex_file->GetLookupTableData() 449 if (lookup_data + TypeLookupTable::RawDataLength(*this) > oat_dex_file->GetOatFile()->End()) { 205 Open(const uint8_t* base, size_t size, const std::string& location, uint32_t location_checksum, const OatDexFile* oat_dex_file, bool verify, std::string* error_msg) argument 409 OpenMemory(const uint8_t* base, size_t size, const std::string& location, uint32_t location_checksum, MemMap* mem_map, const OatDexFile* oat_dex_file, std::string* error_msg) argument 425 DexFile(const uint8_t* base, size_t size, const std::string& location, uint32_t location_checksum, MemMap* mem_map, const OatDexFile* oat_dex_file) argument
|
H A D | class_linker.cc | 1251 const OatFile::OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); local 1252 if (oat_dex_file != nullptr && oat_dex_file->GetDexCacheArrays() != nullptr) { 1272 const OatFile::OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); local 1273 if (oat_dex_file != nullptr && oat_dex_file->GetDexCacheArrays() != nullptr) { 1286 uint8_t* const raw_arrays = oat_dex_file->GetDexCacheArrays(); 1507 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(location, nullptr); local 1508 if (oat_dex_file == nullptr) { 1515 dex_file = oat_dex_file 2661 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); local 4051 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); local [all...] |
H A D | runtime.cc | 872 for (const OatFile::OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) { 873 if (oat_dex_file == nullptr) { 877 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg);
|
/art/dex2oat/ |
H A D | dex2oat_test.cc | 336 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { 337 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); 342 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index);
|
/art/runtime/gc/space/ |
H A D | image_space.cc | 1474 for (const OatFile::OatDexFile* oat_dex_file : oat_file_->GetOatDexFiles()) { 1475 const std::string& dex_file_location = oat_dex_file->GetDexFileLocation(); 1482 if (dex_file_location_checksum != oat_dex_file->GetDexFileLocationChecksum()) { 1486 oat_dex_file->GetDexFileLocationChecksum(),
|