Searched refs:oat_dex_file (Results 1 - 16 of 16) sorted by relevance

/art/test/117-nopatchoat/
H A Dnopatchoat.cc44 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 Doat_writer.cc410 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 Doat_writer.h257 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 Doat_test.cc396 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 Dstack_inspect.cc67 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); local
68 if (oat_dex_file == nullptr) {
H A Druntime_state.cc41 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 Doatdump.cc89 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 Doat_file.cc459 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 Doat_file_assistant.cc274 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 Doat_file_manager.cc77 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 Ddex_file.h430 const OatDexFile* oat_dex_file,
1214 const OatDexFile* oat_dex_file,
1221 const OatDexFile* oat_dex_file);
H A Ddex_file.cc208 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 Dclass_linker.cc1251 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 Druntime.cc872 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 Ddex2oat_test.cc336 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 Dimage_space.cc1474 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(),

Completed in 335 milliseconds