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.cc178 std::vector<const DexFile*> dex_files; local
180 if (!DexFile::Open(location, location, &error_msg, &dex_files)) {
184 CHECK_EQ(1U, dex_files.size()) << "Expected only one dex file in " << location;
185 return dex_files[0];
332 std::vector<const DexFile*> dex_files; local
333 bool success = DexFile::Open(filename.c_str(), filename.c_str(), &error_msg, &dex_files);
335 for (const DexFile* dex_file : dex_files) {
339 opened_dex_files_.insert(opened_dex_files_.end(), dex_files.begin(), dex_files.end());
340 return dex_files;
350 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.cc588 std::vector<const DexFile*>& dex_files,
637 dex_files.push_back(dex_file);
647 std::vector<const DexFile*>& dex_files) {
649 if (!image_location.empty() && OpenDexFilesFromImage(dex_filenames, image_location, dex_files,
661 if (!DexFile::Open(dex_filename, dex_filename, &error_msg, &dex_files)) {
586 OpenDexFilesFromImage(const std::vector<std::string>& dex_filenames, const std::string& image_location, std::vector<const DexFile*>& dex_files, size_t* failures) argument
645 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);
288 std::string* error_msg, std::vector<const DexFile*>* dex_files) {
296 dex_files->push_back(dex_file.release());
315 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
287 OpenFromZip(const ZipArchive& zip_archive, const std::string& location, std::string* error_msg, std::vector<const DexFile*>* dex_files) argument
H A Dclass_linker.cc734 // dex_files - the loaded dex_files will be appended here (only if the loading succeeds)
740 std::vector<const DexFile*>* dex_files) {
745 size_t old_size = dex_files->size(); // To rollback on error.
793 dex_files->push_back(dex_file);
804 if (dex_files->size() == old_size) {
812 auto it = dex_files->begin() + old_size;
813 auto it_end = dex_files->end();
817 dex_files->erase(dex_files
735 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
827 OpenDexFilesFromOat(const char* dex_location, const char* oat_location, std::vector<std::string>* error_msgs, std::vector<const DexFile*>* dex_files) argument
2088 auto* dex_files = local
[all...]
/art/compiler/
H A Dcompilers.cc94 const std::vector<const art::DexFile*>& dex_files,
97 return art::ElfWriterQuick::Create(file, oat_writer, dex_files, android_root, is_host,
92 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.cc356 const std::vector<const DexFile*>& dex_files,
377 std::vector<const DexFile*> class_path_files(dex_files);
408 driver->CompileAll(class_loader, dex_files, &timings);
429 OatWriter oat_writer(dex_files, image_file_location_oat_checksum,
437 if (!driver->WriteElf(android_root, is_host, dex_files, &oat_writer, oat_file)) {
549 // Appends to dex_files any elements of class_path that it doesn't already
552 std::vector<const DexFile*>& dex_files) {
558 if (DexFilesContains(dex_files, parsed[i])) {
562 if (!DexFile::Open(parsed[i].c_str(), parsed[i].c_str(), &error_msg, &dex_files)) {
568 // Returns true if dex_files ha
353 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, std::unique_ptr<std::set<std::string>>& compiled_classes, bool dump_stats, bool dump_passes, TimingLogger& timings, CumulativeLogger& compiler_phases_timings, int swap_fd, std::string profile_file, SafeMap<std::string, std::string>* key_value_store) argument
551 OpenClassPathFiles(const std::string& class_path, std::vector<const DexFile*>& dex_files) argument
569 DexFilesContains(const std::vector<const DexFile*>& dex_files, const std::string& location) argument
594 OpenDexFiles(const std::vector<const char*>& dex_filenames, const std::vector<const char*>& dex_locations, std::vector<const DexFile*>& dex_files) argument
817 UseSwap(bool is_image, std::vector<const DexFile*>& dex_files) argument
1434 std::vector<const DexFile*> dex_files; local
[all...]
/art/compiler/driver/
H A Dcompiler_driver.cc507 const std::vector<const DexFile*>& dex_files,
512 PreCompile(class_loader, dex_files, thread_pool.get(), timings);
513 Compile(class_loader, dex_files, thread_pool.get(), timings);
571 std::vector<const DexFile*> dex_files; local
572 dex_files.push_back(dex_file);
575 PreCompile(jclass_loader, dex_files, thread_pool.get(), timings);
596 void CompilerDriver::Resolve(jobject class_loader, const std::vector<const DexFile*>& dex_files, argument
598 for (size_t i = 0; i != dex_files.size(); ++i) {
599 const DexFile* dex_file = dex_files[i];
601 ResolveDexFile(class_loader, *dex_file, dex_files, thread_poo
506 CompileAll(jobject class_loader, const std::vector<const DexFile*>& dex_files, TimingLogger* timings) argument
605 PreCompile(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1450 ParallelCompilationManager(ClassLinker* class_linker, jobject class_loader, CompilerDriver* compiler, const DexFile* dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool) argument
1725 ResolveDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1746 SetVerified(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1755 Verify(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1811 VerifyDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1855 SetVerifiedDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1950 InitializeClasses(jobject jni_class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1967 InitializeClasses(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
1981 Compile(jobject class_loader, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
2084 CompileDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument
[all...]

Completed in 158 milliseconds