Searched defs:dex_files (Results 1 - 15 of 15) sorted by relevance

/art/runtime/
H A Ddex_method_iterator_test.cc31 std::vector<const DexFile*> dex_files; local
34 dex_files.push_back(LoadExpectSingleDexFile(GetDexFileName(jars[i]).c_str()));
36 DexMethodIterator it(dex_files);
46 STLDeleteElements(&dex_files);
H A Ddex_method_iterator.h28 explicit DexMethodIterator(const std::vector<const DexFile*>& dex_files) argument
29 : dex_files_(dex_files),
H A Dcommon_runtime_test.cc169 std::vector<const DexFile*> dex_files; local
171 if (!DexFile::Open(location, location, &error_msg, &dex_files)) {
175 CHECK_EQ(1U, dex_files.size()) << "Expected only one dex file in " << location;
176 return dex_files[0];
323 std::vector<const DexFile*> dex_files; local
324 bool success = DexFile::Open(filename.c_str(), filename.c_str(), &error_msg, &dex_files);
326 for (const DexFile* dex_file : dex_files) {
330 opened_dex_files_.insert(opened_dex_files_.end(), dex_files.begin(), dex_files.end());
331 return dex_files;
341 std::vector<const DexFile*> dex_files = OpenTestDexFiles(dex_name); local
[all...]
H A Doat.cc43 const std::vector<const DexFile*>* dex_files,
56 dex_files,
64 const std::vector<const DexFile*>* dex_files,
82 dex_file_count_ = dex_files->size();
41 Create(InstructionSet instruction_set, const InstructionSetFeatures& instruction_set_features, const std::vector<const DexFile*>* dex_files, uint32_t image_file_location_oat_checksum, uint32_t image_file_location_oat_data_begin, const SafeMap<std::string, std::string>* variable_data) argument
62 OatHeader(InstructionSet instruction_set, const InstructionSetFeatures& instruction_set_features, const std::vector<const DexFile*>* dex_files, uint32_t image_file_location_oat_checksum, uint32_t image_file_location_oat_data_begin, const SafeMap<std::string, std::string>* variable_data) argument
H A Druntime.cc572 std::vector<const DexFile*>& dex_files,
621 dex_files.push_back(dex_file);
631 std::vector<const DexFile*>& dex_files) {
633 if (!image_location.empty() && OpenDexFilesFromImage(dex_filenames, image_location, dex_files,
645 if (!DexFile::Open(dex_filename, dex_filename, &error_msg, &dex_files)) {
570 OpenDexFilesFromImage(const std::vector<std::string>& dex_filenames, const std::string& image_location, std::vector<const DexFile*>& dex_files, size_t* failures) argument
629 OpenDexFiles(const std::vector<std::string>& dex_filenames, const std::string& image_location, std::vector<const DexFile*>& dex_files) argument
H A Ddex_file.cc122 std::vector<const DexFile*>* dex_files) {
130 return DexFile::OpenZip(fd.release(), location, error_msg, dex_files);
136 dex_files->push_back(dex_file.release());
226 std::vector<const DexFile*>* dex_files) {
232 return DexFile::OpenFromZip(*zip_archive, location, error_msg, dex_files);
287 std::string* error_msg, std::vector<const DexFile*>* dex_files) {
295 dex_files->push_back(dex_file.release());
314 dex_files->push_back(next_dex_file.release());
121 Open(const char* filename, const char* location, std::string* error_msg, std::vector<const DexFile*>* dex_files) argument
225 OpenZip(int fd, const std::string& location, std::string* error_msg, std::vector<const DexFile*>* dex_files) argument
286 OpenFromZip(const ZipArchive& zip_archive, const std::string& location, std::string* error_msg, std::vector<const DexFile*>* dex_files) argument
H A Dclass_linker.cc718 // dex_files - the loaded dex_files will be appended here (only if the loading succeeds)
724 std::vector<const DexFile*>* dex_files) {
729 size_t old_size = dex_files->size(); // To rollback on error.
777 dex_files->push_back(dex_file);
788 if (dex_files->size() == old_size) {
796 auto it = dex_files->begin() + old_size;
797 auto it_end = dex_files->end();
801 dex_files->erase(dex_files
719 LoadMultiDexFilesFromOatFile(const OatFile* oat_file, const char* dex_location, const uint32_t* dex_location_checksum, bool generated, std::vector<std::string>* error_msgs, std::vector<const DexFile*>* dex_files) argument
811 OpenDexFilesFromOat(const char* dex_location, const char* oat_location, std::vector<std::string>* error_msgs, std::vector<const DexFile*>* dex_files) argument
2058 auto* dex_files = local
[all...]
/art/compiler/
H A Dcompilers.cc92 const std::vector<const art::DexFile*>& dex_files,
95 return art::ElfWriterQuick::Create(file, oat_writer, dex_files, android_root, is_host,
90 WriteElf(art::File* file, OatWriter* oat_writer, const std::vector<const art::DexFile*>& dex_files, const std::string& android_root, bool is_host) const argument
H A Doat_test.cc196 std::vector<const DexFile*> dex_files; local
201 &dex_files,
H A Delf_writer_mclinker.cc56 const std::vector<const DexFile*>& dex_files,
61 return elf_writer.Write(oat_writer, dex_files, android_root, is_host);
65 const std::vector<const DexFile*>& dex_files,
77 AddMethodInputs(dex_files);
85 FixupOatMethodOffsets(dex_files);
241 void ElfWriterMclinker::AddMethodInputs(const std::vector<const DexFile*>& dex_files) { argument
244 DexMethodIterator it(dex_files);
348 void ElfWriterMclinker::FixupOatMethodOffsets(const std::vector<const DexFile*>& dex_files) { argument
354 DexMethodIterator it(dex_files);
54 Create(File* elf_file, OatWriter* oat_writer, const std::vector<const DexFile*>& dex_files, const std::string& android_root, bool is_host, const CompilerDriver& driver) argument
64 Write(OatWriter* oat_writer, const std::vector<const DexFile*>& dex_files, const std::string& android_root, bool is_host) argument
H A Delf_writer_quick.cc883 const std::vector<const DexFile*>& dex_files,
888 return elf_writer.Write(oat_writer, dex_files, android_root, is_host);
881 Create(File* elf_file, OatWriter* oat_writer, const std::vector<const DexFile*>& dex_files, const std::string& android_root, bool is_host, const CompilerDriver& driver) argument
H A Doat_writer.cc50 OatWriter::OatWriter(const std::vector<const DexFile*>& dex_files, argument
58 dex_files_(&dex_files),
/art/runtime/native/
H A Ddalvik_system_DexFile.cc112 std::unique_ptr<std::vector<const DexFile*>> dex_files(new std::vector<const DexFile*>());
116 dex_files.get());
118 if (success || !dex_files->empty()) {
121 return static_cast<jlong>(reinterpret_cast<uintptr_t>(dex_files.release()));
124 DCHECK_EQ(0U, dex_files->size());
141 std::vector<const DexFile*>* dex_files = reinterpret_cast<std::vector<const DexFile*>*>( local
143 if (UNLIKELY(dex_files == nullptr)) {
147 return dex_files;
151 std::unique_ptr<std::vector<const DexFile*>> dex_files(toDexFiles(cookie, env));
152 if (dex_files
171 std::vector<const DexFile*>* dex_files = toDexFiles(cookie, env); local
214 std::vector<const DexFile*>* dex_files = toDexFiles(cookie, env); local
[all...]
/art/dex2oat/
H A Ddex2oat.cc347 const std::vector<const DexFile*>& dex_files,
366 std::vector<const DexFile*> class_path_files(dex_files);
395 driver->CompileAll(class_loader, dex_files, &timings);
416 OatWriter oat_writer(dex_files, image_file_location_oat_checksum,
424 if (!driver->WriteElf(android_root, is_host, dex_files, &oat_writer, oat_file)) {
517 // Appends to dex_files any elements of class_path that it doesn't already
520 std::vector<const DexFile*>& dex_files) {
526 if (DexFilesContains(dex_files, parsed[i])) {
530 if (!DexFile::Open(parsed[i].c_str(), parsed[i].c_str(), &error_msg, &dex_files)) {
536 // Returns true if dex_files ha
344 CreateOatFile(const std::string& boot_image_option, const std::string& android_root, bool is_host, const std::vector<const DexFile*>& dex_files, File* oat_file, const std::string& oat_location, const std::string& bitcode_filename, bool image, std::unique_ptr<std::set<std::string>>& image_classes, bool dump_stats, bool dump_passes, TimingLogger& timings, CumulativeLogger& compiler_phases_timings, std::string profile_file, SafeMap<std::string, std::string>* key_value_store) argument
519 OpenClassPathFiles(const std::string& class_path, std::vector<const DexFile*>& dex_files) argument
537 DexFilesContains(const std::vector<const DexFile*>& dex_files, const std::string& location) argument
562 OpenDexFiles(const std::vector<const char*>& dex_filenames, const std::vector<const char*>& dex_locations, std::vector<const DexFile*>& dex_files) argument
1312 std::vector<const DexFile*> dex_files; local
[all...]
/art/compiler/driver/
H A Dcompiler_driver.cc507 const std::vector<const DexFile*>& dex_files,
511 PreCompile(class_loader, dex_files, thread_pool.get(), timings);
512 Compile(class_loader, dex_files, thread_pool.get(), timings);
570 std::vector<const DexFile*> dex_files; local
571 dex_files.push_back(dex_file);
574 PreCompile(jclass_loader, dex_files, thread_pool.get(), timings);
595 void CompilerDriver::Resolve(jobject class_loader, const std::vector<const DexFile*>& dex_files, argument
597 for (size_t i = 0; i != dex_files.size(); ++i) {
598 const DexFile* dex_file = dex_files[i];
600 ResolveDexFile(class_loader, *dex_file, dex_files, thread_poo
506 CompileAll(jobject class_loader, const std::vector<const DexFile*>& dex_files, TimingLogger* timings) argument
604 PreCompile(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1363 ParallelCompilationManager(ClassLinker* class_linker, jobject class_loader, CompilerDriver* compiler, const DexFile* dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool) argument
1638 ResolveDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1659 SetVerified(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1668 Verify(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1724 VerifyDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1768 SetVerifiedDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1863 InitializeClasses(jobject jni_class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1880 InitializeClasses(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1894 Compile(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1990 CompileDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
[all...]

Completed in 920 milliseconds