Home
last modified time | relevance | path

Searched refs:proto_idx (Results 1 – 20 of 20) sorted by relevance

/art/libdexfile/dex/
Ddex_instruction_test.cc32 static void Build45cc(uint8_t num_args, uint16_t method_idx, uint16_t proto_idx, in Build45cc() argument
49 out[3] = proto_idx; in Build45cc()
52 static void Build4rcc(uint16_t num_args, uint16_t method_idx, uint16_t proto_idx, in Build4rcc() argument
69 out[3] = proto_idx; in Build4rcc()
Ddex_instruction.cc471 dex::ProtoIndex proto_idx(VRegH_45cc()); in DumpString() local
482 << ", " << file->GetShorty(proto_idx) in DumpString()
487 os << "method@" << method_idx << ", proto@" << proto_idx; in DumpString()
495 dex::ProtoIndex proto_idx(VRegH_4rcc()); in DumpString() local
498 << ", " << file->GetShorty(dex::ProtoIndex(proto_idx)) in DumpString()
499 << " // method@" << method_idx << ", proto@" << proto_idx; in DumpString()
506 dex::ProtoIndex proto_idx(VRegH_4rcc()); in DumpString() local
508 << "}, method@" << method_idx << ", proto@" << proto_idx; in DumpString()
Ddex_file.cc281 const dex::ProtoIndex proto_idx = GetIndexForProtoId(signature); in FindMethodId() local
297 if (proto_idx > method.proto_idx_) { in FindMethodId()
299 } else if (proto_idx < method.proto_idx_) { in FindMethodId()
373 const dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(mid); in FindProtoId() local
374 const ProtoId& proto = GetProtoId(proto_idx); in FindProtoId()
Dtest_dex_file_builder.h125 uint32_t proto_idx = 0u; in Build() local
127 entry.second.idx = proto_idx; in Build()
128 proto_idx += 1u; in Build()
Ddex_file-inl.h159 inline const char* DexFile::GetShorty(dex::ProtoIndex proto_idx) const { in GetShorty() argument
160 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty()
Ddex_file.h491 const char* GetShorty(dex::ProtoIndex proto_idx) const;
/art/runtime/mirror/
Ddex_cache-inl.h189 inline uint32_t DexCache::MethodTypeSlotIndex(dex::ProtoIndex proto_idx) { in MethodTypeSlotIndex() argument
191 DCHECK_LT(proto_idx.index_, GetDexFile()->NumProtoIds()); in MethodTypeSlotIndex()
192 const uint32_t slot_idx = proto_idx.index_ % kDexCacheMethodTypeCacheSize; in MethodTypeSlotIndex()
197 inline MethodType* DexCache::GetResolvedMethodType(dex::ProtoIndex proto_idx) { in GetResolvedMethodType() argument
198 return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( in GetResolvedMethodType()
199 std::memory_order_relaxed).GetObjectForIndex(proto_idx.index_); in GetResolvedMethodType()
202 inline void DexCache::SetResolvedMethodType(dex::ProtoIndex proto_idx, MethodType* resolved) { in SetResolvedMethodType() argument
204 GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].store( in SetResolvedMethodType()
205 MethodTypeDexCachePair(resolved, proto_idx.index_), std::memory_order_relaxed); in SetResolvedMethodType()
Ddex_cache.h321 …MethodType* GetResolvedMethodType(dex::ProtoIndex proto_idx) REQUIRES_SHARED(Locks::mutator_lock_);
323 void SetResolvedMethodType(dex::ProtoIndex proto_idx, MethodType* resolved)
476 uint32_t MethodTypeSlotIndex(dex::ProtoIndex proto_idx) REQUIRES_SHARED(Locks::mutator_lock_);
/art/runtime/entrypoints/
Dentrypoint_utils.cc273 dex::ProtoIndex proto_idx) { in ResolveMethodTypeFromCode() argument
276 referrer->GetDexCache()->GetResolvedMethodType(proto_idx); in ResolveMethodTypeFromCode()
282 method_type = class_linker->ResolveMethodType(hs.Self(), proto_idx, dex_cache, class_loader); in ResolveMethodTypeFromCode()
Dentrypoint_utils.h174 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, dex::ProtoIndex proto_idx)
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc198 extern "C" mirror::MethodType* artResolveMethodTypeFromCode(uint32_t proto_idx, Thread* self) in artResolveMethodTypeFromCode() argument
204 ObjPtr<mirror::MethodType> result = ResolveMethodTypeFromCode(caller, dex::ProtoIndex(proto_idx)); in artResolveMethodTypeFromCode()
Dquick_trampoline_entrypoints.cc2517 const dex::ProtoIndex proto_idx(inst.VRegH()); in artInvokePolymorphic() local
2518 const char* shorty = caller_method->GetDexFile()->GetShorty(proto_idx); in artInvokePolymorphic()
2536 hs.NewHandle(linker->ResolveMethodType(self, proto_idx, caller_method))); in artInvokePolymorphic()
2639 const dex::ProtoIndex proto_idx(dex_file->GetProtoIndexForCallSite(call_site_idx)); in artInvokeCustom() local
2640 const char* shorty = caller_method->GetDexFile()->GetShorty(proto_idx); in artInvokeCustom()
/art/runtime/interpreter/mterp/
Dnterp.cc140 dex::ProtoIndex proto_idx(inst->Opcode() == Instruction::INVOKE_POLYMORPHIC in NterpGetShortyFromInvokePolymorphic() local
143 return caller->GetDexFile()->GetShorty(proto_idx); in NterpGetShortyFromInvokePolymorphic()
154 dex::ProtoIndex proto_idx = dex_file->GetProtoIndexForCallSite(call_site_index); in NterpGetShortyFromInvokeCustom() local
155 return dex_file->GetShorty(proto_idx); in NterpGetShortyFromInvokeCustom()
/art/compiler/optimizing/
Dinstruction_builder.cc1082 dex::ProtoIndex proto_idx, in BuildInvokePolymorphic() argument
1084 const char* shorty = dex_file_->GetShorty(proto_idx); in BuildInvokePolymorphic()
1112 dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in BuildInvokeCustom() local
1113 const char* shorty = dex_file_->GetShorty(proto_idx); in BuildInvokeCustom()
2600 dex::ProtoIndex proto_idx(instruction.VRegH_45cc()); in ProcessDexInstruction() local
2604 return BuildInvokePolymorphic(dex_pc, method_idx, proto_idx, operands); in ProcessDexInstruction()
2609 dex::ProtoIndex proto_idx(instruction.VRegH_4rcc()); in ProcessDexInstruction() local
2611 return BuildInvokePolymorphic(dex_pc, method_idx, proto_idx, operands); in ProcessDexInstruction()
3346 dex::ProtoIndex proto_idx(instruction.VRegB_21c()); in ProcessDexInstruction() local
3347 BuildLoadMethodType(proto_idx, dex_pc); in ProcessDexInstruction()
Dinstruction_builder.h169 dex::ProtoIndex proto_idx,
/art/runtime/verifier/
Dmethod_verifier.cc3171 const dex::ProtoIndex proto_idx(vRegH); in CodeFlowVerifyInstruction() local
3173 dex_file_->GetReturnTypeDescriptor(dex_file_->GetProtoId(proto_idx)); in CodeFlowVerifyInstruction()
3199 const dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in CodeFlowVerifyInstruction() local
3200 const dex::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); in CodeFlowVerifyInstruction()
4323 dex::ProtoIndex proto_idx(inst->VRegH()); in VerifyInvocationArgs() local
4324 DexFileParameterIterator it(*dex_file_, dex_file_->GetProtoId(proto_idx)); in VerifyInvocationArgs()
/art/runtime/interpreter/
Dinterpreter_common.cc656 dex::ProtoIndex proto_idx(encoded_value->GetC()); in GetArgumentForBootstrapMethod() local
659 cl->ResolveMethodType(self, proto_idx, dex_cache, class_loader); in GetArgumentForBootstrapMethod()
/art/runtime/
Dclass_linker.h417 dex::ProtoIndex proto_idx,
424 dex::ProtoIndex proto_idx,
Dclass_linker.cc9124 dex::ProtoIndex proto_idx, in ResolveMethodType() argument
9130 ObjPtr<mirror::MethodType> resolved = dex_cache->GetResolvedMethodType(proto_idx); in ResolveMethodType()
9139 const dex::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); in ResolveMethodType()
9179 dex_cache->SetResolvedMethodType(proto_idx, type.Get()); in ResolveMethodType()
9185 dex::ProtoIndex proto_idx, in ResolveMethodType() argument
9190 return ResolveMethodType(self, proto_idx, dex_cache, class_loader); in ResolveMethodType()
/art/dexdump/
Ddexdump.cc1784 dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(it.GetJavaValue().i); in dumpCallSite() local
1785 const dex::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite()