Home
last modified time | relevance | path

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

12345

/art/runtime/
Dart_method-inl.h158 inline const DexFile* ArtMethod::GetDexFile() { in GetDexFile() function
161 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
170 const DexFile* dex_file = GetDexFile(); in GetDeclaringClassDescriptor()
181 const DexFile* dex_file = GetDexFile(); in GetShorty()
189 const DexFile* dex_file = GetDexFile(); in GetSignature()
199 const DexFile* dex_file = GetDexFile(); in GetName()
209 const DexFile* dex_file = GetDexFile(); in GetNameView()
219 const dex::MethodId& method_id = GetDexFile()->GetMethodId(GetDexMethodIndex()); in ResolveNameString()
224 return GetDexFile()->GetCodeItem(GetCodeItemOffset()); in GetCodeItem()
237 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()
456 const DexFile* dex_file = method->GetDexFile(); in FindOatMethodFromDexFileFor()
518 GetOatMethodIndexFromMethodIndex(declaring_class->GetDexFile(), in FindOatMethodFor()
521 OatFile::OatClass oat_class = OatFile::FindOatClass(declaring_class->GetDexFile(), in FindOatMethodFor()
531 const DexFile* dex_file = GetDexFile(); in EqualParameters()
556 const DexFile& dex_file = *GetDexFile(); in GetQuickenedInfo()
830 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.cc59 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in TEST_F()
79 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
81 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
83 graph_->GetDexFile(), dex::TypeIndex(2), 2, DataType::Type::kInt32); in TEST_F()
85 graph_->GetDexFile(), dex::TypeIndex(3), 3, DataType::Type::kInt32); in TEST_F()
87 graph_->GetDexFile(), dex::TypeIndex(4), 4, DataType::Type::kReference); in TEST_F()
148 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
150 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
152 graph_->GetDexFile(), dex::TypeIndex(2), 2, DataType::Type::kInt32); in TEST_F()
154 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()
159 const DexFile& dex_file = load_class->GetDexFile(); in ComputeLoadClassKind()
225 if (!IsSameDexFile(load_class->GetDexFile(), *dex_compilation_unit.GetDexFile())) { in ComputeLoadClassKind()
245 const char* descriptor = klass->GetDexFile().StringByTypeIdx(klass->GetDexTypeIndex()); in CanUseTypeCheckBitstring()
310 const DexFile& dex_file = load_string->GetDexFile(); in ProcessLoadString()
319 Handle<mirror::DexCache> dex_cache = IsSameDexFile(dex_file, *dex_compilation_unit.GetDexFile()) in ProcessLoadString()
Dselect_generator_test.cc30 parameters_.push_back(new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in CreateParameters()
53 HParameterValue* bool_param = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in ConstructBasicGraphForSelect()
Dinliner.cc177 std::string callee_name = outer_compilation_unit_.GetDexFile()->PrettyMethod( in Run()
285 if (IsSameDexFile(*method->GetDexFile(), dex_file)) { in FindMethodIndexIn()
295 const DexFile& dex_file = *compilation_unit.GetDexFile(); in FindClassIndexIn()
303 } else if (IsSameDexFile(cls->GetDexFile(), dex_file)) { in FindClassIndexIn()
426 *method->GetDexFile())) { in IsMethodUnverified()
502 const DexFile& caller_dex_file = *caller_compilation_unit_.GetDexFile(); in TryInline()
772 if (!dex_cache->GetDexFile()->IsTypeIndexValid(class_ref.type_index)) { in ExtractClassesFromOfflineProfile()
774 << "is invalid in location" << dex_cache->GetDexFile()->GetLocation(); in ExtractClassesFromOfflineProfile()
785 << caller_compilation_unit_.GetDexFile()->PrettyMethod( in ExtractClassesFromOfflineProfile()
788 .GetDexFile()->StringByTypeIdx(class_ref.type_index); in ExtractClassesFromOfflineProfile()
[all …]
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()
126 HInstruction* object = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TEST_F()
138 graph_->GetDexFile(), in TEST_F()
147 graph_->GetDexFile(), in TEST_F()
156 graph_->GetDexFile(), in TEST_F()
199 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
201 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
291 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
293 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F()
[all …]
Dregister_allocator_test.cc494 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildIfElseWithPhi()
508 graph->GetDexFile(), in BuildIfElseWithPhi()
535 graph->GetDexFile(), in BuildIfElseWithPhi()
544 graph->GetDexFile(), in BuildIfElseWithPhi()
644 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildFieldReturn()
658 graph->GetDexFile(), in BuildFieldReturn()
720 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildTwoSubs()
792 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildDiv()
794 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildDiv()
845 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()
206 HInstruction* arr = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
210 HInstruction* i = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
214 HInstruction* j = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
218 HInstruction* object = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
250 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/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/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()
716 const DexFile& dex_file = klass.GetDexFile(); in CreateAnnotationMember()
787 const DexFile& dex_file = klass.GetDexFile(); in GetAnnotationItemFromAnnotationSet()
[all …]
/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/test/800-smali/
Djni.cc34 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile(); in Java_Main_isAotVerified()
/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()

12345