/art/runtime/ |
H A D | method_reference.h | 28 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) { 30 const DexFile* dex_file; member in struct:art::MethodReference 36 if (mr1.dex_file == mr2.dex_file) { 39 return mr1.dex_file < mr2.dex_file;
|
H A D | dex_method_iterator_test.cc | 38 const DexFile& dex_file = it.GetDexFile(); local 42 LG << invoke_type << " " << PrettyMethod(method_idx, dex_file);
|
H A D | method_helper-inl.h | 30 const DexFile* dex_file = method_->GetDexFile(); local 31 const DexFile::MethodId& mid = dex_file->GetMethodId(GetMethod()->GetDexMethodIndex()); 34 dex_file->GetMethodId(other->GetMethod()->GetDexMethodIndex()); 40 if (!DexFileStringEquals(dex_file, mid.name_idx_, other_dex_file, other_mid.name_idx_)) { 43 return dex_file->GetMethodSignature(mid) == other_dex_file->GetMethodSignature(other_mid); 58 const DexFile* dex_file = method->GetDexFile(); local 59 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); 60 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
|
H A D | field_helper.cc | 20 #include "dex_file.h" 33 const DexFile* dex_file = field_->GetDexFile(); local 34 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index);
|
H A D | dex_file_verifier_test.cc | 129 const DexFile* dex_file = tmp[0]; local 130 EXPECT_EQ(PROT_READ, dex_file->GetPermissions()); 131 EXPECT_TRUE(dex_file->IsReadOnly()); 132 return dex_file; 159 static void FixUpChecksum(byte* dex_file) { argument 160 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(dex_file); 164 const byte* non_sum_ptr = dex_file + non_sum; 195 const DexFile* dex_file = tmp[0]; local 196 EXPECT_EQ(PROT_READ, dex_file->GetPermissions()); 197 EXPECT_TRUE(dex_file [all...] |
H A D | dex_method_iterator.h | 22 #include "dex_file.h" 130 const DexFile* dex_file = dex_files_[dex_file_index_]; local 131 CHECK(dex_file != NULL); 132 return *dex_file;
|
/art/compiler/dex/quick/ |
H A D | dex_file_to_method_inliner_map.cc | 40 DexFileMethodInliner* DexFileToMethodInlinerMap::GetMethodInliner(const DexFile* dex_file) { argument 44 auto it = inliners_.find(dex_file); 59 DexFileMethodInliner** inliner = &inliners_[dex_file]; // inserts new entry if not found 68 locked_inliner->FindIntrinsics(dex_file);
|
H A D | dex_file_to_method_inliner_map.h | 43 DexFileMethodInliner* GetMethodInliner(const DexFile* dex_file) NO_THREAD_SAFETY_ANALYSIS;
|
/art/runtime/native/ |
H A D | java_lang_DexCache.cc | 17 #include "dex_file.h" 30 const DexFile* dex_file = dex_cache->GetDexFile(); local 31 if (dex_file == NULL) { 34 void* address = const_cast<void*>(reinterpret_cast<const void*>(dex_file->Begin())); 35 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size());
|
H A D | dalvik_system_VMRuntime.cc | 23 #include "dex_file-inl.h" 234 const DexFile* dex_file = dex_cache->GetDexFile(); local 235 const char* utf8 = dex_file->StringDataByIdx(string_idx); 251 const DexFile* dex_file = dex_cache->GetDexFile(); local 252 const char* class_name = dex_file->StringByTypeIdx(type_idx); 280 const DexFile* dex_file = dex_cache->GetDexFile(); local 281 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_idx); 308 const DexFile* dex_file = dex_cache->GetDexFile(); local 309 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); 366 const DexFile* dex_file local 383 const DexFile* dex_file = boot_class_path[i]; local 445 const DexFile* dex_file = boot_class_path[i]; local [all...] |
/art/compiler/sea_ir/ |
H A D | frontend.cc | 45 jobject class_loader, const DexFile& dex_file, 47 LOG(INFO) << "Compiling " << PrettyMethod(method_idx, dex_file) << "."; 48 sea_ir::SeaGraph* ir_graph = sea_ir::SeaGraph::GetGraph(dex_file); 49 std::string symbol = "dex_" + MangleForJni(PrettyMethod(method_idx, dex_file)); 51 code_item, class_def_idx, method_idx, method_access_flags, dex_file); 55 MethodReference mref(&dex_file, method_idx); 60 LOG(INFO) << "Compiled SEA IR method " << PrettyMethod(method_idx, dex_file) << "."; 72 const DexFile& dex_file, 75 class_def_idx, method_idx, class_loader, dex_file, llvm_compilation_unit); 83 const art::DexFile& dex_file) { 40 CompileMethodWithSeaIr(CompilerDriver& compiler, CompilerBackend* compiler_backend, const DexFile::CodeItem* code_item, uint32_t method_access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, void* llvm_compilation_unit) argument 64 SeaIrCompileOneMethod(CompilerDriver& compiler, CompilerBackend* backend, const DexFile::CodeItem* code_item, uint32_t method_access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, void* llvm_compilation_unit) argument 79 SeaIrCompileMethod(art::CompilerDriver& compiler, const art::DexFile::CodeItem* code_item, uint32_t method_access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument [all...] |
/art/test/116-nodex2oat/ |
H A D | nodex2oat.cc | 18 #include "dex_file-inl.h" 30 const DexFile& dex_file = klass->GetDexFile(); local 32 Runtime::Current()->GetClassLinker()->FindOpenedOatDexFileForDexFile(dex_file);
|
/art/test/118-noimage-dex2oat/ |
H A D | noimage-dex2oat.cc | 18 #include "dex_file-inl.h" 30 const DexFile& dex_file = klass->GetDexFile(); local 32 Runtime::Current()->GetClassLinker()->FindOpenedOatDexFileForDexFile(dex_file);
|
/art/compiler/ |
H A D | compiler.cc | 36 const art::DexFile& dex_file); 46 const art::DexFile& dex_file) { 48 bool use_sea = (std::string::npos != PrettyMethod(method_idx, dex_file).find("fibonacci")); 57 dex_file); 77 const art::DexFile& dex_file); 81 const art::DexFile& dex_file); 105 const DexFile& dex_file) const OVERRIDE { 112 dex_file); 124 dex_file); 129 const DexFile& dex_file) cons 40 TryCompileWithSeaIR(const art::DexFile::CodeItem* code_item, uint32_t access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument [all...] |
H A D | compilers.cc | 35 const art::DexFile& dex_file); 39 const art::DexFile& dex_file); 58 const DexFile& dex_file) const { 65 dex_file); 77 dex_file); 82 const DexFile& dex_file) const { 83 return ArtQuickJniCompileMethod(GetCompilerDriver(), access_flags, method_idx, dex_file); 148 const DexFile& dex_file) const { 150 method_idx, class_loader, dex_file); 156 class_loader, dex_file); [all...] |
H A D | oat_test.cc | 40 const DexFile* dex_file) 43 compiler_driver_->GetCompiledMethod(MethodReference(dex_file, 148 const DexFile* dex_file = java_lang_dex_file_; local 149 uint32_t dex_file_checksum = dex_file->GetLocationChecksum(); 150 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file->GetLocation().c_str(), 153 CHECK_EQ(dex_file->GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); 154 for (size_t i = 0; i < dex_file->NumClassDefs(); i++) { 155 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); 156 const byte* class_data = dex_file->GetClassData(class_def); 159 ClassDataItemIterator it(*dex_file, class_dat [all...] |
H A D | compilers.h | 38 const DexFile& dex_file) const OVERRIDE; 42 const DexFile& dex_file) const OVERRIDE; 84 const DexFile& dex_file) const OVERRIDE; 92 const DexFile& dex_file) const;
|
H A D | compiler.h | 20 #include "dex_file.h" 56 const DexFile& dex_file) const = 0; 64 const art::DexFile& dex_file); 68 const DexFile& dex_file) const = 0;
|
/art/compiler/dex/ |
H A D | quick_compiler_callbacks.cc | 29 method_inliner_map_->GetMethodInliner(ref.dex_file)
|
/art/compiler/driver/ |
H A D | dex_compilation_unit.cc | 30 dex_file_(cu->dex_file), 35 verified_method_(cu_->compiler_driver->GetVerifiedMethod(cu->dex_file, cu->method_idx)) { 41 const DexFile& dex_file, 50 dex_file_(&dex_file), 38 DexCompilationUnit(CompilationUnit* cu, jobject class_loader, ClassLinker* class_linker, const DexFile& dex_file, const DexFile::CodeItem* code_item, uint16_t class_def_idx, uint32_t method_idx, uint32_t access_flags, const VerifiedMethod* verified_method) argument
|
H A D | compiler_driver.cc | 36 #include "dex_file-inl.h" 330 const art::DexFile& dex_file); 520 Thread* self, Handle<mirror::ClassLoader> class_loader, const DexFile& dex_file, 522 const char* descriptor = dex_file.GetClassDescriptor(class_def); 553 const DexFile* dex_file; local 564 // Find the dex_file 565 dex_file = method->GetDexFile(); 568 const DexFile::CodeItem* code_item = dex_file->GetCodeItem(method->GetCodeItemOffset()); 572 dex_files.push_back(dex_file); 581 const DexFile::ClassDef& class_def = dex_file 599 const DexFile* dex_file = dex_files[i]; local 752 const DexFile* dex_file = exception_type.second; local 827 CanAssumeTypeIsPresentInDexCache(const DexFile& dex_file, uint32_t type_idx) argument 848 CanAssumeStringIsPresentInDexCache(const DexFile& dex_file, uint32_t string_idx) argument 870 CanAccessTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, uint32_t type_idx, bool* type_known_final, bool* type_known_abstract, bool* equals_referrers_class) argument 917 CanAccessInstantiableTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, uint32_t type_idx) argument 945 CanEmbedTypeInCode(const DexFile& dex_file, uint32_t type_idx, bool* is_type_initialized, bool* use_direct_type_ptr, uintptr_t* direct_type_ptr, bool* out_is_finalizable) argument 996 CanEmbedStringInCode(const DexFile& dex_file, uint32_t string_idx, bool* use_direct_type_ptr, uintptr_t* direct_type_ptr) argument 1344 GetVerifiedMethod(const DexFile* dex_file, uint32_t method_idx) const argument 1365 AddCodePatch(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, InvokeType referrer_invoke_type, uint32_t target_method_idx, const DexFile* target_dex_file, InvokeType target_invoke_type, size_t literal_offset) argument 1383 AddRelativeCodePatch(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, InvokeType referrer_invoke_type, uint32_t target_method_idx, const DexFile* target_dex_file, InvokeType target_invoke_type, size_t literal_offset, int32_t pc_relative_offset) argument 1403 AddMethodPatch(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, InvokeType referrer_invoke_type, uint32_t target_method_idx, const DexFile* target_dex_file, InvokeType target_invoke_type, size_t literal_offset) argument 1421 AddClassPatch(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, uint32_t target_type_idx, size_t literal_offset) argument 1433 AddStringPatch(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, uint32_t string_idx, size_t literal_offset) 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 1600 const DexFile& dex_file = *manager->GetDexFile(); local 1706 const DexFile& dex_file = *manager->GetDexFile(); local 1725 ResolveDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument 1749 const DexFile* dex_file = dex_files[i]; local 1758 const DexFile* dex_file = dex_files[i]; local 1768 const DexFile& dex_file = *manager->GetDexFile(); local 1811 VerifyDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument 1825 const DexFile& dex_file = *manager->GetDexFile(); local 1855 SetVerifiedDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument 1869 const DexFile& dex_file = *manager->GetDexFile(); local 1950 InitializeClasses(jobject jni_class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument 1971 const DexFile* dex_file = dex_files[i]; local 1984 const DexFile* dex_file = dex_files[i]; local 1993 const DexFile& dex_file = *manager->GetDexFile(); local 2084 CompileDexFile(jobject class_loader, const DexFile& dex_file, const std::vector<const DexFile*>& dex_files, ThreadPool* thread_pool, TimingLogger* timings) argument 2093 CompileMethod(const DexFile::CodeItem* code_item, uint32_t access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, DexToDexCompilationLevel dex_to_dex_compilation_level, bool compilation_enabled) argument 2209 AddRequiresConstructorBarrier(Thread* self, const DexFile* dex_file, uint16_t class_def_index) argument 2215 RequiresConstructorBarrier(Thread* self, const DexFile* dex_file, uint16_t class_def_index) argument [all...] |
H A D | compiler_driver.h | 29 #include "dex_file.h" 193 void AddRequiresConstructorBarrier(Thread* self, const DexFile* dex_file, 195 bool RequiresConstructorBarrier(Thread* self, const DexFile* dex_file, uint16_t class_def_index); 199 bool CanAssumeTypeIsPresentInDexCache(const DexFile& dex_file, uint32_t type_idx); 201 bool CanAssumeStringIsPresentInDexCache(const DexFile& dex_file, uint32_t string_idx) 205 bool CanAccessTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, 212 bool CanAccessInstantiableTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, 216 bool CanEmbedTypeInCode(const DexFile& dex_file, uint32_t type_idx, 220 bool CanEmbedStringInCode(const DexFile& dex_file, uint32_t string_idx, 330 const VerifiedMethod* GetVerifiedMethod(const DexFile* dex_file, uint32_ 463 PatchInformation(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, size_t literal_offset) argument 512 CallPatchInformation(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, InvokeType referrer_invoke_type, uint32_t target_method_idx, const DexFile* target_dex_file, InvokeType target_invoke_type, size_t literal_offset) argument 548 RelativeCallPatchInformation(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, InvokeType referrer_invoke_type, uint32_t target_method_idx, const DexFile* target_dex_file, InvokeType target_invoke_type, size_t literal_offset, int32_t pc_relative_offset) argument 583 TypePatchInformation(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, uint32_t target_type_idx, size_t literal_offset) argument 613 StringPatchInformation(const DexFile* dex_file, uint16_t referrer_class_def_idx, uint32_t referrer_method_idx, uint32_t string_idx, size_t literal_offset) argument [all...] |
/art/test/117-nopatchoat/ |
H A D | nopatchoat.cc | 18 #include "dex_file-inl.h" 30 const DexFile& dex_file = klass->GetDexFile(); local 33 Runtime::Current()->GetClassLinker()->FindOpenedOatDexFileForDexFile(dex_file);
|
/art/runtime/mirror/ |
H A D | dex_cache.cc | 34 void DexCache::Init(const DexFile* dex_file, argument 40 CHECK(dex_file != nullptr); 47 SetFieldPtr<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); local
|
H A D | art_method-inl.h | 26 #include "dex_file.h" 422 const DexFile* dex_file = method->GetDexFile(); local 423 return dex_file->GetMethodDeclaringClassDescriptor(dex_file->GetMethodId(dex_method_idx)); 428 const DexFile* dex_file = method->GetDexFile(); local 429 return dex_file->GetMethodShorty(dex_file->GetMethodId(method->GetDexMethodIndex()), out_length); 436 const DexFile* dex_file = method->GetDexFile(); local 437 return dex_file->GetMethodSignature(dex_file 446 const DexFile* dex_file = method->GetDexFile(); local 485 const DexFile* dex_file = method->GetDexFile(); local 491 const DexFile* dex_file = method->GetDexFile(); local 512 const DexFile* dex_file = method->GetDexFile(); local 521 const DexFile* dex_file = method->GetDexFile(); local [all...] |