/art/libdexfile/dex/ |
D | dex_file_types.h | 63 class ProtoIndex : public DexIndex<uint16_t> { 65 ProtoIndex() {} in ProtoIndex() function 66 explicit constexpr ProtoIndex(uint16_t index) : DexIndex<decltype(index_)>(index) {} in ProtoIndex() function 67 static constexpr ProtoIndex Invalid() { in Invalid() 68 return ProtoIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid() 71 std::ostream& operator<<(std::ostream& os, const ProtoIndex& index); 98 template<> struct hash<art::dex::ProtoIndex> { 99 size_t operator()(const art::dex::ProtoIndex& index) const {
|
D | dex_file.cc | 281 const dex::ProtoIndex proto_idx = GetIndexForProtoId(signature); in FindMethodId() 373 const dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(mid); in FindProtoId() 576 dex::ProtoIndex DexFile::GetProtoIndexForCallSite(uint32_t call_site_idx) const { in GetProtoIndexForCallSite() 582 return dex::ProtoIndex(it.GetJavaValue().i); in GetProtoIndexForCallSite() 672 std::ostream& operator<<(std::ostream& os, const ProtoIndex& index) { in operator <<()
|
D | dex_instruction.cc | 471 dex::ProtoIndex proto_idx(VRegH_45cc()); in DumpString() 495 dex::ProtoIndex proto_idx(VRegH_4rcc()); in DumpString() 498 << ", " << file->GetShorty(dex::ProtoIndex(proto_idx)) in DumpString() 506 dex::ProtoIndex proto_idx(VRegH_4rcc()); in DumpString()
|
D | dex_file.h | 465 const dex::ProtoId& GetProtoId(dex::ProtoIndex idx) const { in GetProtoId() 470 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId() 473 return dex::ProtoIndex(&proto_id - proto_ids_); in GetIndexForProtoId() 491 const char* GetShorty(dex::ProtoIndex proto_idx) const; 505 dex::ProtoIndex GetProtoIndexForCallSite(uint32_t call_site_idx) const;
|
D | art_dex_file_loader_test.cc | 248 const dex::ProtoId& to_find = java_lang_dex_file_->GetProtoId(dex::ProtoIndex(i)); in TEST_F() 259 EXPECT_EQ(java_lang_dex_file_->GetIndexForProtoId(*found), dex::ProtoIndex(i)); in TEST_F()
|
D | dex_file_structs.h | 91 dex::ProtoIndex proto_idx_; // index into proto_ids_ array for method prototype
|
D | dex_file_verifier_test.cc | 169 method_id->proto_idx_ = dex::ProtoIndex(0xFF); in TEST_F() 1419 dex::ProtoIndex proto1_idx = dex_file->GetMethodId(method_idx).proto_idx_; in TEST_F() 1421 dex::ProtoIndex proto2_idx(proto1_idx.index_ + 1u); in TEST_F()
|
D | dex_file-inl.h | 159 inline const char* DexFile::GetShorty(dex::ProtoIndex proto_idx) const { in GetShorty()
|
/art/runtime/mirror/ |
D | dex_cache_test.cc | 172 if (dex::ProtoIndex(pair.index) == method1_id.proto_idx_) { in TEST_F() 174 } else if (dex::ProtoIndex(pair.index) == method2_id.proto_idx_) { in TEST_F()
|
D | dex_cache-inl.h | 189 inline uint32_t DexCache::MethodTypeSlotIndex(dex::ProtoIndex proto_idx) { in MethodTypeSlotIndex() 197 inline MethodType* DexCache::GetResolvedMethodType(dex::ProtoIndex proto_idx) { in GetResolvedMethodType() 202 inline void DexCache::SetResolvedMethodType(dex::ProtoIndex proto_idx, MethodType* resolved) { 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/compiler/optimizing/ |
D | instruction_builder.h | 169 dex::ProtoIndex proto_idx, 238 void BuildLoadMethodType(dex::ProtoIndex proto_index, uint32_t dex_pc);
|
D | instruction_builder.cc | 1082 dex::ProtoIndex proto_idx, in BuildInvokePolymorphic() 1112 dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in BuildInvokeCustom() 2322 void HInstructionBuilder::BuildLoadMethodType(dex::ProtoIndex proto_index, uint32_t dex_pc) { in BuildLoadMethodType() 2600 dex::ProtoIndex proto_idx(instruction.VRegH_45cc()); in ProcessDexInstruction() 2609 dex::ProtoIndex proto_idx(instruction.VRegH_4rcc()); in ProcessDexInstruction() 3346 dex::ProtoIndex proto_idx(instruction.VRegB_21c()); in ProcessDexInstruction()
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 140 dex::ProtoIndex proto_idx(inst->Opcode() == Instruction::INVOKE_POLYMORPHIC in NterpGetShortyFromInvokePolymorphic() 154 dex::ProtoIndex proto_idx = dex_file->GetProtoIndexForCallSite(call_site_index); in NterpGetShortyFromInvokeCustom() 503 self, dex::ProtoIndex(inst->VRegB_21c()), caller).Ptr(); in NterpLoadObject()
|
D | mterp.cc | 392 ResolveMethodType(self, dex::ProtoIndex(index), shadow_frame->GetMethod()); in MterpConstMethodType()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.h | 174 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, dex::ProtoIndex proto_idx)
|
D | entrypoint_utils.cc | 273 dex::ProtoIndex proto_idx) { in ResolveMethodTypeFromCode()
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 204 ObjPtr<mirror::MethodType> result = ResolveMethodTypeFromCode(caller, dex::ProtoIndex(proto_idx)); in artResolveMethodTypeFromCode()
|
D | quick_trampoline_entrypoints.cc | 2517 const dex::ProtoIndex proto_idx(inst.VRegH()); in artInvokePolymorphic() 2639 const dex::ProtoIndex proto_idx(dex_file->GetProtoIndexForCallSite(call_site_idx)); in artInvokeCustom()
|
/art/dexdump/ |
D | dexdump.cc | 911 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(secondary_index)); in indexString() 929 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(index)); in indexString() 1726 dex::ProtoIndex method_type_idx = static_cast<dex::ProtoIndex>(it.GetJavaValue().i); in dumpCallSite() 1784 dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(it.GetJavaValue().i); in dumpCallSite()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 364 const dex::ProtoIndex callsite_proto_id(vRegH); in DoMethodHandleInvokeCommon() 479 class_linker->ResolveMethodType(self, dex::ProtoIndex(vRegH), shadow_frame.GetMethod()))); in DoVarHandleInvokeCommon() 656 dex::ProtoIndex proto_idx(encoded_value->GetC()); in GetArgumentForBootstrapMethod()
|
D | interpreter_common.h | 417 dex::ProtoIndex method_type_index, in ResolveMethodType()
|
/art/runtime/ |
D | class_linker.h | 417 dex::ProtoIndex proto_idx, 424 dex::ProtoIndex proto_idx,
|
/art/runtime/verifier/ |
D | method_verifier.cc | 3171 const dex::ProtoIndex proto_idx(vRegH); in CodeFlowVerifyInstruction() 3199 const dex::ProtoIndex proto_idx = dex_file_->GetProtoIndexForCallSite(call_site_idx); in CodeFlowVerifyInstruction() 4323 dex::ProtoIndex proto_idx(inst->VRegH()); in VerifyInvocationArgs()
|
/art/dexlayout/ |
D | dex_ir_builder.cc | 446 const dex::ProtoId& disk_proto_id = dex_file.GetProtoId(dex::ProtoIndex(i)); in CreateProtoId()
|