Home
last modified time | relevance | path

Searched refs:proto_idx (Results 1 – 21 of 21) 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.cc436 dex::ProtoIndex proto_idx(VRegH_45cc()); in DumpString() local
447 << ", " << file->GetShorty(proto_idx) in DumpString()
452 os << "method@" << method_idx << ", proto@" << proto_idx; in DumpString()
460 dex::ProtoIndex proto_idx(VRegH_4rcc()); in DumpString() local
463 << ", " << file->GetShorty(dex::ProtoIndex(proto_idx)) in DumpString()
464 << " // method@" << method_idx << ", proto@" << proto_idx; in DumpString()
471 dex::ProtoIndex proto_idx(VRegH_4rcc()); in DumpString() local
473 << "}, method@" << method_idx << ", proto@" << proto_idx; in DumpString()
Ddex_file.cc288 const dex::ProtoIndex proto_idx = GetIndexForProtoId(signature); in FindMethodId() local
289 return FindMethodIdByIndex(class_idx, name_idx, proto_idx); in FindMethodId()
294 dex::ProtoIndex proto_idx) const { in FindMethodIdByIndex()
311 if (proto_idx > method.proto_idx_) { in FindMethodIdByIndex()
313 } else if (proto_idx < method.proto_idx_) { in FindMethodIdByIndex()
317 DCHECK_EQ(proto_idx, method.proto_idx_); in FindMethodIdByIndex()
390 const dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(mid); in FindProtoId() local
391 const ProtoId& proto = GetProtoId(proto_idx); in FindProtoId()
Dtest_dex_file_builder.h123 uint32_t proto_idx = 0u; variable
125 entry.second.idx = proto_idx;
126 proto_idx += 1u;
Ddex_file-inl.h163 inline const char* DexFile::GetShorty(dex::ProtoIndex proto_idx) const { in GetShorty() argument
164 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty()
Ddex_file.h507 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.h314 …MethodType* GetResolvedMethodType(dex::ProtoIndex proto_idx) REQUIRES_SHARED(Locks::mutator_lock_);
316 void SetResolvedMethodType(dex::ProtoIndex proto_idx, MethodType* resolved)
467 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.cc210 extern "C" mirror::MethodType* artResolveMethodTypeFromCode(uint32_t proto_idx, Thread* self) in artResolveMethodTypeFromCode() argument
216 ObjPtr<mirror::MethodType> result = ResolveMethodTypeFromCode(caller, dex::ProtoIndex(proto_idx)); in artResolveMethodTypeFromCode()
Dquick_trampoline_entrypoints.cc2428 const dex::ProtoIndex proto_idx(inst.VRegH()); in artInvokePolymorphic() local
2429 const char* shorty = caller_method->GetDexFile()->GetShorty(proto_idx); in artInvokePolymorphic()
2447 hs.NewHandle(linker->ResolveMethodType(self, proto_idx, caller_method))); in artInvokePolymorphic()
2550 const dex::ProtoIndex proto_idx(dex_file->GetProtoIndexForCallSite(call_site_idx)); in artInvokeCustom() local
2551 const char* shorty = caller_method->GetDexFile()->GetShorty(proto_idx); in artInvokeCustom()
/art/runtime/interpreter/mterp/
Dnterp.cc236 dex::ProtoIndex proto_idx(inst->Opcode() == Instruction::INVOKE_POLYMORPHIC in NterpGetShortyFromInvokePolymorphic() local
239 return caller->GetDexFile()->GetShorty(proto_idx); in NterpGetShortyFromInvokePolymorphic()
250 dex::ProtoIndex proto_idx = dex_file->GetProtoIndexForCallSite(call_site_index); in NterpGetShortyFromInvokeCustom() local
251 return dex_file->GetShorty(proto_idx); in NterpGetShortyFromInvokeCustom()
/art/compiler/optimizing/
Dinstruction_builder.cc1173 dex::ProtoIndex proto_idx, in BuildInvokePolymorphic() argument
1175 const char* shorty = dex_file_->GetShorty(proto_idx); in BuildInvokePolymorphic()
1202 proto_idx); in BuildInvokePolymorphic()
1214 referrer->GetDexFile()->GetProtoId(proto_idx).return_type_idx_; in BuildInvokePolymorphic()
1227 dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in BuildInvokeCustom() local
1228 const char* shorty = dex_file_->GetShorty(proto_idx); in BuildInvokeCustom()
2768 dex::ProtoIndex proto_idx(instruction.VRegH_45cc()); in ProcessDexInstruction() local
2772 return BuildInvokePolymorphic(dex_pc, method_idx, proto_idx, operands); in ProcessDexInstruction()
2777 dex::ProtoIndex proto_idx(instruction.VRegH_4rcc()); in ProcessDexInstruction() local
2779 return BuildInvokePolymorphic(dex_pc, method_idx, proto_idx, operands); in ProcessDexInstruction()
[all …]
Dinstruction_builder.h163 dex::ProtoIndex proto_idx,
Dnodes.h4777 dex::ProtoIndex proto_idx)
4788 proto_idx_(proto_idx) {
/art/runtime/verifier/
Dmethod_verifier.cc3147 const dex::ProtoIndex proto_idx(vRegH); in CodeFlowVerifyInstruction() local
3149 dex_file_->GetReturnTypeDescriptor(dex_file_->GetProtoId(proto_idx)); in CodeFlowVerifyInstruction()
3175 const dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in CodeFlowVerifyInstruction() local
3176 const dex::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); in CodeFlowVerifyInstruction()
4259 dex::ProtoIndex proto_idx(inst->VRegH()); in VerifyInvocationArgs() local
4260 DexFileParameterIterator it(*dex_file_, dex_file_->GetProtoId(proto_idx)); in VerifyInvocationArgs()
/art/runtime/
Dclass_linker.h427 dex::ProtoIndex proto_idx,
434 dex::ProtoIndex proto_idx,
Dclass_linker.cc9387 dex::ProtoIndex proto_idx, in ResolveMethodType() argument
9393 ObjPtr<mirror::MethodType> resolved = dex_cache->GetResolvedMethodType(proto_idx); in ResolveMethodType()
9402 const dex::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); in ResolveMethodType()
9442 dex_cache->SetResolvedMethodType(proto_idx, type.Get()); in ResolveMethodType()
9448 dex::ProtoIndex proto_idx, in ResolveMethodType() argument
9453 return ResolveMethodType(self, proto_idx, dex_cache, class_loader); in ResolveMethodType()
/art/runtime/interpreter/
Dinterpreter_common.cc652 dex::ProtoIndex proto_idx(encoded_value->GetC()); in GetArgumentForBootstrapMethod() local
655 cl->ResolveMethodType(self, proto_idx, dex_cache, class_loader); in GetArgumentForBootstrapMethod()
/art/dexdump/
Ddexdump.cc1765 dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(it.GetJavaValue().i); in dumpCallSite() local
1766 const dex::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite()