/art/runtime/ |
H A D | art_field.cc | 79 mirror::Class* ArtField::ResolveGetType(uint32_t type_idx) { argument 80 return Runtime::Current()->GetClassLinker()->ResolveType(type_idx, this);
|
H A D | dex_instruction.cc | 193 uint32_t type_idx = VRegB_21c(); local 194 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyType(type_idx, *file) 195 << " // type@" << type_idx; 287 uint32_t type_idx = VRegC_22c(); local 289 << PrettyType(type_idx, *file) << " // type@" << type_idx; 295 uint32_t type_idx = VRegC_22c(); local 297 << PrettyType(type_idx, *file) << " // type@" << type_idx;
|
H A D | class_linker-inl.h | 75 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, argument 77 mirror::Class* resolved_type = referrer->GetDexCacheResolvedType(type_idx); 84 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader); 91 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, ArtField* referrer) { argument 94 mirror::Class* resolved_type = dex_cache_ptr->GetResolvedType(type_idx); 100 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader);
|
H A D | art_method-inl.h | 146 inline mirror::Class* ArtMethod::GetClassFromTypeIndex(uint16_t type_idx, bool resolve) { argument 147 mirror::Class* type = GetDexCacheResolvedType(type_idx); 149 type = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, this); 381 inline bool ArtMethod::IsResolvedTypeIdx(uint16_t type_idx) { argument 383 return GetDexCacheResolvedType(type_idx) != nullptr; 432 inline const char* ArtMethod::GetTypeDescriptorFromTypeIdx(uint16_t type_idx) { argument 435 return dex_file->GetTypeDescriptor(dex_file->GetTypeId(type_idx));
|
H A D | art_method.cc | 550 auto type_idx = proto_params->GetTypeItem(i).type_idx_; local 551 auto* type = cl->ResolveType(type_idx, this);
|
H A D | class_linker_test.cc | 1033 uint32_t type_idx = dex_file->GetIndexForTypeId(*type_id); local 1034 mirror::Class* uninit = ResolveVerifyAndClinit(type_idx, clinit, soa.Self(), true, false); 1037 mirror::Class* init = ResolveVerifyAndClinit(type_idx, getS0, soa.Self(), true, false);
|
H A D | reflection.cc | 360 uint16_t type_idx = params->GetTypeItem(i).type_idx_; local 361 mirror::Class* param_type = m->GetClassFromTypeIndex(type_idx, true); 365 << m->GetTypeDescriptorFromTypeIdx(type_idx) << "\n"
|
H A D | dex_file.cc | 491 uint16_t type_idx = GetIndexForTypeId(*type_id); local 494 if (class_def.class_idx_ == type_idx) { 523 const DexFile::ClassDef* DexFile::FindClassDef(uint16_t type_idx) const { 527 if (class_def.class_idx_ == type_idx) { 540 const uint16_t type_idx = GetIndexForTypeId(type); local 556 if (type_idx > field.type_idx_) { 558 } else if (type_idx < field.type_idx_) { 738 uint16_t type_idx = GetIndexForTypeId(*type_id); local 740 param_type_idxs->push_back(type_idx); 742 *return_type_idx = type_idx; [all...] |
H A D | dex_file_verifier.cc | 76 const char* DexFileVerifier::CheckLoadStringByTypeIdx(uint32_t type_idx, const char* error_string) { argument 77 if (UNLIKELY(!CheckIndex(type_idx, dex_file_->NumTypeIds(), error_string))) { 80 const DexFile::TypeId& type_id = dex_file_->GetTypeId(type_idx); 107 #define LOAD_STRING_BY_TYPE(var, type_idx, error) \ 108 const char* var = CheckLoadStringByTypeIdx(type_idx, error); \ 423 uint32_t type_idx = DecodeUnsignedLeb128(&ptr_); local 424 if (!CheckIndex(type_idx, header_->type_ids_size_, "handler type_idx")) { 655 if (!CheckIndex(idx, header_->type_ids_size_, "encoded_annotation type_idx")) { 971 uint32_t type_idx local 1002 uint32_t type_idx = DecodeUnsignedLeb128(&ptr_); local [all...] |
H A D | utils.cc | 302 std::string PrettyType(uint32_t type_idx, const DexFile& dex_file) { argument 303 if (type_idx >= dex_file.NumTypeIds()) { 304 return StringPrintf("<<invalid-type-idx-%d>>", type_idx); 306 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx);
|
/art/runtime/mirror/ |
H A D | dex_cache-inl.h | 36 inline void DexCache::SetResolvedType(uint32_t type_idx, Class* resolved) { argument 39 GetResolvedTypes()->Set(type_idx, resolved);
|
H A D | object_test.cc | 315 uint32_t type_idx = java_lang_dex_file_->GetIndexForTypeId(*type_id); local 317 type_idx, 3, sort, Thread::Current(), false,
|
H A D | class.h | 1027 void SetDexTypeIndex(uint16_t type_idx) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 1029 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx); local
|
H A D | class.cc | 768 uint16_t type_idx = klass->GetDirectInterfaceTypeIdx(idx); local 769 mirror::Class* interface = klass->GetDexCache()->GetResolvedType(type_idx); 771 interface = Runtime::Current()->GetClassLinker()->ResolveType(klass->GetDexFile(), type_idx,
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 36 static inline mirror::Class* CheckFilledNewArrayAlloc(uint32_t type_idx, 46 mirror::Class* klass = referrer->GetDexCacheResolvedType<false>(type_idx); 48 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, referrer); 78 mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, int32_t component_count, argument 82 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self, 97 mirror::Array* CheckAndAllocArrayFromCodeInstrumented(uint32_t type_idx, argument 103 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self,
|
H A D | entrypoint_utils-inl.h | 62 inline mirror::Class* CheckObjectAlloc(uint32_t type_idx, argument 65 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx); 67 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method); 143 inline mirror::Object* AllocObjectFromCode(uint32_t type_idx, argument 148 mirror::Class* klass = CheckObjectAlloc<kAccessCheck>(type_idx, method, self, &slow_path); 194 inline mirror::Class* CheckArrayAlloc(uint32_t type_idx, argument 203 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx); 205 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method); 230 inline mirror::Array* AllocArrayFromCode(uint32_t type_idx, argument 236 mirror::Class* klass = CheckArrayAlloc<kAccessCheck>(type_idx, component_coun 585 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 | 111 uint32_t type_idx = 0u; local 113 entry.second = type_idx; 114 type_idx += 1u; 176 ++type_idx;
|
/art/runtime/interpreter/ |
H A D | interpreter_common.cc | 706 uint16_t type_idx = is_range ? inst->VRegB_3rc() : inst->VRegB_35c(); local 707 Class* array_class = ResolveVerifyAndClinit(type_idx, shadow_frame.GetMethod(),
|
/art/compiler/dex/ |
H A D | type_inference.cc | 64 TypeInference::Type TypeInference::Type::DexType(const DexFile* dex_file, uint32_t type_idx) { argument 65 const char* desc = dex_file->GetTypeDescriptor(dex_file->GetTypeId(type_idx)); 76 << " in dex file " << dex_file->GetLocation() << " type index " << type_idx; 594 uint32_t type_idx = dex_file->GetFieldId(field_idx).type_idx_; local 595 Type result = Type::DexType(dex_file, type_idx); 644 uint32_t type_idx = type_list->GetTypeItem(i).type_idx_; local 645 param_types[this_size + i] = Type::DexType(dex_file, type_idx);
|
H A D | mir_optimization.cc | 1668 uint32_t type_idx = mir->dalvikInsn.vB; local 1669 if (cu_->compiler_driver->IsStringTypeIndex(type_idx, cu_->dex_file)) {
|
/art/compiler/dex/quick/ |
H A D | codegen_util.cc | 435 LIR* Mir2Lir::ScanLiteralPoolClass(LIR* data_target, const DexFile& dex_file, uint32_t type_idx) { argument 437 if (static_cast<uint32_t>(data_target->operands[0]) == type_idx && 1307 void Mir2Lir::LoadClassType(const DexFile& dex_file, uint32_t type_idx, argument 1310 LIR* data_target = ScanLiteralPoolClass(class_literal_list_, dex_file, type_idx); 1312 data_target = AddWordData(&class_literal_list_, type_idx);
|
H A D | gen_common.cc | 484 * Array::AllocFromCode(type_idx, method, count); 487 void Mir2Lir::GenNewArray(uint32_t type_idx, RegLocation rl_dest, argument 492 if (cu_->compiler_driver->CanAccessTypeWithoutChecks(cu_->method_idx, *dex_file, type_idx)) { 498 driver->CanEmbedTypeInCode(*dex_file, type_idx, &is_type_initialized, &use_direct_type_ptr, 502 LoadClassType(*dex_file, type_idx, kArg0); 512 CallRuntimeHelperImmRegLocationMethod(kQuickAllocArray, type_idx, rl_src, true); 515 CallRuntimeHelperImmRegLocationMethod(kQuickAllocArrayWithAccessCheck, type_idx, rl_src, true); 528 int type_idx = info->index; local 532 type_idx)) { 537 CallRuntimeHelperImmImmMethod(target, type_idx, elem 1020 GenConstClass(uint32_t type_idx, RegLocation rl_dest) argument 1107 GenNewInstance(uint32_t type_idx, RegLocation rl_dest) argument 1155 GenInstanceofFinal(bool use_declaring_class, uint32_t type_idx, RegLocation rl_dest, RegLocation rl_src) argument 1214 GenInstanceofCallingHelper(bool needs_access_check, bool type_known_final, bool type_known_abstract, bool use_declaring_class, bool can_assume_type_is_in_dex_cache, uint32_t type_idx, RegLocation rl_dest, RegLocation rl_src) argument 1317 GenInstanceof(uint32_t type_idx, RegLocation rl_dest, RegLocation rl_src) argument 1337 GenCheckCast(int opt_flags, uint32_t insn_idx, uint32_t type_idx, RegLocation rl_src) argument [all...] |
H A D | gen_invoke.cc | 942 uint16_t type_idx = ref.first->GetClassDef(ref.second).class_idx_; local 943 LoadClassType(*ref.first, type_idx, kArg1);
|
H A D | ralloc_util.cc | 1148 uint32_t type_idx = local 1152 cu_->method_idx, *cu_->dex_file, type_idx, 1161 dex_cache_array_offset = dex_cache_arrays_layout_.TypeOffset(type_idx);
|
/art/compiler/dex/quick/x86/ |
H A D | int_x86.cc | 3011 void X86Mir2Lir::GenInstanceofFinal(bool use_declaring_class, uint32_t type_idx, argument 3038 (sizeof(mirror::HeapReference<mirror::Class*>) * type_idx);
|