Home
last modified time | relevance | path

Searched refs:GetDexFile (Results 1 – 25 of 126) sorted by relevance

123456

/art/runtime/
Dart_method-inl.h160 inline const DexFile* ArtMethod::GetDexFile() { in GetDexFile() function
163 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
172 const DexFile* dex_file = GetDexFile(); in GetDeclaringClassDescriptor()
183 const DexFile* dex_file = GetDexFile(); in GetShorty()
191 const DexFile* dex_file = GetDexFile(); in GetSignature()
201 const DexFile* dex_file = GetDexFile(); in GetName()
211 const DexFile* dex_file = GetDexFile(); in GetNameView()
221 const dex::MethodId& method_id = GetDexFile()->GetMethodId(GetDexMethodIndex()); in ResolveNameString()
226 return GetDexFile()->GetCodeItem(GetCodeItemOffset()); in GetCodeItem()
239 return annotations::GetLineNumFromPC(GetDexFile(), this, dex_pc); in GetLineNumFromDexPC()
[all …]
Ddebug_print.cc154 << " defined in " << target_class->GetDexFile().GetLocation() in DumpB77342775DebugData()
155 << "/" << static_cast<const void*>(&target_class->GetDexFile()) in DumpB77342775DebugData()
163 << " defined in " << src_class->GetDexFile().GetLocation() in DumpB77342775DebugData()
164 << "/" << static_cast<const void*>(&src_class->GetDexFile()) in DumpB77342775DebugData()
176 << " defined in " << src_class->GetDexFile().GetLocation() in DumpB77342775DebugData()
177 << "/" << static_cast<const void*>(&src_class->GetDexFile()) in DumpB77342775DebugData()
Dart_field-inl.h294 const DexFile* dex_file = GetDexFile(); in GetName()
306 const DexFile* dex_file = GetDexFile(); in GetTypeDescriptor()
326 GetDexFile()->GetFieldId(GetDexFieldIndex()).type_idx_, this); in LookupResolvedType()
336 GetDexFile()->GetFieldId(GetDexFieldIndex()).type_idx_, this); in ResolveType()
351 inline const DexFile* ArtField::GetDexFile() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexFile() function
352 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
358 const dex::FieldId& field_id = GetDexFile()->GetFieldId(dex_field_index); in ResolveNameString()
Dart_method.cc143 const DexFile* dex_file = GetDexFile(); in FindObsoleteDexClassDefIndex()
192 const DexFile* dex_file = GetDexFile(); in HasSameNameAndSignature()
198 const DexFile* dex_file2 = other->GetDexFile(); in HasSameNameAndSignature()
244 const DexFile* dexfile = GetDexFile(); in FindDexMethodIndexInOtherDexFile()
438 const DexFile* dex_file = method->GetDexFile(); in FindOatMethodFromDexFileFor()
500 GetOatMethodIndexFromMethodIndex(declaring_class->GetDexFile(), in FindOatMethodFor()
503 OatFile::OatClass oat_class = OatFile::FindOatClass(declaring_class->GetDexFile(), in FindOatMethodFor()
513 const DexFile* dex_file = GetDexFile(); in EqualParameters()
538 const DexFile& dex_file = *GetDexFile(); in GetQuickenedInfo()
820 std::string res(m->GetDexFile()->PrettyMethod(m->GetDexMethodIndex(), with_signature)); in PrettyMethod()
/art/compiler/optimizing/
Dgvn_test.cc34 HInstruction* parameter = new (GetAllocator()) HParameterValue(graph->GetDexFile(), in TEST_F()
51 graph->GetDexFile(), in TEST_F()
60 graph->GetDexFile(), in TEST_F()
70 graph->GetDexFile(), in TEST_F()
82 graph->GetDexFile(), in TEST_F()
91 graph->GetDexFile(), in TEST_F()
115 HInstruction* parameter = new (GetAllocator()) HParameterValue(graph->GetDexFile(), in TEST_F()
131 graph->GetDexFile(), in TEST_F()
154 graph->GetDexFile(), in TEST_F()
164 graph->GetDexFile(), in TEST_F()
[all …]
Dssa_liveness_analysis_test.cc61 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in TEST_F()
81 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
83 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
85 graph_->GetDexFile(), dex::TypeIndex(2), 2, DataType::Type::kInt32); in TEST_F()
87 graph_->GetDexFile(), dex::TypeIndex(3), 3, DataType::Type::kInt32); in TEST_F()
89 graph_->GetDexFile(), dex::TypeIndex(4), 4, DataType::Type::kReference); in TEST_F()
150 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
152 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
154 graph_->GetDexFile(), dex::TypeIndex(2), 2, DataType::Type::kInt32); in TEST_F()
156 graph_->GetDexFile(), dex::TypeIndex(3), 3, DataType::Type::kInt32); in TEST_F()
[all …]
Dnodes_test.cc38 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
78 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
80 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
103 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
121 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
Dlicm_test.cc76 parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in BuildLoop()
129 graph_->GetDexFile(), in TEST_F()
134 false, kUnknownFieldIndex, kUnknownClassDefIndex, graph_->GetDexFile(), 0); in TEST_F()
156 graph_->GetDexFile(), in TEST_F()
167 graph_->GetDexFile(), in TEST_F()
Dsharpening.cc56 const DexFile& dex_file = klass->GetDexFile(); in BootImageAOTCanEmbedMethod()
166 const DexFile& dex_file = load_class->GetDexFile(); in ComputeLoadClassKind()
232 if (!IsSameDexFile(load_class->GetDexFile(), *dex_compilation_unit.GetDexFile())) { in ComputeLoadClassKind()
253 const char* descriptor = klass->GetDexFile().StringByTypeIdx(klass->GetDexTypeIndex()); in CanUseTypeCheckBitstring()
318 const DexFile& dex_file = load_string->GetDexFile(); in ProcessLoadString()
327 Handle<mirror::DexCache> dex_cache = IsSameDexFile(dex_file, *dex_compilation_unit.GetDexFile()) in ProcessLoadString()
Dselect_generator_test.cc31 AddParameter(new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in InitGraphAndParameters()
49 HParameterValue* bool_param = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in ConstructBasicGraphForSelect()
Dload_store_analysis_test.cc48 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
50 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
127 HInstruction* object = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TEST_F()
139 graph_->GetDexFile(), in TEST_F()
148 graph_->GetDexFile(), in TEST_F()
157 graph_->GetDexFile(), in TEST_F()
201 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
203 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
294 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
296 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
[all …]
Dinliner.cc176 std::string callee_name = outer_compilation_unit_.GetDexFile()->PrettyMethod( in Run()
284 if (IsSameDexFile(*method->GetDexFile(), dex_file)) { in FindMethodIndexIn()
294 const DexFile& dex_file = *compilation_unit.GetDexFile(); in FindClassIndexIn()
302 } else if (IsSameDexFile(cls->GetDexFile(), dex_file)) { in FindClassIndexIn()
425 *method->GetDexFile())) { in IsMethodUnverified()
509 const DexFile& caller_dex_file = *caller_compilation_unit_.GetDexFile(); in TryInline()
779 if (!dex_cache->GetDexFile()->IsTypeIndexValid(class_ref.type_index)) { in ExtractClassesFromOfflineProfile()
781 << "is invalid in location" << dex_cache->GetDexFile()->GetLocation(); in ExtractClassesFromOfflineProfile()
792 << caller_compilation_unit_.GetDexFile()->PrettyMethod( in ExtractClassesFromOfflineProfile()
795 .GetDexFile()->StringByTypeIdx(class_ref.type_index); in ExtractClassesFromOfflineProfile()
[all …]
Dregister_allocator_test.cc496 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildIfElseWithPhi()
510 graph->GetDexFile(), in BuildIfElseWithPhi()
537 graph->GetDexFile(), in BuildIfElseWithPhi()
546 graph->GetDexFile(), in BuildIfElseWithPhi()
646 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildFieldReturn()
660 graph->GetDexFile(), in BuildFieldReturn()
722 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildTwoSubs()
794 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildDiv()
796 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildDiv()
847 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in TEST_F()
[all …]
Dscheduler_test.cc95 HInstruction* array = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestBuildDependencyGraphAndSchedule()
207 HInstruction* arr = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
211 HInstruction* i = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
215 HInstruction* j = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
219 HInstruction* object = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
251 graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
/art/dex2oat/driver/
Dcompiler_driver-inl.h41 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveClass()
58 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveCompilingMethodsClass()
61 mUnit->GetDexFile()->GetMethodId(mUnit->GetDexMethodIndex()); in ResolveCompilingMethodsClass()
/art/test/172-app-image-twice/
Ddebug_print_class.cc28 LOG(ERROR) << "klass: " << klass.Ptr() << " dex_file: " << klass->GetDexFile().GetLocation() in Java_Main_debugPrintClass()
29 << "/" << static_cast<const void*>(&klass->GetDexFile()) in Java_Main_debugPrintClass()
/art/runtime/jit/
Dprofiling_info_test.cc77 MethodReference(method->GetDexFile(), method->GetDexMethodIndex())); in SaveProfilingInfo()
112 classes.emplace_back(method->GetDexFile(), dex::TypeIndex(0)); in SaveProfilingInfoWithFakeInlineCaches()
119 classes.emplace_back(method->GetDexFile(), dex::TypeIndex(k)); in SaveProfilingInfoWithFakeInlineCaches()
127 classes.emplace_back(method->GetDexFile(), dex::TypeIndex(k)); in SaveProfilingInfoWithFakeInlineCaches()
136 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches()
224 Hotness h = info1.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F()
245 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F()
250 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F()
285 MethodReference method_ref(m->GetDexFile(), m->GetDexMethodIndex()); in TEST_F()
/art/runtime/dex/
Ddex_file_annotations.cc71 *method->GetDexFile(), in REQUIRES_SHARED()
82 klass->GetDexFile(), in REQUIRES_SHARED()
85 const DexFile& GetDexFile() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexFile() function in art::__anon4bc6c7790111::ClassData
180 return FindAnnotationSetForField(*field->GetDexFile(), *class_def, field->GetDexFieldIndex()); in FindAnnotationSetForField()
310 return FindAnnotationSetForMethod(*method->GetDexFile(), in FindAnnotationSetForMethod()
317 const DexFile* dex_file = method->GetDexFile(); in FindAnnotationsItemForMethod()
340 const DexFile& dex_file = klass.GetDexFile(); in FindAnnotationSetForClass()
421 const DexFile& dex_file = klass.GetDexFile(); in ProcessAnnotationValue()
701 const DexFile& dex_file = klass.GetDexFile(); in CreateAnnotationMember()
766 const DexFile& dex_file = klass.GetDexFile(); in GetAnnotationItemFromAnnotationSet()
[all …]
/art/openjdkjvmti/
Dti_class_definition.cc162 dex_file = orig_dex->AsDexCache()->GetDexFile(); in GetDexDataForRetransformation()
179 dex_file = &klass->GetDexFile(); in GetDexDataForRetransformation()
218 return &klass->GetDexFile(); in GetQuickenedDexFile()
224 return orig_dex->AsDexCache()->GetDexFile(); in GetQuickenedDexFile()
270 const art::DexFile& cur_dex = self->DecodeJObject(klass_)->AsClass()->GetDexFile(); in InitWithDex()
294 const art::DexFile& cur_dex = self->DecodeJObject(klass_)->AsClass()->GetDexFile(); in InitWithDex()
324 const art::DexFile& cur_dex = m_klass->GetDexFile(); in Init()
Dfixed_up_dex_file.h55 const art::DexFile& GetDexFile() { in GetDexFile() function
/art/test/800-smali/
Djni.cc34 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile(); in Java_Main_isAotVerified()
/art/runtime/mirror/
Ddex_cache-inl.h80 DCHECK_LT(string_idx.index_, GetDexFile()->NumStringIds()); in StringSlotIndex()
94 DCHECK_EQ(num_preresolved_strings, GetDexFile()->NumStringIds()); in GetResolvedString()
120 DCHECK_LT(string_idx.index_, GetDexFile()->NumStringIds()); in SetPreResolvedString()
152 DCHECK_LT(type_idx.index_, GetDexFile()->NumTypeIds()); in TypeSlotIndex()
191 DCHECK_LT(proto_idx.index_, GetDexFile()->NumProtoIds()); in MethodTypeSlotIndex()
212 DCHECK_LT(call_site_idx, GetDexFile()->NumCallSiteIds()); in GetResolvedCallSite()
222 DCHECK_LT(call_site_idx, GetDexFile()->NumCallSiteIds()); in SetResolvedCallSite()
241 DCHECK_LT(field_idx, GetDexFile()->NumFieldIds()); in FieldSlotIndex()
273 DCHECK_LT(method_idx, GetDexFile()->NumMethodIds()); in MethodSlotIndex()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc84 const DexFile* dex_file = outer_method->GetDexFile(); in StoreTypeInBss()
102 const DexFile* dex_file = outer_method->GetDexFile(); in StoreStringInBss()
132 return outer_method->GetDexFile() == caller->GetDexFile(); in CanReferenceBss()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc73 const DexFile& GetDexFile() const;
387 << GetDexFile().PrettyMethod(unit_.GetDexMethodIndex(), true); in CompileReturnVoid()
409 << GetDexFile().PrettyMethod(unit_.GetDexMethodIndex(), true); in CompileCheckCast()
444 << GetDexFile().PrettyMethod(unit_.GetDexMethodIndex(), true); in CompileInstanceFieldAccess()
455 const DexFile& DexToDexCompiler::CompilationState::GetDexFile() const { in GetDexFile() function in art::optimizer::DexToDexCompiler::CompilationState
456 return *unit_.GetDexFile(); in GetDexFile()
488 << "(" << GetDexFile().PrettyMethod(method_idx, true) << ")" in CompileInvokeVirtual()
493 << GetDexFile().PrettyMethod(unit_.GetDexMethodIndex(), true); in CompileInvokeVirtual()
Dquick_compiler_callbacks.cc64 const DexFile* dex_file = &klass->GetDexFile(); in CanUseOatStatusForVerification()

123456