/art/libdexfile/dex/ |
D | dex_instruction_test.cc | 32 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()
|
D | dex_instruction.cc | 471 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()
|
D | dex_file.cc | 281 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()
|
D | test_dex_file_builder.h | 125 uint32_t proto_idx = 0u; in Build() local 127 entry.second.idx = proto_idx; in Build() 128 proto_idx += 1u; in Build()
|
D | dex_file-inl.h | 159 inline const char* DexFile::GetShorty(dex::ProtoIndex proto_idx) const { in GetShorty() argument 160 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty()
|
D | dex_file.h | 491 const char* GetShorty(dex::ProtoIndex proto_idx) const;
|
/art/runtime/mirror/ |
D | dex_cache-inl.h | 189 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()
|
D | dex_cache.h | 321 …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/ |
D | entrypoint_utils.cc | 270 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()
|
D | entrypoint_utils.h | 173 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, dex::ProtoIndex proto_idx)
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 198 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()
|
D | quick_trampoline_entrypoints.cc | 2539 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/ |
D | nterp.cc | 112 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/ |
D | instruction_builder.cc | 1032 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()
|
D | instruction_builder.h | 171 dex::ProtoIndex proto_idx,
|
/art/runtime/verifier/ |
D | method_verifier.cc | 3170 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/ |
D | class_linker.h | 416 dex::ProtoIndex proto_idx, 423 dex::ProtoIndex proto_idx,
|
D | class_linker.cc | 9025 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/ |
D | interpreter_common.cc | 656 dex::ProtoIndex proto_idx(encoded_value->GetC()); in GetArgumentForBootstrapMethod() local 659 cl->ResolveMethodType(self, proto_idx, dex_cache, class_loader); in GetArgumentForBootstrapMethod()
|
/art/dexdump/ |
D | dexdump.cc | 1742 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()
|