/art/runtime/ |
H A D | dex_method_iterator_test.cc | 39 const DexFile& dex_file = it.GetDexFile(); local 43 LOG(INFO) << invoke_type << " " << dex_file.PrettyMethod(method_idx);
|
H A D | method_reference.h | 22 #include "dex_file.h" 28 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) { 31 return dex_file->PrettyMethod(dex_method_index, with_signature); 33 const DexFile* dex_file; member in struct:art::MethodReference 39 if (mr1.dex_file == mr2.dex_file) { 42 return mr1.dex_file < mr2.dex_file;
|
H A D | string_reference.h | 23 #include "dex_file-inl.h" 32 : dex_file(file), string_index(index) { } 35 return dex_file->GetStringData(dex_file->GetStringId(string_index)); 38 const DexFile* dex_file; member in struct:art::StringReference 45 if (a.dex_file != b.dex_file) { 46 return a.dex_file < b.dex_file; 60 if (sr1.dex_file [all...] |
H A D | art_field.cc | 52 const DexFile& dex_file, 56 return Runtime::Current()->GetClassLinker()->ResolveString(dex_file, 51 ResolveGetStringName(Thread* self, const DexFile& dex_file, dex::StringIndex string_idx, ObjPtr<mirror::DexCache> dex_cache) argument
|
H A D | imtable-inl.h | 23 #include "dex_file.h" 48 const DexFile* dex_file = method->GetDexFile(); local 49 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); 52 *class_hash = ComputeModifiedUtf8Hash(dex_file->GetMethodDeclaringClassDescriptor(method_id)); 55 *name_hash = ComputeModifiedUtf8Hash(dex_file->GetMethodName(method_id)); 57 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); 61 dex_file->GetTypeDescriptor(dex_file->GetTypeId(proto_id.return_type_idx_))); 66 const DexFile::TypeList* param_types = dex_file->GetProtoParameters(proto_id); 71 dex_file [all...] |
/art/compiler/ |
H A D | compiler.cc | 41 const DexFile& dex_file) { 50 << " in " << dex_file.PrettyMethod(method_idx); 55 << code_item.registers_size_ << " in " << dex_file.PrettyMethod(method_idx); 39 IsPathologicalCase(const DexFile::CodeItem& code_item, uint32_t method_idx, const DexFile& dex_file) argument
|
/art/runtime/entrypoints/quick/ |
H A D | quick_dexcache_entrypoints.cc | 22 #include "dex_file-inl.h" 37 const DexFile* dex_file = outer_method->GetDexFile(); local 38 if (dex_file != nullptr && 39 dex_file->GetOatDexFile() != nullptr && 40 !dex_file->GetOatDexFile()->GetOatFile()->GetBssGcRoots().empty()) { 46 !class_table->InsertOatFile(dex_file->GetOatDexFile()->GetOatFile())) 48 << dex_file->GetOatDexFile()->GetOatFile()->GetLocation(); 56 dex_file->GetOatDexFile()->GetOatFile());
|
/art/compiler/driver/ |
H A D | dex_compilation_unit.cc | 26 const DexFile& dex_file, 35 dex_file_(&dex_file), 24 DexCompilationUnit(Handle<mirror::ClassLoader> 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, Handle<mirror::DexCache> dex_cache) argument
|
/art/compiler/optimizing/ |
H A D | dex_cache_array_fixups_arm.cc | 79 const DexFile& dex_file) { 81 HArmDexCacheArraysBase* base = new (GetGraph()->GetArena()) HArmDexCacheArraysBase(dex_file); 86 auto lb = dex_cache_array_bases_.lower_bound(&dex_file); 88 !dex_cache_array_bases_.key_comp()(&dex_file, lb->first)) { 94 HArmDexCacheArraysBase* base = new (GetGraph()->GetArena()) HArmDexCacheArraysBase(dex_file); 97 dex_cache_array_bases_.PutBefore(lb, &dex_file, base); 78 GetOrCreateDexCacheArrayBase(HInstruction* cursor, const DexFile& dex_file) argument
|
H A D | dex_cache_array_fixups_mips.cc | 73 HMipsDexCacheArraysBase* GetOrCreateDexCacheArrayBase(const DexFile& dex_file) { argument 75 &dex_file, 76 [this, &dex_file]() { 78 new (GetGraph()->GetArena()) HMipsDexCacheArraysBase(dex_file);
|
H A D | nodes_arm.h | 24 explicit HArmDexCacheArraysBase(const DexFile& dex_file) argument 26 dex_file_(&dex_file),
|
H A D | block_builder.h | 22 #include "dex_file.h" 30 const DexFile* const dex_file, 34 dex_file_(dex_file), 29 HBasicBlockBuilder(HGraph* graph, const DexFile* const dex_file, const DexFile::CodeItem& code_item) argument
|
H A D | builder.h | 23 #include "dex_file.h" 24 #include "dex_file-inl.h" 42 const DexFile* dex_file, 51 dex_file_(dex_file), 56 block_builder_(graph, dex_file, code_item), 64 dex_file, 95 /* dex_file */ nullptr, 39 HGraphBuilder(HGraph* graph, DexCompilationUnit* dex_compilation_unit, const DexCompilationUnit* const outer_compilation_unit, const DexFile* dex_file, const DexFile::CodeItem& code_item, CompilerDriver* driver, CodeGenerator* code_generator, OptimizingCompilerStats* compiler_stats, const uint8_t* interpreter_metadata, Handle<mirror::DexCache> dex_cache, VariableSizedHandleScope* handles) argument
|
H A D | nodes_mips.h | 39 explicit HMipsDexCacheArraysBase(const DexFile& dex_file) argument 41 dex_file_(&dex_file),
|
/art/compiler/utils/ |
H A D | type_reference.h | 32 TypeReference(const DexFile* file, dex::TypeIndex index) : dex_file(file), type_index(index) { } 34 const DexFile* dex_file; member in struct:art::TypeReference 43 StringReference sr1(tr1.dex_file, tr1.dex_file->GetTypeId(tr1.type_index).descriptor_idx_); 44 StringReference sr2(tr2.dex_file, tr2.dex_file->GetTypeId(tr2.type_index).descriptor_idx_);
|
H A D | atomic_method_ref_map-inl.h | 22 #include "dex_file-inl.h" 31 ElementArray* const array = GetArray(ref.dex_file); 43 const ElementArray* const array = GetArray(ref.dex_file); 52 inline void AtomicMethodRefMap<T>::AddDexFile(const DexFile* dex_file) { argument 53 arrays_.Put(dex_file, std::move(ElementArray(dex_file->NumMethodIds()))); 58 const DexFile* dex_file) { 59 auto it = arrays_.find(dex_file); 65 const DexFile* dex_file) const { 66 auto it = arrays_.find(dex_file); 57 GetArray( const DexFile* dex_file) argument 73 const DexFile* dex_file = pair.first; local [all...] |
/art/dexlayout/ |
H A D | dex_ir_builder.cc | 27 static void CheckAndSetRemainingOffsets(const DexFile& dex_file, Collections* collections); 29 Header* DexIrBuilder(const DexFile& dex_file) { argument 30 const DexFile::Header& disk_header = dex_file.GetHeader(); 45 for (uint32_t i = 0; i < dex_file.NumStringIds(); ++i) { 46 collections.CreateStringId(dex_file, i); 50 for (uint32_t i = 0; i < dex_file.NumTypeIds(); ++i) { 51 collections.CreateTypeId(dex_file, i); 55 for (uint32_t i = 0; i < dex_file.NumProtoIds(); ++i) { 56 collections.CreateProtoId(dex_file, i); 60 for (uint32_t i = 0; i < dex_file 83 CheckAndSetRemainingOffsets(const DexFile& dex_file, Collections* collections) argument [all...] |
/art/test/117-nopatchoat/ |
H A D | nopatchoat.cc | 18 #include "dex_file-inl.h" 34 const DexFile& dex_file = klass->GetDexFile(); local 35 return dex_file.GetOatDexFile();
|
/art/test/595-profile-saving/ |
H A D | profile-saving.cc | 17 #include "dex_file.h" 77 const DexFile* dex_file = soa.Decode<mirror::Class>(cls)->GetDexCache()->GetDexFile(); local 79 dex_file,
|
/art/test/948-change-annotations/src/ |
H A D | Main.java | 90 byte[] dex_file) { 91 Redefinition.doCommonClassRedefinition(target, class_file, dex_file); 88 doCommonClassRedefinition(Class<?> target, byte[] class_file, byte[] dex_file) argument
|
/art/compiler/debug/ |
H A D | method_debug_info.h | 21 #include "dex_file.h" 28 const DexFile* dex_file; // Native methods (trampolines) do not reference dex file. member in struct:art::debug::MethodDebugInfo
|
/art/dexoptanalyzer/ |
H A D | dexoptanalyzer_test.cc | 37 int Analyze(const std::string& dex_file, argument 43 argv_str.push_back("--dex-file=" + dex_file); 72 void Verify(const std::string& dex_file, argument 75 int dexoptanalyzerResult = Analyze(dex_file, compiler_filter, assume_profile_changed); 77 OatFileAssistant oat_file_assistant(dex_file.c_str(), kRuntimeISA, /*load_executable*/ false);
|
/art/runtime/mirror/ |
H A D | dex_cache_test.cc | 140 const DexFile& dex_file = *(method1->GetDexFile()); local 142 class_linker_->FindDexCache(Thread::Current(), dex_file)); 144 const DexFile::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex()); 145 const DexFile::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex()); 148 class_linker_->ResolveMethodType(dex_file, method1_id.proto_idx_, dex_cache, class_loader)); 150 class_linker_->ResolveMethodType(dex_file, method2_id.proto_idx_, dex_cache, class_loader)); 157 ASSERT_EQ(2u, dex_file.NumProtoIds()); 158 ASSERT_EQ(dex_file.NumProtoIds(), dex_cache->NumResolvedMethodTypes()); 161 for (size_t i = 0; i < dex_file.NumProtoIds(); ++i) {
|
/art/runtime/openjdkjvmti/ |
H A D | ti_class_definition.cc | 36 #include "dex_file.h" 90 const art::DexFile* dex_file = nullptr; local 105 dex_file = orig_dex->AsDexCache()->GetDexFile(); 118 dex_file = reinterpret_cast<const art::DexFile*>(static_cast<uintptr_t>(val.GetJ())); 122 if (dex_file == nullptr) { 123 dex_file = &klass->GetDexFile(); 125 std::unique_ptr<FixedUpDexFile> fixed_dex_file(FixedUpDexFile::Create(*dex_file)); 159 const art::DexFile& dex_file = m_klass->GetDexFile(); local 160 original_dex_file_ = art::ArraySlice<const unsigned char>(dex_file.Begin(), dex_file [all...] |
/art/compiler/dex/ |
H A D | verification_results.cc | 141 void VerificationResults::AddDexFile(const DexFile* dex_file) { argument 142 atomic_verified_methods_.AddDexFile(dex_file); 144 // There can be some verified methods that are already registered for the dex_file since we set 149 if (ref.dex_file == dex_file) {
|