/art/runtime/ |
H A D | art_field.cc | 55 mirror::Class* ArtField::ResolveGetType(uint32_t type_idx) { argument 56 return Runtime::Current()->GetClassLinker()->ResolveType(type_idx, this);
|
H A D | dex_instruction.cc | 210 uint32_t type_idx = VRegB_21c(); local 211 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyType(type_idx, *file) 212 << " // type@" << type_idx; 312 uint32_t type_idx = VRegC_22c(); local 314 << PrettyType(type_idx, *file) << " // type@" << type_idx; 320 uint32_t type_idx = VRegC_22c(); local 322 << PrettyType(type_idx, *file) << " // type@" << type_idx;
|
H A D | class_linker-inl.h | 80 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, ArtMethod* referrer) { argument 81 mirror::Class* resolved_type = referrer->GetDexCacheResolvedType(type_idx, image_pointer_size_); 88 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader); 95 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, ArtField* referrer) { argument 98 mirror::Class* resolved_type = dex_cache_ptr->GetResolvedType(type_idx); 104 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader);
|
H A D | art_method-inl.h | 206 inline mirror::Class* ArtMethod::GetClassFromTypeIndex(uint16_t type_idx, argument 209 mirror::Class* type = GetDexCacheResolvedType(type_idx, ptr_size); 211 type = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, this); 331 inline bool ArtMethod::IsResolvedTypeIdx(uint16_t type_idx, size_t ptr_size) { argument 333 return GetDexCacheResolvedType(type_idx, ptr_size) != nullptr; 382 inline const char* ArtMethod::GetTypeDescriptorFromTypeIdx(uint16_t type_idx) { argument 385 return dex_file->GetTypeDescriptor(dex_file->GetTypeId(type_idx));
|
H A D | art_method.cc | 348 auto type_idx = proto_params->GetTypeItem(i).type_idx_; local 349 auto* type = cl->ResolveType(type_idx, this);
|
H A D | class_linker_test.cc | 1049 uint32_t type_idx = dex_file->GetIndexForTypeId(*type_id); local 1050 mirror::Class* uninit = ResolveVerifyAndClinit(type_idx, clinit, soa.Self(), true, false); 1053 mirror::Class* init = ResolveVerifyAndClinit(type_idx, getS0, soa.Self(), true, false);
|
H A D | reflection.cc | 363 uint16_t type_idx = params->GetTypeItem(i).type_idx_; local 364 mirror::Class* param_type = m->GetClassFromTypeIndex(type_idx, 370 << m->GetTypeDescriptorFromTypeIdx(type_idx) << "\n"
|
H A D | dex_file_verifier.cc | 80 const char* DexFileVerifier::CheckLoadStringByTypeIdx(uint32_t type_idx, const char* error_string) { argument 81 if (UNLIKELY(!CheckIndex(type_idx, dex_file_->NumTypeIds(), error_string))) { 84 const DexFile::TypeId& type_id = dex_file_->GetTypeId(type_idx); 111 #define LOAD_STRING_BY_TYPE(var, type_idx, error) \ 112 const char* var = CheckLoadStringByTypeIdx(type_idx, error); \ 471 uint32_t type_idx = DecodeUnsignedLeb128(&ptr_); local 472 if (!CheckIndex(type_idx, header_->type_ids_size_, "handler type_idx")) { 732 if (!CheckIndex(idx, header_->type_ids_size_, "encoded_annotation type_idx")) { 1174 uint32_t type_idx local 1205 uint32_t type_idx = DecodeUnsignedLeb128(&ptr_); local [all...] |
H A D | dex_file.cc | 528 uint16_t type_idx = GetIndexForTypeId(*type_id); local 531 if (class_def.class_idx_ == type_idx) { 539 const DexFile::ClassDef* DexFile::FindClassDef(uint16_t type_idx) const { 543 if (class_def.class_idx_ == type_idx) { 556 const uint16_t type_idx = GetIndexForTypeId(type); local 572 if (type_idx > field.type_idx_) { 574 } else if (type_idx < field.type_idx_) { 774 uint16_t type_idx = GetIndexForTypeId(*type_id); local 776 param_type_idxs->push_back(type_idx); 778 *return_type_idx = type_idx; [all...] |
H A D | utils.cc | 306 std::string PrettyType(uint32_t type_idx, const DexFile& dex_file) { argument 307 if (type_idx >= dex_file.NumTypeIds()) { 308 return StringPrintf("<<invalid-type-idx-%d>>", type_idx); 310 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx);
|
H A D | class_linker.cc | 3718 uint16_t type_idx = dex_file->GetIndexForTypeId(*type_id); local 3719 mirror::Class* klass = dex_cache->GetResolvedType(type_idx); 7326 uint16_t type_idx, 7331 return ResolveType(dex_file, type_idx, dex_cache, class_loader); 7335 uint16_t type_idx, 7339 mirror::Class* resolved = dex_cache->GetResolvedType(type_idx); 7342 const char* descriptor = dex_file.StringByTypeIdx(type_idx); 7348 dex_cache->SetResolvedType(type_idx, resolved); 7325 ResolveType(const DexFile& dex_file, uint16_t type_idx, mirror::Class* referrer) argument 7334 ResolveType(const DexFile& dex_file, uint16_t type_idx, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader) argument
|
/art/runtime/mirror/ |
H A D | dex_cache-inl.h | 50 inline Class* DexCache::GetResolvedType(uint32_t type_idx) { argument 51 DCHECK_LT(type_idx, NumResolvedTypes()); 52 return GetResolvedTypes()[type_idx].Read(); 55 inline void DexCache::SetResolvedType(uint32_t type_idx, Class* resolved) { argument 56 DCHECK_LT(type_idx, NumResolvedTypes()); // NOTE: Unchecked, i.e. not throwing AIOOB. 58 GetResolvedTypes()[type_idx] = GcRoot<Class>(resolved);
|
H A D | object_test.cc | 312 uint32_t type_idx = java_lang_dex_file_->GetIndexForTypeId(*type_id); local 314 type_idx, 3, sort, Thread::Current(), false,
|
H A D | class.h | 1134 void SetDexTypeIndex(uint16_t type_idx) SHARED_REQUIRES(Locks::mutator_lock_) { 1136 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx); local
|
H A D | class.cc | 866 uint16_t type_idx = klass->GetDirectInterfaceTypeIdx(idx); local 867 mirror::Class* interface = klass->GetDexCache()->GetResolvedType(type_idx); 869 interface = Runtime::Current()->GetClassLinker()->ResolveType(klass->GetDexFile(), type_idx,
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 40 static inline mirror::Class* CheckFilledNewArrayAlloc(uint32_t type_idx, 52 mirror::Class* klass = referrer->GetDexCacheResolvedType<false>(type_idx, pointer_size); 54 klass = class_linker->ResolveType(type_idx, referrer); 84 mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, int32_t component_count, argument 88 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self, 103 mirror::Array* CheckAndAllocArrayFromCodeInstrumented(uint32_t type_idx, argument 109 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self,
|
H A D | entrypoint_utils-inl.h | 91 inline mirror::Class* CheckObjectAlloc(uint32_t type_idx, argument 96 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx, pointer_size); 98 klass = class_linker->ResolveType(type_idx, method); 174 inline mirror::Object* AllocObjectFromCode(uint32_t type_idx, argument 179 mirror::Class* klass = CheckObjectAlloc<kAccessCheck>(type_idx, method, self, &slow_path); 230 inline mirror::Class* CheckArrayAlloc(uint32_t type_idx, argument 241 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx, pointer_size); 243 klass = class_linker->ResolveType(type_idx, method); 268 inline mirror::Array* AllocArrayFromCode(uint32_t type_idx, argument 274 mirror::Class* klass = CheckArrayAlloc<kAccessCheck>(type_idx, component_coun 725 ResolveVerifyAndClinit(uint32_t type_idx, ArtMethod* referrer, Thread* self, bool can_run_clinit, bool verify_access) argument [all...] |
/art/compiler/utils/ |
H A D | test_dex_file_builder.h | 113 uint32_t type_idx = 0u; local 115 entry.second = type_idx; 116 type_idx += 1u; 177 ++type_idx;
|
/art/runtime/interpreter/ |
H A D | interpreter_common.cc | 837 uint16_t type_idx = is_range ? inst->VRegB_3rc() : inst->VRegB_35c(); local 838 Class* array_class = ResolveVerifyAndClinit(type_idx, shadow_frame.GetMethod(),
|
/art/compiler/optimizing/ |
H A D | reference_type_propagation.cc | 105 uint16_t type_idx, 473 uint16_t type_idx, 481 SetClassAsTypeInfo(instr, dex_cache->GetResolvedType(type_idx), is_exact); 494 uint16_t type_idx, 499 return dex_cache->GetResolvedType(type_idx); 472 UpdateReferenceTypeInfo(HInstruction* instr, uint16_t type_idx, const DexFile& dex_file, bool is_exact) argument
|
/art/compiler/driver/ |
H A D | compiler_driver.cc | 1355 uint32_t type_idx) { 1359 dex_cache->GetDexFile()->GetTypeId(type_idx).descriptor_idx_))) || 1361 mirror::Class* resolved_class = dex_cache->GetResolvedType(type_idx); 1404 uint32_t type_idx) { 1406 mirror::Class* resolved_class = dex_cache->GetResolvedType(type_idx); 1433 uint32_t type_idx, 1436 mirror::Class* resolved_class = dex_cache->GetResolvedType(type_idx); 1465 bool CompilerDriver::CanEmbedTypeInCode(const DexFile& dex_file, uint32_t type_idx, argument 1472 mirror::Class* resolved_class = dex_cache->GetResolvedType(type_idx); 1488 dex_file.StringDataByIdx(dex_file.GetTypeId(type_idx) 1354 CanAssumeTypeIsPresentInDexCache(Handle<mirror::DexCache> dex_cache, uint32_t type_idx) argument 1402 CanAccessTypeWithoutChecks(uint32_t referrer_idx, Handle<mirror::DexCache> dex_cache, uint32_t type_idx) argument 1431 CanAccessInstantiableTypeWithoutChecks(uint32_t referrer_idx, Handle<mirror::DexCache> dex_cache, uint32_t type_idx, bool* finalizable) argument [all...] |
/art/runtime/verifier/ |
H A D | method_verifier.cc | 1920 static uint32_t GetFirstFinalInstanceFieldIndex(const DexFile& dex_file, uint16_t type_idx) { argument 1921 const DexFile::ClassDef* class_def = dex_file.FindClassDef(type_idx); 2338 const uint32_t type_idx = (is_checkcast) ? inst->VRegB_21c() : inst->VRegC_22c(); local 2339 const RegType& res_type = ResolveClassAndCheckAccess(type_idx); 2342 mirror::Class* klass = dex_cache_->GetResolvedType(type_idx); 2345 << dex_file_->StringByTypeIdx(type_idx) << " in instanceof in " 4272 uint32_t type_idx; local 4275 type_idx = inst->VRegC_22c(); 4278 type_idx = inst->VRegB_35c(); 4281 type_idx [all...] |