Lines Matching refs:DexFile
324 const art::DexFile::CodeItem* code_item,
330 const art::DexFile& dex_file);
507 const std::vector<const DexFile*>& dex_files, in CompileAll()
520 Thread* self, Handle<mirror::ClassLoader> class_loader, const DexFile& dex_file, in GetDexToDexCompilationlevel()
521 const DexFile::ClassDef& class_def) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetDexToDexCompilationlevel()
553 const DexFile* dex_file; in CompileOne()
568 const DexFile::CodeItem* code_item = dex_file->GetCodeItem(method->GetCodeItemOffset()); in CompileOne()
571 std::vector<const DexFile*> dex_files; in CompileOne()
581 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_idx); in CompileOne()
596 void CompilerDriver::Resolve(jobject class_loader, const std::vector<const DexFile*>& dex_files, in Resolve()
599 const DexFile* dex_file = dex_files[i]; in Resolve()
605 void CompilerDriver::PreCompile(jobject class_loader, const std::vector<const DexFile*>& dex_files, in PreCompile()
649 std::set<std::pair<uint16_t, const DexFile*>>& exceptions_to_resolve) in ResolveExceptionsForMethod()
651 const DexFile::CodeItem* code_item = mh->GetMethod()->GetCodeItem(); in ResolveExceptionsForMethod()
658 const byte* encoded_catch_handler_list = DexFile::GetCatchHandlerData(*code_item, 0); in ResolveExceptionsForMethod()
673 std::pair<uint16_t, const DexFile*>(encoded_catch_handler_handlers_type_idx, in ResolveExceptionsForMethod()
688 std::set<std::pair<uint16_t, const DexFile*>>* exceptions_to_resolve = in ResolveCatchBlockExceptionsClassVisitor()
689 reinterpret_cast<std::set<std::pair<uint16_t, const DexFile*>>*>(arg); in ResolveCatchBlockExceptionsClassVisitor()
742 std::set<std::pair<uint16_t, const DexFile*>> unresolved_exception_types; in LoadImageClasses()
750 for (const std::pair<uint16_t, const DexFile*>& exception_type : unresolved_exception_types) { in LoadImageClasses()
752 const DexFile* dex_file = exception_type.second; in LoadImageClasses()
759 const DexFile::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); in LoadImageClasses()
827 bool CompilerDriver::CanAssumeTypeIsPresentInDexCache(const DexFile& dex_file, uint32_t type_idx) { in CanAssumeTypeIsPresentInDexCache()
848 bool CompilerDriver::CanAssumeStringIsPresentInDexCache(const DexFile& dex_file, in CanAssumeStringIsPresentInDexCache()
870 bool CompilerDriver::CanAccessTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, in CanAccessTypeWithoutChecks()
891 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); in CanAccessTypeWithoutChecks()
918 const DexFile& dex_file, in CanAccessInstantiableTypeWithoutChecks()
928 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); in CanAccessInstantiableTypeWithoutChecks()
945 bool CompilerDriver::CanEmbedTypeInCode(const DexFile& dex_file, uint32_t type_idx, in CanEmbedTypeInCode()
996 bool CompilerDriver::CanEmbedStringInCode(const DexFile& dex_file, uint32_t string_idx, in CanEmbedStringInCode()
1232 if (dex_method_idx != DexFile::kDexNoIndex) { in GetCodeAndMethodForDirectCall()
1344 const VerifiedMethod* CompilerDriver::GetVerifiedMethod(const DexFile* dex_file, in GetVerifiedMethod()
1365 void CompilerDriver::AddCodePatch(const DexFile* dex_file, in AddCodePatch()
1370 const DexFile* target_dex_file, in AddCodePatch()
1383 void CompilerDriver::AddRelativeCodePatch(const DexFile* dex_file, in AddRelativeCodePatch()
1388 const DexFile* target_dex_file, in AddRelativeCodePatch()
1403 void CompilerDriver::AddMethodPatch(const DexFile* dex_file, in AddMethodPatch()
1408 const DexFile* target_dex_file, in AddMethodPatch()
1421 void CompilerDriver::AddClassPatch(const DexFile* dex_file, in AddClassPatch()
1433 void CompilerDriver::AddStringPatch(const DexFile* dex_file, in AddStringPatch()
1453 const DexFile* dex_file, in ParallelCompilationManager()
1454 const std::vector<const DexFile*>& dex_files, in ParallelCompilationManager()
1478 const DexFile* GetDexFile() const { in GetDexFile()
1483 const std::vector<const DexFile*>& GetDexFiles() const { in GetDexFiles()
1543 const DexFile* const dex_file_;
1544 const std::vector<const DexFile*>& dex_files_;
1552 static bool SkipClass(jobject class_loader, const DexFile& dex_file, mirror::Class* klass) in SkipClass()
1555 const DexFile& original_dex_file = *klass->GetDexCache()->GetDexFile(); in SkipClass()
1600 const DexFile& dex_file = *manager->GetDexFile(); in ResolveClassFieldsAndMethods()
1615 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in ResolveClassFieldsAndMethods()
1706 const DexFile& dex_file = *manager->GetDexFile(); in ResolveType()
1725 void CompilerDriver::ResolveDexFile(jobject class_loader, const DexFile& dex_file, in ResolveDexFile()
1726 const std::vector<const DexFile*>& dex_files, in ResolveDexFile()
1746 void CompilerDriver::SetVerified(jobject class_loader, const std::vector<const DexFile*>& dex_files, in SetVerified()
1749 const DexFile* dex_file = dex_files[i]; in SetVerified()
1755 void CompilerDriver::Verify(jobject class_loader, const std::vector<const DexFile*>& dex_files, in Verify()
1758 const DexFile* dex_file = dex_files[i]; in Verify()
1768 const DexFile& dex_file = *manager->GetDexFile(); in VerifyClass()
1769 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in VerifyClass()
1811 void CompilerDriver::VerifyDexFile(jobject class_loader, const DexFile& dex_file, in VerifyDexFile()
1812 const std::vector<const DexFile*>& dex_files, in VerifyDexFile()
1825 const DexFile& dex_file = *manager->GetDexFile(); in SetVerifiedClass()
1826 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in SetVerifiedClass()
1855 void CompilerDriver::SetVerifiedDexFile(jobject class_loader, const DexFile& dex_file, in SetVerifiedDexFile()
1856 const std::vector<const DexFile*>& dex_files, in SetVerifiedDexFile()
1869 const DexFile& dex_file = *manager->GetDexFile(); in InitializeClass()
1870 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in InitializeClass()
1871 const DexFile::TypeId& class_type_id = dex_file.GetTypeId(class_def.class_idx_); in InitializeClass()
1950 void CompilerDriver::InitializeClasses(jobject jni_class_loader, const DexFile& dex_file, in InitializeClasses()
1951 const std::vector<const DexFile*>& dex_files, in InitializeClasses()
1968 const std::vector<const DexFile*>& dex_files, in InitializeClasses()
1971 const DexFile* dex_file = dex_files[i]; in InitializeClasses()
1981 void CompilerDriver::Compile(jobject class_loader, const std::vector<const DexFile*>& dex_files, in Compile()
1984 const DexFile* dex_file = dex_files[i]; in Compile()
1993 const DexFile& dex_file = *manager->GetDexFile(); in CompileClass()
1994 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in CompileClass()
2084 void CompilerDriver::CompileDexFile(jobject class_loader, const DexFile& dex_file, in CompileDexFile()
2085 const std::vector<const DexFile*>& dex_files, in CompileDexFile()
2093 void CompilerDriver::CompileMethod(const DexFile::CodeItem* code_item, uint32_t access_flags, in CompileMethod()
2096 const DexFile& dex_file, in CompileMethod()
2209 void CompilerDriver::AddRequiresConstructorBarrier(Thread* self, const DexFile* dex_file, in AddRequiresConstructorBarrier()
2215 bool CompilerDriver::RequiresConstructorBarrier(Thread* self, const DexFile* dex_file, in RequiresConstructorBarrier()
2223 const std::vector<const art::DexFile*>& dex_files, in WriteElf()