Home
last modified time | relevance | path

Searched refs:DexFile (Results 76 – 100 of 285) sorted by relevance

12345678910>>...12

/art/tools/dexanalyze/
Ddexanalyze_experiments.cc80 void Experiment::ProcessDexFiles(const std::vector<std::unique_ptr<const DexFile>>& dex_files) { in ProcessDexFiles()
81 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in ProcessDexFiles()
87 const std::vector<std::unique_ptr<const DexFile>>& dex_files) { in ProcessDexFiles()
92 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in ProcessDexFiles()
112 case DexFile::DBG_END_SEQUENCE: in ProcessDexFiles()
116 case DexFile::DBG_ADVANCE_PC: in ProcessDexFiles()
120 case DexFile::DBG_ADVANCE_LINE: in ProcessDexFiles()
124 case DexFile::DBG_START_LOCAL: in ProcessDexFiles()
130 case DexFile::DBG_START_LOCAL_EXTENDED: in ProcessDexFiles()
137 case DexFile::DBG_END_LOCAL: in ProcessDexFiles()
[all …]
/art/test/071-dexfile/src/
DMain.java96 Class<?> DexFile = classLoader.loadClass("dalvik.system.DexFile"); in testDexFile() local
97 Method DexFile_loadDex = DexFile.getMethod("loadDex", in testDexFile()
101 Method DexFile_entries = DexFile.getMethod("entries"); in testDexFile()
/art/dex2oat/driver/
Dcompiler_driver_test.cc72 const std::vector<const DexFile*> class_path = GetDexFiles(class_loader); in MakeAllExecutable()
74 const DexFile* dex_file = class_path[i]; in MakeAllExecutable()
85 const DexFile& dex_file = *method->GetDexFile(); in MakeExecutable()
93 void MakeDexFileExecutable(jobject class_loader, const DexFile& dex_file) { in MakeDexFileExecutable()
114 std::vector<const DexFile*> dex_files_;
125 const DexFile& dex = *java_lang_dex_file_; in TEST_F()
202 std::vector<std::unique_ptr<const DexFile>> dex_files = OpenTestDexFiles("ProfileTestMultiDex"); in GetProfileCompilationInfo()
205 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in GetProfileCompilationInfo()
276 for (const DexFile* dex_file : GetDexFiles(class_loader)) { in TEST_F()
335 std::vector<const DexFile*> dex_files; in TEST_F()
[all …]
Dcompiler_driver.cc331 const std::vector<const DexFile*>& dex_files, in CompileAll()
350 const DexFile& dex_file, const dex::ClassDef& class_def) in GetDexToDexCompilationLevel()
394 const DexFile& dex_file, in GetDexToDexCompilationLevel()
426 const DexFile& dex_file, in CompileMethodHarness()
475 const DexFile& dex_file, in CompileMethodDex2Dex()
486 const DexFile& dex_file, in CompileMethodDex2Dex()
537 const DexFile& dex_file, in CompileMethodQuick()
549 const DexFile& dex_file, in CompileMethodQuick()
647 const std::vector<const DexFile*>& dex_files, in Resolve()
657 const DexFile* dex_file = dex_files[i]; in Resolve()
[all …]
/art/dexlist/
Ddexlist.cc85 static void dumpMethod(const DexFile* pDexFile, in dumpMethod()
116 accessor.DecodeDebugPositionInfo([&](const DexFile::PositionInfo& entry) { in dumpMethod()
136 void dumpClass(const DexFile* pDexFile, u4 idx) { in dumpClass()
168 std::vector<std::unique_ptr<const DexFile>> dex_files; in processFile()
188 const DexFile* pDexFile = dex_files[i].get(); in processFile()
/art/dex2oat/dex/
Ddex_to_dex_decompiler_test.cc48 std::vector<const DexFile*> dex_files = GetDexFiles(class_loader); in CompileAll()
60 const DexFile* original_dex_file = GetDexFiles(original_class_loader)[0]; in RunTest()
64 const DexFile* updated_dex_file = nullptr; in RunTest()
/art/libdexfile/dex/
Ddex_file_layout.h28 class DexFile; variable
96 void Madvise(const DexFile* dex_file, int advice) const;
116 void Madvise(const DexFile* dex_file, MadviseState state) const;
Dart_dex_file_loader_test.cc51 std::vector<std::unique_ptr<const DexFile>> dex_files_;
52 const DexFile* java_lang_dex_file_;
56 std::unique_ptr<const DexFile> dex(OpenTestDexFile("Nested")); in TEST_F()
61 std::unique_ptr<const DexFile> raw(OpenTestDexFile("Main")); in TEST_F()
86 std::vector<std::unique_ptr<const DexFile>> dexes = OpenTestDexFiles("MultiDex"); in TEST_F()
98 std::unique_ptr<const DexFile> raw(OpenTestDexFile("Nested")); in TEST_F()
113 std::unique_ptr<const DexFile> raw(OpenTestDexFile("GetMethodSignature")); in TEST_F()
219 std::unique_ptr<const DexFile> raw(OpenTestDexFile("GetMethodSignature")); in TEST_F()
Dstandard_dex_file.h29 class StandardDexFile : public DexFile {
31 class Header : public DexFile::Header {
120 : DexFile(base, in StandardDexFile()
Dtype_lookup_table_test.cc32 std::unique_ptr<const DexFile> dex_file(OpenTestDexFile("Lookup")); in TEST_F()
40 std::unique_ptr<const DexFile> dex_file(OpenTestDexFile("Lookup")); in TEST_P()
/art/openjdkjvmti/
Dti_class_loader.h46 class DexFile; variable
62 const art::DexFile* dex_file)
86 const art::DexFile* new_dex_file) REQUIRES_SHARED(art::Locks::mutator_lock_);
/art/dex2oat/linker/
Doat_writer.h177 /*out*/ std::vector<std::unique_ptr<const DexFile>>* opened_dex_files);
179 bool StartRoData(const std::vector<const DexFile*>& dex_files,
185 const std::vector<const DexFile*>& dex_files);
310 /*out*/ std::vector<std::unique_ptr<const DexFile>>* opened_dex_files);
337 const std::vector<const DexFile*>& opened_dex_files);
339 const std::vector<const DexFile*>& opened_dex_files);
387 const std::vector<const DexFile*>* dex_files_;
439 SafeMap<const DexFile*, BitVector> bss_method_entry_references_;
442 SafeMap<const DexFile*, BitVector> bss_type_entry_references_;
445 SafeMap<const DexFile*, BitVector> bss_string_entry_references_;
Dimage_test.h66 std::vector<std::unique_ptr<const DexFile>> extra_dex_files;
153 std::vector<const DexFile*> class_path = class_linker->GetBootClassPath(); in DoCompile()
155 for (const std::unique_ptr<const DexFile>& dex_file : out_helper.extra_dex_files) { in DoCompile()
165 for (const DexFile* dex_file : class_path) { in DoCompile()
207 std::unordered_map<const DexFile*, size_t> dex_file_to_oat_index_map; in DoCompile()
209 for (const DexFile* dex_file : class_path) { in DoCompile()
244 std::vector<std::unique_ptr<const DexFile>> opened_dex_files; in DoCompile()
247 const DexFile* dex_file = class_path[i]; in DoCompile()
257 std::vector<std::unique_ptr<const DexFile>> cur_opened_dex_files; in DoCompile()
271 for (std::unique_ptr<const DexFile>& cur_dex_file : cur_opened_dex_files) { in DoCompile()
[all …]
/art/runtime/
Doat_file.h41 class DexFile; variable
162 static OatFile* OpenFromVdex(const std::vector<const DexFile*>& dex_files,
370 static OatClass FindOatClass(const DexFile& dex_file, uint16_t class_def_idx, bool* found);
464 std::vector<std::unique_ptr<const DexFile>> external_dex_files_;
481 std::unique_ptr<const DexFile> OpenDexFile(std::string* error_msg) const;
533 ArrayRef<const uint8_t> GetQuickenedInfoOf(const DexFile& dex_file,
538 static const dex::ClassDef* FindClassDef(const DexFile& dex_file,
543 static void MadviseDexFile(const DexFile& dex_file, MadviseState state);
575 const DexFile* dex_file,
Dcommon_runtime_test.cc181 std::vector<const DexFile*> CommonRuntimeTestImpl::GetDexFiles(jobject jclass_loader) { in GetDexFiles()
190 std::vector<const DexFile*> CommonRuntimeTestImpl::GetDexFiles( in GetDexFiles()
199 std::vector<const DexFile*> ret; in GetDexFiles()
202 [&](const DexFile* cp_dex_file) { in GetDexFiles()
213 const DexFile* CommonRuntimeTestImpl::GetFirstDexFile(jobject jclass_loader) { in GetFirstDexFile()
214 std::vector<const DexFile*> tmp(GetDexFiles(jclass_loader)); in GetFirstDexFile()
216 const DexFile* ret = tmp[0]; in GetFirstDexFile()
223 std::vector<std::unique_ptr<const DexFile>> first_dex_files = OpenTestDexFiles(first_dex_name); in LoadMultiDex()
224 std::vector<std::unique_ptr<const DexFile>> second_dex_files = OpenTestDexFiles(second_dex_name); in LoadMultiDex()
225 std::vector<const DexFile*> class_path; in LoadMultiDex()
[all …]
/art/compiler/optimizing/
Dblock_builder.h31 const DexFile* const dex_file,
77 const DexFile* const dex_file_;
/art/runtime/verifier/
Dclass_verifier.h36 class DexFile; variable
75 const DexFile* dex_file,
104 const DexFile* dex_file,
/art/compiler/driver/
Ddex_compilation_unit.h40 const DexFile& dex_file,
57 const DexFile* GetDexFile() const { in GetDexFile()
165 const DexFile* const dex_file_;
/art/tools/veridex/
Dhidden_api.h31 class DexFile; variable
80 static std::string GetApiMethodName(const DexFile& dex_file, uint32_t method_index);
82 static std::string GetApiFieldName(const DexFile& dex_file, uint32_t field_index);
Dresolver.cc49 static bool HasSameNameAndSignature(const DexFile& dex_file, in HasSameNameAndSignature()
57 static bool HasSameNameAndSignature(const DexFile& dex_file, in HasSameNameAndSignature()
65 static bool HasSameNameAndType(const DexFile& dex_file, in HasSameNameAndType()
117 const DexFile& dex_file = resolver_it->second->dex_file_; in GetResolverOf()
140 const DexFile& other_dex_file = resolver->dex_file_; in LookupMethodIn()
195 const DexFile& other_dex_file = resolver->dex_file_; in LookupFieldIn()
245 const DexFile& other_dex_file = resolver->dex_file_; in LookupDeclaredMethodIn()
/art/dexlayout/
Ddex_writer.h178 static inline constexpr uint32_t SectionAlignment(DexFile::MapItemType type) { in SectionAlignment()
180 case DexFile::kDexTypeClassDataItem: in SectionAlignment()
181 case DexFile::kDexTypeStringDataItem: in SectionAlignment()
182 case DexFile::kDexTypeDebugInfoItem: in SectionAlignment()
183 case DexFile::kDexTypeAnnotationItem: in SectionAlignment()
184 case DexFile::kDexTypeEncodedArrayItem: in SectionAlignment()
/art/compiler/jni/quick/
Djni_compiler.h29 class DexFile; variable
68 const DexFile& dex_file);
/art/libprofile/profile/
Dprofile_compilation_info.h101 bool MatchesDex(const DexFile* dex_file) const { in MatchesDex()
347 const DexFile* dex_file,
373 const DexFile* dex_file,
414 bool VerifyProfileData(const std::vector<const DexFile *> &dex_files);
459 const DexFile& dex_file,
477 std::string DumpInfo(const std::vector<const DexFile*>& dex_files,
486 const DexFile& dex_file,
523 std::vector<std::unique_ptr<const DexFile>>& dex_files,
537 const std::vector<const DexFile*>& dex_files,
552 bool UpdateProfileKeys(const std::vector<std::unique_ptr<const DexFile>>& dex_files);
[all …]
Dprofile_compilation_info_test.cc73 const DexFile* dex, in AddMethod()
83 const DexFile* dex, in AddMethod()
94 const DexFile* dex, in AddClass()
107 const DexFile* dex, in GetMethod()
229 std::vector<const DexFile*> dex_files; in SizeStressTest()
236 for (const DexFile* dex_file : dex_files) { in SizeStressTest()
281 const DexFile* dex1;
282 const DexFile* dex2;
283 const DexFile* dex3;
284 const DexFile* dex4;
[all …]
/art/dex2oat/
Ddex2oat_test.cc549 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
650 const DexFile* dex, in GenerateProfile()
678 std::vector<std::unique_ptr<const DexFile>> dex_files;
683 std::unique_ptr<const DexFile>& dex_file = dex_files[0];
810 std::vector<std::unique_ptr<const DexFile>> dex_files; in CheckResult()
815 std::unique_ptr<const DexFile>& old_dex_file = dex_files[0]; in CheckResult()
818 std::unique_ptr<const DexFile> new_dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
981 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
1159 std::vector<std::unique_ptr<const DexFile>> dex_files = OpenTestDexFiles("Nested"); in TEST_F()
1197 std::vector<std::unique_ptr<const DexFile>> oat_dex_files = in TEST_F()
[all …]

12345678910>>...12