Home
last modified time | relevance | path

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

123

/art/compiler/driver/
Dcompiler_driver-inl.h35 return mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()); in GetDexCache()
46 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveCompilingMethodsClass()
49 mUnit->GetDexFile()->GetMethodId(mUnit->GetDexMethodIndex()); in ResolveCompilingMethodsClass()
51 *mUnit->GetDexFile(), referrer_method_id.class_idx_, dex_cache, class_loader); in ResolveCompilingMethodsClass()
64 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveField()
67 *mUnit->GetDexFile(), field_idx, dex_cache, class_loader, is_static); in ResolveField()
86 *declaring_dex_file = declaring_class->GetDexCache()->GetDexFile(); in GetResolvedFieldDexFileLocation()
127 const DexFile* dex_file = dex_cache->GetDexFile(); in IsFastStaticField()
171 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveMethod()
174 *mUnit->GetDexFile(), method_idx, dex_cache, class_loader, NullHandle<mirror::ArtMethod>(), in ResolveMethod()
[all …]
Dcompiler_driver.cc565 dex_file = method->GetDexFile(); in CompileOne()
674 mh->GetMethod()->GetDexFile())); in ResolveExceptionsForMethod()
1074 hs.NewHandle(mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()))); in ComputeInstanceFieldInfo()
1126 hs.NewHandle(mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()))); in ComputeStaticFieldInfo()
1223 if (target_method->dex_file == declaring_class->GetDexCache()->GetDexFile()) { in GetCodeAndMethodForDirectCall()
1237 target_method->dex_file = declaring_class->GetDexCache()->GetDexFile(); in GetCodeAndMethodForDirectCall()
1260 target_method->dex_file = declaring_class->GetDexCache()->GetDexFile(); in GetCodeAndMethodForDirectCall()
1267 target_method->dex_file = declaring_class->GetDexCache()->GetDexFile(); in GetCodeAndMethodForDirectCall()
1292 hs.NewHandle(mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()))); in ComputeInvokeInfo()
1478 const DexFile* GetDexFile() const { in GetDexFile() function in art::ParallelCompilationManager
[all …]
Ddex_compilation_unit.h55 const DexFile* GetDexFile() const { in GetDexFile() function
/art/compiler/dex/
Ddex_to_dex_compiler.cc51 const DexFile& GetDexFile() const { in GetDexFile() function in art::optimizer::DexCompiler
52 return *unit_.GetDexFile(); in GetDexFile()
163 if (!driver_.RequiresConstructorBarrier(Thread::Current(), unit_.GetDexFile(), in CompileReturnVoid()
171 << PrettyMethod(unit_.GetDexMethodIndex(), GetDexFile(), true); in CompileReturnVoid()
191 << PrettyMethod(unit_.GetDexMethodIndex(), GetDexFile(), true); in CompileCheckCast()
221 << PrettyMethod(unit_.GetDexMethodIndex(), GetDexFile(), true); in CompileInstanceFieldAccess()
237 MethodReference target_method(&GetDexFile(), method_idx); in CompileInvokeVirtual()
253 << "(" << PrettyMethod(method_idx, GetDexFile(), true) << ")" in CompileInvokeVirtual()
258 << PrettyMethod(unit_.GetDexMethodIndex(), GetDexFile(), true); in CompileInvokeVirtual()
Dmir_method_info.cc61 it->target_dex_file_ = mUnit->GetDexFile(); in Resolve()
75 MethodReference target_method(mUnit->GetDexFile(), it->MethodIndex()); in Resolve()
/art/runtime/
Dmethod_helper-inl.h30 const DexFile* dex_file = method_->GetDexFile(); in HasSameNameAndSignature()
37 const DexFile* other_dex_file = other->method_->GetDexFile(); in HasSameNameAndSignature()
58 const DexFile* dex_file = method->GetDexFile(); in GetReturnType()
72 s = Runtime::Current()->GetClassLinker()->ResolveString(*method->GetDexFile(), string_idx, in ResolveString()
Dclass_linker-inl.h66 const DexFile& dex_file = *dex_cache->GetDexFile(); in ResolveString()
83 const DexFile& dex_file = *dex_cache->GetDexFile(); in ResolveType()
99 const DexFile& dex_file = *dex_cache->GetDexFile(); in ResolveType()
129 const DexFile* dex_file = h_dex_cache->GetDexFile(); in ResolveMethod()
150 const DexFile& dex_file = *dex_cache->GetDexFile(); in ResolveField()
Dmethod_helper.cc29 const DexFile* dex_file = method_->GetDexFile(); in GetNameAsString()
68 const DexFile* dexfile = method->GetDexFile(); in FindDexMethodIndexInOtherDexFile()
109 const DexFile* dexfile = method->GetDexFile(); in FindDexMethodIndexInOtherDexFile()
Ddex_method_iterator_test.cc38 const DexFile& dex_file = it.GetDexFile(); in TEST_F()
Dfield_helper.cc33 const DexFile* dex_file = field_->GetDexFile(); in GetType()
Dcommon_throws.cc320 const DexFile& dex_file = *dex_cache->GetDexFile(); in ThrowNoSuchMethodError()
352 const DexFile& dex_file = *dex_cache->GetDexFile(); in ThrowNullPointerExceptionForMethodAccess()
361 const DexFile& dex_file = *dex_cache->GetDexFile(); in ThrowNullPointerExceptionForMethodAccess()
497 *throw_location.GetMethod()->GetDeclaringClass()->GetDexCache()->GetDexFile(); in ThrowNullPointerExceptionFromDexPC()
Ddex_method_iterator.h106 const DexFile& GetDexFile() { in GetDexFile() function
/art/compiler/
Delf_patcher.cc102 Handle<mirror::DexCache> dex_cache(hs.NewHandle(class_linker->FindDexCache(patch->GetDexFile()))); in GetTargetString()
103 mirror::String* string = class_linker->ResolveString(patch->GetDexFile(), patch->GetStringIdx(), in GetTargetString()
105 CHECK(string != nullptr) << patch->GetDexFile().GetLocation() << " " << patch->GetStringIdx(); in GetTargetString()
112 Handle<mirror::DexCache> dex_cache(hs.NewHandle(class_linker->FindDexCache(patch->GetDexFile()))); in GetTargetType()
113 mirror::Class* klass = class_linker->ResolveType(patch->GetDexFile(), patch->GetTargetTypeIdx(), in GetTargetType()
116 << patch->GetDexFile().GetLocation() << " " << patch->GetTargetTypeIdx(); in GetTargetType()
118 << patch->GetDexFile().GetLocation() << " " << patch->GetReferrerMethodIdx() << " " in GetTargetType()
144 const void* quick_oat_code = class_linker->GetQuickOatCodeFor(patch->GetDexFile(), in SetPatchLocation()
165 const DexFile::TypeId& id = tpatch->GetDexFile().GetTypeId(tpatch->GetTargetTypeIdx()); in SetPatchLocation()
232 class_linker->GetQuickOatCodeFor(patch->GetDexFile(), in PatchElf()
/art/runtime/mirror/
Dart_method-inl.h412 inline const DexFile* ArtMethod::GetDexFile() { in GetDexFile() function
413 return GetDexCache()->GetDexFile(); in GetDexFile()
422 const DexFile* dex_file = method->GetDexFile(); in GetDeclaringClassDescriptor()
428 const DexFile* dex_file = method->GetDexFile(); in GetShorty()
436 const DexFile* dex_file = method->GetDexFile(); in GetSignature()
446 const DexFile* dex_file = method->GetDexFile(); in GetName()
467 return method->GetDexFile()->GetCodeItem(method->GetCodeItemOffset()); in GetCodeItem()
480 return method->GetDexFile()->GetLineNumFromPC(method, dex_pc); in GetLineNumFromDexPC()
485 const DexFile* dex_file = method->GetDexFile(); in GetPrototype()
491 const DexFile* dex_file = method->GetDexFile(); in GetParameterTypeList()
[all …]
Dart_field-inl.h251 const DexFile* dex_file = GetDexFile(); in GetName()
263 const DexFile* dex_file = GetDexFile(); in GetTypeDescriptor()
285 inline const DexFile* ArtField::GetDexFile() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetDexFile() function
286 return GetDexCache()->GetDexFile(); in GetDexFile()
Dclass-inl.h256 uint32_t class_idx = referrer_dex_cache->GetDexFile()->GetFieldId(field_idx).class_idx_; in ResolvedFieldAccessTest()
288 uint32_t class_idx = referrer_dex_cache->GetDexFile()->GetMethodId(method_idx).class_idx_; in ResolvedMethodAccessTest()
668 inline const DexFile& Class::GetDexFile() { in GetDexFile() function
669 return *GetDexCache()->GetDexFile(); in GetDexFile()
680 const DexFile& dex_file = GetDexFile(); in DescriptorEquals()
Dclass.cc731 const DexFile& dex_file = GetDexFile(); in GetDescriptor()
750 return &GetDexFile().GetClassDef(class_def_idx); in GetClassDef()
778 interface = Runtime::Current()->GetClassLinker()->ResolveType(klass->GetDexFile(), type_idx, in GetDirectInterface()
787 const DexFile& dex_file = GetDexFile(); in GetSourceFile()
810 return GetDexFile().GetInterfacesList(*class_def); in GetInterfaceTypeList()
/art/test/116-nodex2oat/
Dnodex2oat.cc30 const DexFile& dex_file = klass->GetDexFile(); in hasOat()
/art/test/118-noimage-dex2oat/
Dnoimage-dex2oat.cc30 const DexFile& dex_file = klass->GetDexFile(); in hasOat()
/art/runtime/native/
Djava_lang_DexCache.cc30 const DexFile* dex_file = dex_cache->GetDexFile(); in DexCache_getDexNative()
Ddalvik_system_VMRuntime.cc234 const DexFile* dex_file = dex_cache->GetDexFile(); in PreloadDexCachesResolveString()
251 const DexFile* dex_file = dex_cache->GetDexFile(); in PreloadDexCachesResolveType()
280 const DexFile* dex_file = dex_cache->GetDexFile(); in PreloadDexCachesResolveField()
308 const DexFile* dex_file = dex_cache->GetDexFile(); in PreloadDexCachesResolveMethod()
/art/test/117-nopatchoat/
Dnopatchoat.cc30 const DexFile& dex_file = klass->GetDexFile(); in getOatDexFile()
/art/compiler/sea_ir/types/
Dtype_inference.cc40 : dex_file_(graph->GetDexFile()), dex_method_idx_(graph->method_idx_), type_cache_(types), in FunctionTypeInfo()
48 art::verifier::RegTypeCache* types): dex_file_(graph->GetDexFile()), in FunctionTypeInfo()
/art/runtime/entrypoints/portable/
Dportable_invoke_entrypoints.cc49 << " location: " << method->GetDexFile()->GetLocation(); in FindMethodHelper()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc720 dex_file = caller->GetDexFile(); in artQuickResolutionTrampoline()
776 dex_file = called->GetDexFile(); in artQuickResolutionTrampoline()
822 DCHECK_EQ(caller->GetDexFile(), dex_file); in artQuickResolutionTrampoline()
836 if (called->GetDexFile() == dex_file && dex_method_idx != called_dex_method_idx) { in artQuickResolutionTrampoline()
1785 const DexFile* dex_file = caller_method->GetDeclaringClass()->GetDexCache()->GetDexFile(); in artInvokeCommon()
1809 << method->GetDexFile()->GetLocation(); in artInvokeCommon()
1924 ->GetDexFile(); in artInvokeInterfaceTrampoline()
1947 << " location: " << method->GetDexFile()->GetLocation(); in artInvokeInterfaceTrampoline()

123