Home
last modified time | relevance | path

Searched refs:proto_idx (Results 1 – 19 of 19) 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.cc280 const dex::ProtoIndex proto_idx = GetIndexForProtoId(signature); in FindMethodId() local
296 if (proto_idx > method.proto_idx_) { in FindMethodId()
298 } else if (proto_idx < method.proto_idx_) { in FindMethodId()
372 const dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(mid); in FindProtoId() local
373 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.h158 inline const char* DexFile::GetShorty(dex::ProtoIndex proto_idx) const { in GetShorty() argument
159 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty()
Ddex_file.h488 const char* GetShorty(dex::ProtoIndex proto_idx) const;
/art/runtime/mirror/
Ddex_cache-inl.h188 inline uint32_t DexCache::MethodTypeSlotIndex(dex::ProtoIndex proto_idx) { in MethodTypeSlotIndex() argument
190 DCHECK_LT(proto_idx.index_, GetDexFile()->NumProtoIds()); in MethodTypeSlotIndex()
191 const uint32_t slot_idx = proto_idx.index_ % kDexCacheMethodTypeCacheSize; in MethodTypeSlotIndex()
196 inline MethodType* DexCache::GetResolvedMethodType(dex::ProtoIndex proto_idx) { in GetResolvedMethodType() argument
197 return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( in GetResolvedMethodType()
198 std::memory_order_relaxed).GetObjectForIndex(proto_idx.index_); in GetResolvedMethodType()
201 inline void DexCache::SetResolvedMethodType(dex::ProtoIndex proto_idx, MethodType* resolved) { in SetResolvedMethodType() argument
203 GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].store( in SetResolvedMethodType()
204 MethodTypeDexCachePair(resolved, proto_idx.index_), std::memory_order_relaxed); in SetResolvedMethodType()
Ddex_cache.h319 …MethodType* GetResolvedMethodType(dex::ProtoIndex proto_idx) REQUIRES_SHARED(Locks::mutator_lock_);
321 void SetResolvedMethodType(dex::ProtoIndex proto_idx, MethodType* resolved)
474 uint32_t MethodTypeSlotIndex(dex::ProtoIndex proto_idx) REQUIRES_SHARED(Locks::mutator_lock_);
/art/runtime/entrypoints/
Dentrypoint_utils.cc268 dex::ProtoIndex proto_idx) { in ResolveMethodTypeFromCode() argument
271 referrer->GetDexCache()->GetResolvedMethodType(proto_idx); in ResolveMethodTypeFromCode()
277 method_type = class_linker->ResolveMethodType(hs.Self(), proto_idx, dex_cache, class_loader); in ResolveMethodTypeFromCode()
Dentrypoint_utils.h172 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, dex::ProtoIndex proto_idx)
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc195 extern "C" mirror::MethodType* artResolveMethodTypeFromCode(uint32_t proto_idx, Thread* self) in artResolveMethodTypeFromCode() argument
201 ObjPtr<mirror::MethodType> result = ResolveMethodTypeFromCode(caller, dex::ProtoIndex(proto_idx)); in artResolveMethodTypeFromCode()
Dquick_trampoline_entrypoints.cc2766 const dex::ProtoIndex proto_idx(inst.VRegH()); in artInvokePolymorphic() local
2767 const char* shorty = caller_method->GetDexFile()->GetShorty(proto_idx); in artInvokePolymorphic()
2785 hs.NewHandle(linker->ResolveMethodType(self, proto_idx, caller_method))); in artInvokePolymorphic()
2888 const dex::ProtoIndex proto_idx(dex_file->GetProtoIndexForCallSite(call_site_idx)); in artInvokeCustom() local
2889 const char* shorty = caller_method->GetDexFile()->GetShorty(proto_idx); in artInvokeCustom()
/art/compiler/optimizing/
Dinstruction_builder.cc1018 dex::ProtoIndex proto_idx, in BuildInvokePolymorphic() argument
1020 const char* shorty = dex_file_->GetShorty(proto_idx); in BuildInvokePolymorphic()
1036 dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in BuildInvokeCustom() local
1037 const char* shorty = dex_file_->GetShorty(proto_idx); in BuildInvokeCustom()
2305 dex::ProtoIndex proto_idx(instruction.VRegH_45cc()); in ProcessDexInstruction() local
2309 return BuildInvokePolymorphic(dex_pc, method_idx, proto_idx, operands); in ProcessDexInstruction()
2314 dex::ProtoIndex proto_idx(instruction.VRegH_4rcc()); in ProcessDexInstruction() local
2316 return BuildInvokePolymorphic(dex_pc, method_idx, proto_idx, operands); in ProcessDexInstruction()
3051 dex::ProtoIndex proto_idx(instruction.VRegB_21c()); in ProcessDexInstruction() local
3052 BuildLoadMethodType(proto_idx, dex_pc); in ProcessDexInstruction()
Dinstruction_builder.h171 dex::ProtoIndex proto_idx,
/art/runtime/verifier/
Dmethod_verifier.cc3163 const dex::ProtoIndex proto_idx(vRegH); in CodeFlowVerifyInstruction() local
3165 dex_file_->GetReturnTypeDescriptor(dex_file_->GetProtoId(proto_idx)); in CodeFlowVerifyInstruction()
3191 const dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in CodeFlowVerifyInstruction() local
3192 const dex::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); in CodeFlowVerifyInstruction()
4281 dex::ProtoIndex proto_idx(inst->VRegH()); in VerifyInvocationArgs() local
4282 DexFileParameterIterator it(*dex_file_, dex_file_->GetProtoId(proto_idx)); in VerifyInvocationArgs()
/art/runtime/
Dclass_linker.h392 dex::ProtoIndex proto_idx,
399 dex::ProtoIndex proto_idx,
Dclass_linker.cc8833 dex::ProtoIndex proto_idx, in ResolveMethodType() argument
8839 ObjPtr<mirror::MethodType> resolved = dex_cache->GetResolvedMethodType(proto_idx); in ResolveMethodType()
8848 const dex::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); in ResolveMethodType()
8888 dex_cache->SetResolvedMethodType(proto_idx, type.Get()); in ResolveMethodType()
8894 dex::ProtoIndex proto_idx, in ResolveMethodType() argument
8899 return ResolveMethodType(self, proto_idx, dex_cache, class_loader); in ResolveMethodType()
/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()
/art/runtime/interpreter/
Dinterpreter_common.cc977 dex::ProtoIndex proto_idx(encoded_value->GetC()); in GetArgumentForBootstrapMethod() local
980 cl->ResolveMethodType(self, proto_idx, dex_cache, class_loader); in GetArgumentForBootstrapMethod()