Home
last modified time | relevance | path

Searched refs:type_idx (Results 26 – 49 of 49) sorted by relevance

12

/art/runtime/interpreter/mterp/
Dnterp.cc535 uint16_t type_idx = is_range ? inst->VRegB_3rc() : inst->VRegB_35c(); in DoFilledNewArray() local
537 ResolveVerifyAndClinit(dex::TypeIndex(type_idx), in DoFilledNewArray()
/art/runtime/interpreter/
Dinterpreter_common.cc1345 const dex::TypeIndex type_idx = params->GetTypeItem(shorty_pos).type_idx_; in DoCallCommon() local
1346 ObjPtr<mirror::Class> arg_type = method->GetDexCache()->GetResolvedType(type_idx); in DoCallCommon()
1352 arg_type = method->ResolveClassFromTypeIndex(type_idx); in DoCallCommon()
1457 uint16_t type_idx = is_range ? inst->VRegB_3rc() : inst->VRegB_35c(); in DoFilledNewArray() local
1458 ObjPtr<mirror::Class> array_class = ResolveVerifyAndClinit(dex::TypeIndex(type_idx), in DoFilledNewArray()
/art/compiler/optimizing/
Dreference_type_propagation.cc95 dex::TypeIndex type_idx,
550 dex::TypeIndex type_idx, in UpdateReferenceTypeInfo() argument
558 type_idx, dex_cache, class_loader_.Get()); in UpdateReferenceTypeInfo()
Dcode_generator_arm64.cc4809 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in AllocateInstanceForIntrinsic() local
4811 vixl::aarch64::Label* adrp_label = NewBootImageTypePatch(*target_method.dex_file, type_idx); in AllocateInstanceForIntrinsic()
4815 NewBootImageTypePatch(*target_method.dex_file, type_idx, adrp_label); in AllocateInstanceForIntrinsic()
Dcode_generator_x86_64.cc1208 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in AllocateInstanceForIntrinsic() local
1209 boot_image_type_patches_.emplace_back(target_method.dex_file, type_idx.index_); in AllocateInstanceForIntrinsic()
Dcode_generator_x86.cc5267 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in AllocateInstanceForIntrinsic() local
5268 boot_image_type_patches_.emplace_back(method_address, target_method.dex_file, type_idx.index_); in AllocateInstanceForIntrinsic()
Dcode_generator_arm_vixl.cc9357 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in AllocateInstanceForIntrinsic() local
9358 PcRelativePatchInfo* labels = NewBootImageTypePatch(*target_method.dex_file, type_idx); in AllocateInstanceForIntrinsic()
/art/runtime/
Dreflection.cc384 dex::TypeIndex type_idx = params->GetTypeItem(i).type_idx_; in CheckMethodArguments() local
385 ObjPtr<mirror::Class> param_type(m->ResolveClassFromTypeIndex(type_idx)); in CheckMethodArguments()
389 << m->GetTypeDescriptorFromTypeIdx(type_idx) << "\n" in CheckMethodArguments()
Dart_method.cc524 dex::TypeIndex type_idx = proto_params->GetTypeItem(i).type_idx_; in EqualParameters() local
525 ObjPtr<mirror::Class> type = cl->ResolveType(type_idx, this); in EqualParameters()
Dclass_linker.cc8708 ObjPtr<mirror::Class> ClassLinker::DoLookupResolvedType(dex::TypeIndex type_idx, in DoLookupResolvedType() argument
8710 return DoLookupResolvedType(type_idx, referrer->GetDexCache(), referrer->GetClassLoader()); in DoLookupResolvedType()
8713 ObjPtr<mirror::Class> ClassLinker::DoLookupResolvedType(dex::TypeIndex type_idx, in DoLookupResolvedType() argument
8717 const char* descriptor = dex_file.StringByTypeIdx(type_idx); in DoLookupResolvedType()
8733 dex_cache->SetResolvedType(type_idx, type); in DoLookupResolvedType()
8742 ObjPtr<mirror::Class> ClassLinker::DoResolveType(dex::TypeIndex type_idx, RefType referrer) { in DoResolveType() argument
8746 return DoResolveType(type_idx, dex_cache, class_loader); in DoResolveType()
8750 template ObjPtr<mirror::Class> ClassLinker::DoResolveType(dex::TypeIndex type_idx,
8752 template ObjPtr<mirror::Class> ClassLinker::DoResolveType(dex::TypeIndex type_idx,
8754 template ObjPtr<mirror::Class> ClassLinker::DoResolveType(dex::TypeIndex type_idx,
[all …]
Doat_file.cc2049 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id); in FindClassDef() local
2050 const dex::ClassDef* found_class_def = dex_file.FindClassDef(type_idx); in FindClassDef()
/art/runtime/verifier/
Dmethod_verifier.cc1992 static uint32_t GetFirstFinalInstanceFieldIndex(const DexFile& dex_file, dex::TypeIndex type_idx) { in GetFirstFinalInstanceFieldIndex() argument
1993 const dex::ClassDef* class_def = dex_file.FindClassDef(type_idx); in GetFirstFinalInstanceFieldIndex()
2439 const dex::TypeIndex type_idx((is_checkcast) ? inst->VRegB_21c() : inst->VRegC_22c()); in CodeFlowVerifyInstruction() local
2440 const RegType& res_type = ResolveClass<CheckAccess::kYes>(type_idx); in CodeFlowVerifyInstruction()
2444 type_idx, dex_cache_.Get(), class_loader_.Get()); in CodeFlowVerifyInstruction()
2447 << dex_file_->StringByTypeIdx(type_idx) << " in instanceof in " in CodeFlowVerifyInstruction()
4420 dex::TypeIndex type_idx; in VerifyNewArray() local
4423 type_idx = dex::TypeIndex(inst->VRegC_22c()); in VerifyNewArray()
4426 type_idx = dex::TypeIndex(inst->VRegB_35c()); in VerifyNewArray()
4429 type_idx = dex::TypeIndex(inst->VRegB_3rc()); in VerifyNewArray()
[all …]
/art/libdexfile/dex/
Ddex_file.h421 const dex::ClassDef* FindClassDef(dex::TypeIndex type_idx) const;
754 std::string PrettyType(dex::TypeIndex type_idx) const;
/art/runtime/mirror/
Dclass.cc1217 dex::TypeIndex type_idx = klass->GetDirectInterfaceTypeIdx(idx); in GetDirectInterface() local
1219 type_idx, klass->GetDexCache(), klass->GetClassLoader()); in GetDirectInterface()
1229 dex::TypeIndex type_idx = klass->GetDirectInterfaceTypeIdx(idx); in ResolveDirectInterface() local
1230 interface = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, klass.Get()); in ResolveDirectInterface()
Dclass.h1157 void SetDexTypeIndex(dex::TypeIndex type_idx) REQUIRES_SHARED(Locks::mutator_lock_) { in SetDexTypeIndex() argument
1159 OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); in SetDexTypeIndex()
/art/dexdump/
Ddexdump.cc556 const u4 type_idx = DecodeUnsignedLeb128(data); in dumpEncodedValue() local
557 fputs(pDexFile->StringByTypeIdx(dex::TypeIndex(type_idx)), gOutFile); in dumpEncodedValue()
1801 dex::TypeIndex type_idx = static_cast<dex::TypeIndex>(it.GetJavaValue().i); in dumpCallSite() local
1802 const dex::TypeId& type_id = pDexFile->GetTypeId(type_idx); in dumpCallSite()
/art/dexlayout/
Ddexlayout.cc1576 dex::TypeIndex type_idx(class_def->ClassType()->GetIndex()); in LayoutClassDefsAndClassData() local
1577 if (info_->ContainsClass(*dex_file, type_idx)) { in LayoutClassDefsAndClassData()
1582 dex::TypeIndex type_idx(class_def->ClassType()->GetIndex()); in LayoutClassDefsAndClassData() local
1583 if (!info_->ContainsClass(*dex_file, type_idx)) { in LayoutClassDefsAndClassData()
Ddex_ir_builder.cc1203 const uint32_t type_idx = DecodeUnsignedLeb128(data); in ReadEncodedValue() local
1212 item->SetEncodedAnnotation(new EncodedAnnotation(header_->TypeIds()[type_idx], elements)); in ReadEncodedValue()
/art/dex2oat/
Ddex2oat_test.cc1362 dex::TypeIndex type_idx = dex->GetIndexForTypeId(*type_id); in TEST_F() local
1363 ClassAccessor accessor(*dex, *dex->FindClassDef(type_idx)); in TEST_F()
1462 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F() local
1463 const dex::ClassDef* class_def = dex_file->FindClassDef(type_idx); in TEST_F()
Dverifier_deps_test.cc253 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id); in GetClassDefIndex() local
254 const dex::ClassDef* class_def = dex_file.FindClassDef(type_idx); in GetClassDefIndex()
/art/runtime/native/
Djava_lang_Class.cc272 const dex::TypeIndex type_idx = iface_list->GetTypeItem(i).type_idx_; in Class_getInterfacesInternal() local
273 ObjPtr<mirror::Class> interface = linker->LookupResolvedType(type_idx, klass.Get()); in Class_getInterfacesInternal()
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S840 bl \entrypoint @ (uint32_t type_idx, Method* method, Thread*)
853 bl \entrypoint @ (uint32_t type_idx, Method* method, Thread*)
866 @ (uint32_t type_idx, Method* method, int32_t component_count, Thread*)
/art/dex2oat/linker/
Dimage_writer.cc1359 dex::TypeIndex type_idx(i); in PreloadDexCache() local
1360 uint32_t slot_idx = dex_cache->TypeSlotIndex(type_idx); in PreloadDexCache()
1366 klass = class_linker->LookupResolvedType(type_idx, dex_cache, class_loader); in PreloadDexCache()
1367 DCHECK(klass == nullptr || dex_cache->GetResolvedType(type_idx) == klass); in PreloadDexCache()
/art/dex2oat/driver/
Dcompiler_driver.cc1733 void Visit(size_t type_idx) override REQUIRES(!Locks::mutator_lock_) { in Visit() argument
1745 ? class_linker->ResolveType(dex::TypeIndex(type_idx), dex_cache, class_loader) in Visit()

12