Home
last modified time | relevance | path

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

1234

/art/compiler/driver/
Dcompiler_driver-inl.h38 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveClass()
41 *mUnit->GetDexFile(), cls_index, dex_cache, class_loader); in ResolveClass()
53 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveCompilingMethodsClass()
56 mUnit->GetDexFile()->GetMethodId(mUnit->GetDexMethodIndex()); in ResolveCompilingMethodsClass()
64 DCHECK_EQ(dex_cache->GetDexFile(), dex_file); in ResolveFieldWithDexFile()
86 return ResolveFieldWithDexFile(soa, dex_cache, class_loader, mUnit->GetDexFile(), field_idx, in ResolveField()
141 *dex_cache->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type) in ResolveMethod()
143 *dex_cache->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type); in ResolveMethod()
/art/compiler/optimizing/
Dgvn_test.cc36 HInstruction* parameter = new (&allocator) HParameterValue(graph->GetDexFile(), in TEST_F()
53 graph->GetDexFile(), in TEST_F()
62 graph->GetDexFile(), in TEST_F()
72 graph->GetDexFile(), in TEST_F()
84 graph->GetDexFile(), in TEST_F()
93 graph->GetDexFile(), in TEST_F()
120 HInstruction* parameter = new (&allocator) HParameterValue(graph->GetDexFile(), in TEST_F()
136 graph->GetDexFile(), in TEST_F()
159 graph->GetDexFile(), in TEST_F()
169 graph->GetDexFile(), in TEST_F()
[all …]
Dssa_liveness_analysis_test.cc72 graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimInt); in TEST_F()
92 graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in TEST_F()
94 graph_->GetDexFile(), dex::TypeIndex(1), 1, Primitive::kPrimInt); in TEST_F()
96 graph_->GetDexFile(), dex::TypeIndex(2), 2, Primitive::kPrimInt); in TEST_F()
98 graph_->GetDexFile(), dex::TypeIndex(3), 3, Primitive::kPrimInt); in TEST_F()
100 graph_->GetDexFile(), dex::TypeIndex(4), 4, Primitive::kPrimNot); in TEST_F()
162 graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in TEST_F()
164 graph_->GetDexFile(), dex::TypeIndex(1), 1, Primitive::kPrimInt); in TEST_F()
166 graph_->GetDexFile(), dex::TypeIndex(2), 2, Primitive::kPrimInt); in TEST_F()
168 graph_->GetDexFile(), dex::TypeIndex(3), 3, Primitive::kPrimInt); in TEST_F()
[all …]
Dnodes_test.cc38 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in TEST()
81 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in TEST()
83 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in TEST()
109 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in TEST()
130 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in TEST()
Dlicm_test.cc77 parameter_ = new (&allocator_) HParameterValue(graph_->GetDexFile(), in BuildLoop()
132 graph_->GetDexFile(), in TEST_F()
137 false, kUnknownFieldIndex, kUnknownClassDefIndex, graph_->GetDexFile(), 0); in TEST_F()
159 graph_->GetDexFile(), in TEST_F()
170 graph_->GetDexFile(), in TEST_F()
Dsharpening.cc119 &invoke->GetBlock()->GetGraph()->GetDexFile()); in SharpenInvokeStaticOrDirect()
158 const DexFile& dex_file = load_class->GetDexFile(); in ComputeLoadClassKind()
215 if (!IsSameDexFile(load_class->GetDexFile(), *dex_compilation_unit.GetDexFile())) { in ComputeLoadClassKind()
230 const DexFile& dex_file = load_string->GetDexFile(); in ProcessLoadString()
239 Handle<mirror::DexCache> dex_cache = IsSameDexFile(dex_file, *compilation_unit_.GetDexFile()) in ProcessLoadString()
Dinliner.cc157 std::string callee_name = outer_compilation_unit_.GetDexFile()->PrettyMethod( in Run()
258 if (IsSameDexFile(*method->GetDexFile(), dex_file)) { in FindMethodIndexIn()
268 const DexFile& dex_file = *compilation_unit.GetDexFile(); in FindClassIndexIn()
276 } else if (IsSameDexFile(cls->GetDexFile(), dex_file)) { in FindClassIndexIn()
392 const DexFile& caller_dex_file = *caller_compilation_unit_.GetDexFile(); in TryInline()
668 if (!dex_cache->GetDexFile()->IsTypeIndexValid(class_ref.type_index)) { in ExtractClassesFromOfflineProfile()
670 << "is invalid in location" << dex_cache->GetDexFile()->GetLocation(); in ExtractClassesFromOfflineProfile()
681 << caller_compilation_unit_.GetDexFile()->PrettyMethod( in ExtractClassesFromOfflineProfile()
684 .GetDexFile()->StringByTypeIdx(class_ref.type_index); in ExtractClassesFromOfflineProfile()
704 *field->GetDexFile(), in BuildGetReceiverClass()
[all …]
Dregister_allocator_test.cc498 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in BuildIfElseWithPhi()
512 graph->GetDexFile(), in BuildIfElseWithPhi()
539 graph->GetDexFile(), in BuildIfElseWithPhi()
548 graph->GetDexFile(), in BuildIfElseWithPhi()
660 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in BuildFieldReturn()
674 graph->GetDexFile(), in BuildFieldReturn()
744 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimInt); in BuildTwoSubs()
823 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimInt); in BuildDiv()
825 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimInt); in BuildDiv()
885 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimInt); in TEST_F()
[all …]
Dnodes_arm.h42 const DexFile& GetDexFile() const { in GetDexFile() function
Dbounds_check_elimination_test.cc73 HParameterValue(graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); // array in TEST_F()
75 HParameterValue(graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimInt); // i in TEST_F()
170 HParameterValue(graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); // array in TEST_F()
172 HParameterValue(graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimInt); // i in TEST_F()
234 HParameterValue(graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); // array in TEST_F()
236 HParameterValue(graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimInt); // i in TEST_F()
298 graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in TEST_F()
367 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in BuildSSAGraph1()
482 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in BuildSSAGraph2()
693 graph->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); in BuildSSAGraph4()
[all …]
Dnodes_mips.h52 const DexFile& GetDexFile() const { in GetDexFile() function
/art/runtime/
Dart_method-inl.h165 *dex_cache->GetDexFile(), type_idx, dex_cache, GetClassLoader()); in GetClassFromTypeIndex()
225 inline const DexFile* ArtMethod::GetDexFile() { in GetDexFile() function
228 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
237 const DexFile* dex_file = GetDexFile(); in GetDeclaringClassDescriptor()
248 const DexFile* dex_file = GetDexFile(); in GetShorty()
256 const DexFile* dex_file = GetDexFile(); in GetSignature()
266 const DexFile* dex_file = GetDexFile(); in GetName()
286 return GetDexFile()->GetCodeItem(GetCodeItemOffset()); in GetCodeItem()
299 return annotations::GetLineNumFromPC(GetDexFile(), this, dex_pc); in GetLineNumFromDexPC()
304 const DexFile* dex_file = GetDexFile(); in GetPrototype()
[all …]
Ddex_file_annotations.cc51 *method->GetDexFile(), in REQUIRES_SHARED()
62 klass->GetDexFile(), in REQUIRES_SHARED()
65 const DexFile& GetDexFile() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexFile() function in art::__anon64cee6490111::ClassData
134 const DexFile* dex_file = field->GetDexFile(); in FindAnnotationSetForField()
260 const DexFile* dex_file = method->GetDexFile(); in FindAnnotationSetForMethod()
283 const DexFile* dex_file = method->GetDexFile(); in FindAnnotationsItemForMethod()
306 const DexFile& dex_file = klass.GetDexFile(); in FindAnnotationSetForClass()
325 class_linker->ResolveType(klass.GetDexFile(), in ProcessEncodedAnnotation()
384 const DexFile& dex_file = klass.GetDexFile(); in ProcessAnnotationValue()
440 klass.GetDexFile(), dex::StringIndex(index), hs.NewHandle(klass.GetDexCache())); in ProcessAnnotationValue()
[all …]
Dclass_linker-inl.h71 *dex_cache->GetDexFile(), type_idx, dex_cache, class_loader); in LookupResolvedType()
87 const DexFile& dex_file = *dex_cache->GetDexFile(); in ResolveType()
113 const DexFile* dex_file = dex_cache->GetDexFile(); in ResolveReferencedClassOfMethod()
134 const DexFile* dex_file = h_dex_cache->GetDexFile(); in ResolveMethod()
169 const DexFile& dex_file = *dex_cache->GetDexFile(); in ResolveField()
Ddex_method_iterator_test.cc39 const DexFile& dex_file = it.GetDexFile(); in TEST_F()
Dart_method.cc114 const DexFile* dex_file = GetDexFile(); in FindObsoleteDexClassDefIndex()
125 auto* dex_file = dex_cache->GetDexFile(); in GetNameAsString()
173 const DexFile* dex_file = GetDexFile(); in HasSameNameAndSignature()
179 const DexFile* dex_file2 = other->GetDexFile(); in HasSameNameAndSignature()
228 const DexFile* dexfile = GetDexFile(); in FindDexMethodIndexInOtherDexFile()
477 const DexFile* dex_file = method->GetDexFile(); in FindOatMethodFromDexFileFor()
539 GetOatMethodIndexFromMethodIndex(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor()
542 OatFile::OatClass oat_class = OatFile::FindOatClass(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor()
553 auto* dex_file = dex_cache->GetDexFile(); in EqualParameters()
590 const OatFile::OatDexFile* oat_dex_file = GetDexCache()->GetDexFile()->GetOatDexFile(); in GetQuickenedInfo()
Dart_field-inl.h277 const DexFile* dex_file = GetDexFile(); in GetName()
289 const DexFile* dex_file = GetDexFile(); in GetTypeDescriptor()
313 const DexFile* const dex_file = dex_cache->GetDexFile(); in GetType()
338 inline const DexFile* ArtField::GetDexFile() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexFile() function
339 return GetDexCache()->GetDexFile(); in GetDexFile()
346 const auto* dex_file = dex_cache->GetDexFile(); in GetStringName()
Ddex_file_verifier_test.cc56 DexFile* GetDexFile(const uint8_t* dex_bytes, size_t length) { in GetDexFile() function in art::DexFileVerifierTest
68 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in VerifyModification()
1637 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in TEST_F()
1709 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in TEST_F()
1753 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in TEST_F()
1797 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in TEST_F()
1841 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in TEST_F()
1878 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in TEST_F()
2081 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in TEST_F()
2128 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in TEST_F()
[all …]
/art/compiler/dex/
Ddex_to_dex_compiler.cc68 const DexFile& GetDexFile() const { in GetDexFile() function in art::optimizer::DexCompiler
69 return *unit_.GetDexFile(); in GetDexFile()
205 driver_.RequiresConstructorBarrier(Thread::Current(), unit_.GetDexFile(), in CompileReturnVoid()
214 << GetDexFile().PrettyMethod(unit_.GetDexMethodIndex(), true); in CompileReturnVoid()
234 << GetDexFile().PrettyMethod(unit_.GetDexMethodIndex(), true); in CompileCheckCast()
266 << GetDexFile().PrettyMethod(unit_.GetDexMethodIndex(), true); in CompileInstanceFieldAccess()
285 GetDexFile(), in CompileInvokeVirtual()
301 << "(" << GetDexFile().PrettyMethod(method_idx, true) << ")" in CompileInvokeVirtual()
306 << GetDexFile().PrettyMethod(unit_.GetDexMethodIndex(), true); in CompileInvokeVirtual()
/art/runtime/openjdkjvmti/
Dti_class_definition.cc105 dex_file = orig_dex->AsDexCache()->GetDexFile(); in GetDexDataForRetransformation()
123 dex_file = &klass->GetDexFile(); in GetDexDataForRetransformation()
159 const art::DexFile& dex_file = m_klass->GetDexFile(); in Init()
Dfixed_up_dex_file.h54 const art::DexFile& GetDexFile() { in GetDexFile() function
/art/runtime/jit/
Dprofile_compilation_info_test.cc93 profile_methods.emplace_back(method->GetDexFile(), method->GetDexMethodIndex()); in SaveProfilingInfo()
127 classes.emplace_back(method->GetDexFile(), dex::TypeIndex(0)); in SaveProfilingInfoWithFakeInlineCaches()
134 classes.emplace_back(method->GetDexFile(), dex::TypeIndex(k)); in SaveProfilingInfoWithFakeInlineCaches()
142 classes.emplace_back(method->GetDexFile(), dex::TypeIndex(k)); in SaveProfilingInfoWithFakeInlineCaches()
151 ProfileMethodInfo pmi(method->GetDexFile(), method->GetDexMethodIndex(), caches); in SaveProfilingInfoWithFakeInlineCaches()
294 ASSERT_TRUE(info1.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex()))); in TEST_F()
310 ASSERT_TRUE(info2.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex()))); in TEST_F()
313 ASSERT_TRUE(info2.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex()))); in TEST_F()
659 ASSERT_TRUE(info.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex()))); in TEST_F()
662 info.GetMethod(m->GetDexFile()->GetLocation(), in TEST_F()
[all …]
/art/runtime/mirror/
Ddex_cache-inl.h57 DCHECK_LT(string_idx.index_, GetDexFile()->NumStringIds()); in StringSlotIndex()
93 DCHECK_LT(type_idx.index_, GetDexFile()->NumTypeIds()); in TypeSlotIndex()
131 DCHECK_LT(proto_idx, GetDexFile()->NumProtoIds()); in MethodTypeSlotIndex()
152 DCHECK_LT(call_site_idx, GetDexFile()->NumCallSiteIds()); in GetResolvedCallSite()
161 DCHECK_LT(call_site_idx, GetDexFile()->NumCallSiteIds()); in SetResolvedCallSite()
180 DCHECK_LT(field_idx, GetDexFile()->NumFieldIds()); in FieldSlotIndex()
/art/test/117-nopatchoat/
Dnopatchoat.cc34 const DexFile& dex_file = klass->GetDexFile(); in getOatDexFile()
/art/profman/
Dprofile_assistant_test.cc265 info.GetMethod(method->GetDexFile()->GetLocation(), in AssertInlineCaches()
266 method->GetDexFile()->GetLocationChecksum(), in AssertInlineCaches()
280 if (dex_ref.MatchesDex(&(it->GetDexFile())) && in AssertInlineCaches()
566 info.GetMethod(method.GetDexFile()->GetLocation(), in TEST_F()
567 method.GetDexFile()->GetLocationChecksum(), in TEST_F()
714 info.GetMethod(no_inline_cache->GetDexFile()->GetLocation(), in TEST_F()
715 no_inline_cache->GetDexFile()->GetLocationChecksum(), in TEST_F()
794 const DexFile* dex_file = inline_monomorphic->GetDexFile(); in TEST_F()

1234