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.cc270 dex::ProtoIndex proto_idx) { in ResolveMethodTypeFromCode() argument
273 referrer->GetDexCache()->GetResolvedMethodType(proto_idx); in ResolveMethodTypeFromCode()
279 method_type = class_linker->ResolveMethodType(hs.Self(), proto_idx, dex_cache, class_loader); in ResolveMethodTypeFromCode()
Dentrypoint_utils.h173 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.cc2539 const dex::ProtoIndex proto_idx(inst.VRegH()); in artInvokePolymorphic() local
2540 const char* shorty = caller_method->GetDexFile()->GetShorty(proto_idx); in artInvokePolymorphic()
2558 hs.NewHandle(linker->ResolveMethodType(self, proto_idx, caller_method))); in artInvokePolymorphic()
2661 const dex::ProtoIndex proto_idx(dex_file->GetProtoIndexForCallSite(call_site_idx)); in artInvokeCustom() local
2662 const char* shorty = caller_method->GetDexFile()->GetShorty(proto_idx); in artInvokeCustom()
/art/runtime/interpreter/mterp/
Dnterp.cc112 dex::ProtoIndex proto_idx(inst->Opcode() == Instruction::INVOKE_POLYMORPHIC in NterpGetShortyFromInvokePolymorphic() local
115 return caller->GetDexFile()->GetShorty(proto_idx); in NterpGetShortyFromInvokePolymorphic()
126 dex::ProtoIndex proto_idx = dex_file->GetProtoIndexForCallSite(call_site_index); in NterpGetShortyFromInvokeCustom() local
127 return dex_file->GetShorty(proto_idx); in NterpGetShortyFromInvokeCustom()
/art/compiler/optimizing/
Dinstruction_builder.cc1032 dex::ProtoIndex proto_idx, in BuildInvokePolymorphic() argument
1034 const char* shorty = dex_file_->GetShorty(proto_idx); in BuildInvokePolymorphic()
1050 dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in BuildInvokeCustom() local
1051 const char* shorty = dex_file_->GetShorty(proto_idx); in BuildInvokeCustom()
2327 dex::ProtoIndex proto_idx(instruction.VRegH_45cc()); in ProcessDexInstruction() local
2331 return BuildInvokePolymorphic(dex_pc, method_idx, proto_idx, operands); in ProcessDexInstruction()
2336 dex::ProtoIndex proto_idx(instruction.VRegH_4rcc()); in ProcessDexInstruction() local
2338 return BuildInvokePolymorphic(dex_pc, method_idx, proto_idx, operands); in ProcessDexInstruction()
3073 dex::ProtoIndex proto_idx(instruction.VRegB_21c()); in ProcessDexInstruction() local
3074 BuildLoadMethodType(proto_idx, dex_pc); in ProcessDexInstruction()
Dinstruction_builder.h171 dex::ProtoIndex proto_idx,
/art/runtime/verifier/
Dmethod_verifier.cc3170 const dex::ProtoIndex proto_idx(vRegH); in CodeFlowVerifyInstruction() local
3172 dex_file_->GetReturnTypeDescriptor(dex_file_->GetProtoId(proto_idx)); in CodeFlowVerifyInstruction()
3198 const dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in CodeFlowVerifyInstruction() local
3199 const dex::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); in CodeFlowVerifyInstruction()
4322 dex::ProtoIndex proto_idx(inst->VRegH()); in VerifyInvocationArgs() local
4323 DexFileParameterIterator it(*dex_file_, dex_file_->GetProtoId(proto_idx)); in VerifyInvocationArgs()
/art/runtime/
Dclass_linker.h416 dex::ProtoIndex proto_idx,
423 dex::ProtoIndex proto_idx,
Dclass_linker.cc9025 dex::ProtoIndex proto_idx, in ResolveMethodType() argument
9031 ObjPtr<mirror::MethodType> resolved = dex_cache->GetResolvedMethodType(proto_idx); in ResolveMethodType()
9040 const dex::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); in ResolveMethodType()
9080 dex_cache->SetResolvedMethodType(proto_idx, type.Get()); in ResolveMethodType()
9086 dex::ProtoIndex proto_idx, in ResolveMethodType() argument
9091 return ResolveMethodType(self, proto_idx, dex_cache, class_loader); in ResolveMethodType()
/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/dexdump/
Ddexdump.cc1742 dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(it.GetJavaValue().i); in dumpCallSite() local
1743 const dex::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite()