/art/runtime/ |
D | dex_method_iterator_test.cc | 31 std::vector<const DexFile*> dex_files; in TEST_F() local 34 dex_files.push_back(LoadExpectSingleDexFile(GetDexFileName(jars[i]).c_str())); in TEST_F() 36 DexMethodIterator it(dex_files); in TEST_F() 46 STLDeleteElements(&dex_files); in TEST_F()
|
D | common_runtime_test.cc | 178 std::vector<const DexFile*> dex_files; in LoadExpectSingleDexFile() local 180 if (!DexFile::Open(location, location, &error_msg, &dex_files)) { in LoadExpectSingleDexFile() 184 CHECK_EQ(1U, dex_files.size()) << "Expected only one dex file in " << location; in LoadExpectSingleDexFile() 185 return dex_files[0]; in LoadExpectSingleDexFile() 332 std::vector<const DexFile*> dex_files; in OpenTestDexFiles() local 333 bool success = DexFile::Open(filename.c_str(), filename.c_str(), &error_msg, &dex_files); in OpenTestDexFiles() 335 for (const DexFile* dex_file : dex_files) { in OpenTestDexFiles() 339 opened_dex_files_.insert(opened_dex_files_.end(), dex_files.begin(), dex_files.end()); in OpenTestDexFiles() 340 return dex_files; in OpenTestDexFiles() 350 std::vector<const DexFile*> dex_files = OpenTestDexFiles(dex_name); in LoadDex() local [all …]
|
D | dex_method_iterator.h | 28 explicit DexMethodIterator(const std::vector<const DexFile*>& dex_files) in DexMethodIterator() argument 29 : dex_files_(dex_files), in DexMethodIterator()
|
D | oat.h | 42 const std::vector<const DexFile*>* dex_files, 112 const std::vector<const DexFile*>* dex_files,
|
D | oat.cc | 43 const std::vector<const DexFile*>* dex_files, in Create() argument 56 dex_files, in Create() 64 const std::vector<const DexFile*>* dex_files, in OatHeader() argument 82 dex_file_count_ = dex_files->size(); in OatHeader()
|
D | dex_file.cc | 122 std::vector<const DexFile*>* dex_files) { in Open() argument 130 return DexFile::OpenZip(fd.release(), location, error_msg, dex_files); in Open() 136 dex_files->push_back(dex_file.release()); in Open() 226 std::vector<const DexFile*>* dex_files) { in OpenZip() argument 232 return DexFile::OpenFromZip(*zip_archive, location, error_msg, dex_files); in OpenZip() 288 std::string* error_msg, std::vector<const DexFile*>* dex_files) { in OpenFromZip() argument 296 dex_files->push_back(dex_file.release()); in OpenFromZip() 315 dex_files->push_back(next_dex_file.release()); in OpenFromZip()
|
D | runtime.cc | 588 std::vector<const DexFile*>& dex_files, in OpenDexFilesFromImage() argument 637 dex_files.push_back(dex_file); in OpenDexFilesFromImage() 647 std::vector<const DexFile*>& dex_files) { in OpenDexFiles() argument 649 if (!image_location.empty() && OpenDexFilesFromImage(dex_filenames, image_location, dex_files, in OpenDexFiles() 661 if (!DexFile::Open(dex_filename, dex_filename, &error_msg, &dex_files)) { in OpenDexFiles()
|
D | dex_file.h | 388 std::vector<const DexFile*>* dex_files); 401 std::string* error_msg, std::vector<const DexFile*>* dex_files); 904 std::vector<const DexFile*>* dex_files);
|
D | class_linker.cc | 740 std::vector<const DexFile*>* dex_files) { in LoadMultiDexFilesFromOatFile() argument 745 size_t old_size = dex_files->size(); // To rollback on error. in LoadMultiDexFilesFromOatFile() 793 dex_files->push_back(dex_file); in LoadMultiDexFilesFromOatFile() 804 if (dex_files->size() == old_size) { in LoadMultiDexFilesFromOatFile() 812 auto it = dex_files->begin() + old_size; in LoadMultiDexFilesFromOatFile() 813 auto it_end = dex_files->end(); in LoadMultiDexFilesFromOatFile() 817 dex_files->erase(dex_files->begin() + old_size, it_end); in LoadMultiDexFilesFromOatFile() 829 std::vector<const DexFile*>* dex_files) { in OpenDexFilesFromOat() argument 907 false, error_msgs, dex_files); in OpenDexFilesFromOat() 962 DexFile::Open(dex_location, dex_location, &error_msg, dex_files); in OpenDexFilesFromOat() [all …]
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 112 std::unique_ptr<std::vector<const DexFile*>> dex_files(new std::vector<const DexFile*>()); in DexFile_openDexFileNative() local 116 dex_files.get()); in DexFile_openDexFileNative() 118 if (success || !dex_files->empty()) { in DexFile_openDexFileNative() 121 return static_cast<jlong>(reinterpret_cast<uintptr_t>(dex_files.release())); in DexFile_openDexFileNative() 124 DCHECK_EQ(0U, dex_files->size()); in DexFile_openDexFileNative() 141 std::vector<const DexFile*>* dex_files = reinterpret_cast<std::vector<const DexFile*>*>( in toDexFiles() local 143 if (UNLIKELY(dex_files == nullptr)) { in toDexFiles() 147 return dex_files; in toDexFiles() 151 std::unique_ptr<std::vector<const DexFile*>> dex_files(toDexFiles(cookie, env)); in DexFile_closeDexFile() local 152 if (dex_files.get() == nullptr) { in DexFile_closeDexFile() [all …]
|
/art/compiler/ |
D | elf_writer_mclinker.h | 45 const std::vector<const DexFile*>& dex_files, 53 const std::vector<const DexFile*>& dex_files, 65 void AddMethodInputs(const std::vector<const DexFile*>& dex_files); 69 void FixupOatMethodOffsets(const std::vector<const DexFile*>& dex_files)
|
D | elf_writer_mclinker.cc | 56 const std::vector<const DexFile*>& dex_files, in Create() argument 61 return elf_writer.Write(oat_writer, dex_files, android_root, is_host); in Create() 65 const std::vector<const DexFile*>& dex_files, in Write() argument 77 AddMethodInputs(dex_files); in Write() 85 FixupOatMethodOffsets(dex_files); in Write() 241 void ElfWriterMclinker::AddMethodInputs(const std::vector<const DexFile*>& dex_files) { in AddMethodInputs() argument 244 DexMethodIterator it(dex_files); in AddMethodInputs() 348 void ElfWriterMclinker::FixupOatMethodOffsets(const std::vector<const DexFile*>& dex_files) { in FixupOatMethodOffsets() argument 354 DexMethodIterator it(dex_files); in FixupOatMethodOffsets()
|
D | elf_writer.h | 55 const std::vector<const DexFile*>& dex_files,
|
D | compilers.cc | 94 const std::vector<const art::DexFile*>& dex_files, in WriteElf() argument 97 return art::ElfWriterQuick::Create(file, oat_writer, dex_files, android_root, is_host, in WriteElf()
|
D | compiler.cc | 139 const std::vector<const art::DexFile*>& dex_files, in WriteElf() argument 145 file, oat_writer, dex_files, android_root, is_host, driver); in WriteElf()
|
D | compilers.h | 49 const std::vector<const art::DexFile*>& dex_files,
|
D | compiler.h | 75 const std::vector<const art::DexFile*>& dex_files,
|
D | oat_test.cc | 196 std::vector<const DexFile*> dex_files; in TEST_F() local 201 &dex_files, in TEST_F()
|
D | elf_writer_quick.h | 31 const std::vector<const DexFile*>& dex_files, 39 const std::vector<const DexFile*>& dex_files,
|
D | oat_writer.h | 79 OatWriter(const std::vector<const DexFile*>& dex_files,
|
D | elf_writer_quick.cc | 883 const std::vector<const DexFile*>& dex_files, in Create() argument 888 return elf_writer.Write(oat_writer, dex_files, android_root, is_host); in Create()
|
D | oat_writer.cc | 50 OatWriter::OatWriter(const std::vector<const DexFile*>& dex_files, in OatWriter() argument 58 dex_files_(&dex_files), in OatWriter()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 507 const std::vector<const DexFile*>& dex_files, in CompileAll() argument 512 PreCompile(class_loader, dex_files, thread_pool.get(), timings); in CompileAll() 513 Compile(class_loader, dex_files, thread_pool.get(), timings); in CompileAll() 571 std::vector<const DexFile*> dex_files; in CompileOne() local 572 dex_files.push_back(dex_file); in CompileOne() 575 PreCompile(jclass_loader, dex_files, thread_pool.get(), timings); in CompileOne() 596 void CompilerDriver::Resolve(jobject class_loader, const std::vector<const DexFile*>& dex_files, in Resolve() argument 598 for (size_t i = 0; i != dex_files.size(); ++i) { in Resolve() 599 const DexFile* dex_file = dex_files[i]; in Resolve() 601 ResolveDexFile(class_loader, *dex_file, dex_files, thread_pool, timings); in Resolve() [all …]
|
D | compiler_driver.h | 118 void CompileAll(jobject class_loader, const std::vector<const DexFile*>& dex_files, 395 const std::vector<const DexFile*>& dex_files, 703 void PreCompile(jobject class_loader, const std::vector<const DexFile*>& dex_files, 712 void Resolve(jobject class_loader, const std::vector<const DexFile*>& dex_files, 716 const std::vector<const DexFile*>& dex_files, 720 void Verify(jobject class_loader, const std::vector<const DexFile*>& dex_files, 723 const std::vector<const DexFile*>& dex_files, 727 void SetVerified(jobject class_loader, const std::vector<const DexFile*>& dex_files, 730 const std::vector<const DexFile*>& dex_files, 734 void InitializeClasses(jobject class_loader, const std::vector<const DexFile*>& dex_files, [all …]
|
/art/dex2oat/ |
D | dex2oat.cc | 356 const std::vector<const DexFile*>& dex_files, in CreateOatFile() argument 377 std::vector<const DexFile*> class_path_files(dex_files); in CreateOatFile() 408 driver->CompileAll(class_loader, dex_files, &timings); in CreateOatFile() 429 OatWriter oat_writer(dex_files, image_file_location_oat_checksum, in CreateOatFile() 437 if (!driver->WriteElf(android_root, is_host, dex_files, &oat_writer, oat_file)) { in CreateOatFile() 552 std::vector<const DexFile*>& dex_files) { in OpenClassPathFiles() argument 558 if (DexFilesContains(dex_files, parsed[i])) { in OpenClassPathFiles() 562 if (!DexFile::Open(parsed[i].c_str(), parsed[i].c_str(), &error_msg, &dex_files)) { in OpenClassPathFiles() 569 static bool DexFilesContains(const std::vector<const DexFile*>& dex_files, in DexFilesContains() argument 571 for (size_t i = 0; i < dex_files.size(); ++i) { in DexFilesContains() [all …]
|