/art/libdexfile/dex/ |
D | proto_reference_test.cc | 42 protos.emplace_back(ProtoReference(dex_file.get(), dex::ProtoIndex(i))); in TEST() 74 ProtoReference V_dex1 = ProtoReference(dex_file1.get(), dex::ProtoIndex(5)); in TEST() 75 ProtoReference V_dex2 = ProtoReference(dex_file2.get(), dex::ProtoIndex(1)); in TEST() 82 ProtoReference IString_dex1 = ProtoReference(dex_file1.get(), dex::ProtoIndex(1)); in TEST() 83 ProtoReference IIString_dex1 = ProtoReference(dex_file1.get(), dex::ProtoIndex(2)); in TEST() 84 ProtoReference IJString_dex1 = ProtoReference(dex_file1.get(), dex::ProtoIndex(3)); in TEST() 85 ProtoReference IJZString_dex1 = ProtoReference(dex_file1.get(), dex::ProtoIndex(4)); in TEST() 87 ProtoReference IJString_dex2 = ProtoReference(dex_file2.get(), dex::ProtoIndex(0)); in TEST()
|
D | dex_file_types.h | 64 class ProtoIndex : public DexIndex<uint16_t> { 66 ProtoIndex() {} in ProtoIndex() function 67 explicit constexpr ProtoIndex(uint16_t index) : DexIndex<decltype(index_)>(index) {} in ProtoIndex() function 68 static constexpr ProtoIndex Invalid() { in Invalid() 69 return ProtoIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid() 72 std::ostream& operator<<(std::ostream& os, const ProtoIndex& index); 99 template<> struct hash<art::dex::ProtoIndex> { 100 size_t operator()(const art::dex::ProtoIndex& index) const {
|
D | proto_reference.h | 34 ProtoReference(const DexFile* file, dex::ProtoIndex index) in ProtoReference() 37 dex::ProtoIndex ProtoIndex() const { in ProtoIndex() function 38 return dex::ProtoIndex(index); in ProtoIndex() 42 return dex_file->GetProtoId(ProtoIndex()); in ProtoId()
|
D | dex_file.cc | 408 const dex::ProtoIndex proto_idx = GetIndexForProtoId(signature); in FindMethodId() 414 dex::ProtoIndex proto_idx) const { in FindMethodIdByIndex() 509 const dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(mid); in FindProtoId() 712 dex::ProtoIndex DexFile::GetProtoIndexForCallSite(uint32_t call_site_idx) const { in GetProtoIndexForCallSite() 718 return dex::ProtoIndex(it.GetJavaValue().i); in GetProtoIndexForCallSite() 808 std::ostream& operator<<(std::ostream& os, const ProtoIndex& index) { in operator <<()
|
D | dex_instruction.cc | 437 dex::ProtoIndex proto_idx(VRegH_45cc()); in DumpString() 461 dex::ProtoIndex proto_idx(VRegH_4rcc()); in DumpString() 464 << ", " << file->GetShorty(dex::ProtoIndex(proto_idx)) in DumpString() 472 dex::ProtoIndex proto_idx(VRegH_4rcc()); in DumpString()
|
D | dex_file.h | 475 dex::ProtoIndex signature) const; 577 const dex::ProtoId& GetProtoId(dex::ProtoIndex idx) const { in GetProtoId() 582 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId() 585 return dex::ProtoIndex(&proto_id - proto_ids_); in GetIndexForProtoId() 603 const char* GetShorty(dex::ProtoIndex proto_idx) const; 604 std::string_view GetShortyView(dex::ProtoIndex proto_idx) const; 619 dex::ProtoIndex GetProtoIndexForCallSite(uint32_t call_site_idx) const;
|
D | dex_file_structs.h | 91 dex::ProtoIndex proto_idx_; // index into proto_ids_ array for method prototype
|
D | art_dex_file_loader_test.cc | 297 const dex::ProtoId& to_find = java_lang_dex_file_->GetProtoId(dex::ProtoIndex(i)); in TEST_F() 308 EXPECT_EQ(java_lang_dex_file_->GetIndexForProtoId(*found), dex::ProtoIndex(i)); in TEST_F()
|
D | dex_file-inl.h | 250 inline const char* DexFile::GetShorty(dex::ProtoIndex proto_idx) const { in GetShorty() 256 inline std::string_view DexFile::GetShortyView(dex::ProtoIndex proto_idx) const { in GetShortyView()
|
D | dex_file_verifier_test.cc | 162 method_id->proto_idx_ = dex::ProtoIndex(0xFF); in TEST_F() 1412 dex::ProtoIndex proto1_idx = dex_file->GetMethodId(method_idx).proto_idx_; in TEST_F() 1414 dex::ProtoIndex proto2_idx(proto1_idx.index_ + 1u); in TEST_F()
|
/art/runtime/mirror/ |
D | dex_cache_test.cc | 155 if (dex::ProtoIndex(i) == method1_id.proto_idx_) { in TEST_F() 157 } else if (dex::ProtoIndex(i) == method2_id.proto_idx_) { in TEST_F()
|
D | dex_cache-inl.h | 180 inline MethodType* DexCache::GetResolvedMethodType(dex::ProtoIndex proto_idx) { in GetResolvedMethodType() 184 inline void DexCache::SetResolvedMethodType(dex::ProtoIndex proto_idx, MethodType* resolved) { in SetResolvedMethodType() 197 inline void DexCache::ClearMethodType(dex::ProtoIndex proto_idx) { in ClearMethodType()
|
D | dex_cache.h | 344 …MethodType* GetResolvedMethodType(dex::ProtoIndex proto_idx) REQUIRES_SHARED(Locks::mutator_lock_); 346 void SetResolvedMethodType(dex::ProtoIndex proto_idx, MethodType* resolved) 351 void ClearMethodType(dex::ProtoIndex proto_idx) REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 173 dex::ProtoIndex proto_idx, in StoreMethodTypeInBss() 283 ObjPtr<mirror::MethodType> result = ResolveMethodTypeFromCode(caller, dex::ProtoIndex(proto_idx)); in artResolveMethodTypeFromCode() 286 StoreMethodTypeInBss(caller, dex::ProtoIndex(proto_idx), result, outer_method); in artResolveMethodTypeFromCode()
|
/art/runtime/ |
D | transaction.h | 144 void RecordResolveMethodType(ObjPtr<mirror::DexCache> dex_cache, dex::ProtoIndex proto_idx) 322 ResolveMethodTypeLog(ObjPtr<mirror::DexCache> dex_cache, dex::ProtoIndex proto_idx); 330 const dex::ProtoIndex proto_idx_;
|
D | transaction.cc | 314 dex::ProtoIndex proto_idx) { in RecordResolveMethodType() 718 dex::ProtoIndex proto_idx) in ResolveMethodTypeLog()
|
D | class_linker.h | 442 dex::ProtoIndex proto_idx, 449 dex::ProtoIndex proto_idx, 454 dex::ProtoIndex proto_idx, 944 dex::ProtoIndex proto_idx)
|
/art/compiler/optimizing/ |
D | instruction_builder.h | 164 dex::ProtoIndex proto_idx, 237 void BuildLoadMethodType(dex::ProtoIndex proto_index, uint32_t dex_pc);
|
/art/runtime/oat/ |
D | aot_class_linker.h | 128 void RecordResolveMethodType(ObjPtr<mirror::DexCache> dex_cache, dex::ProtoIndex proto_idx)
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 265 dex::ProtoIndex proto_idx(inst->Opcode() == Instruction::INVOKE_POLYMORPHIC in NterpGetShortyFromInvokePolymorphic() 279 dex::ProtoIndex proto_idx = dex_file->GetProtoIndexForCallSite(call_site_index); in NterpGetShortyFromInvokeCustom() 583 self, dex::ProtoIndex(inst->VRegB_21c()), caller).Ptr(); in NterpLoadObject()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.h | 168 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, dex::ProtoIndex proto_idx)
|
D | entrypoint_utils.cc | 300 dex::ProtoIndex proto_idx) { in ResolveMethodTypeFromCode()
|
/art/dexdump/ |
D | dexdump.cc | 978 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(secondary_index)); in indexString() 996 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(index)); in indexString() 1808 dex::ProtoIndex method_type_idx = static_cast<dex::ProtoIndex>(it.GetJavaValue().i); in dumpCallSite() 1855 dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(it.GetJavaValue().i); in dumpCallSite()
|
/art/compiler/linker/ |
D | linker_patch.h | 270 return ProtoReference(target_dex_file_, dex::ProtoIndex(proto_idx_)); in TargetProto()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 329 const dex::ProtoIndex callsite_proto_id(vRegH); in DoMethodHandleInvokeCommon() 475 class_linker->ResolveMethodType(self, dex::ProtoIndex(vRegH), dex_cache, class_loader))); in DoVarHandleInvokeCommon() 507 dex::ProtoIndex(vRegH), in DoVarHandleInvokeCommon() 665 dex::ProtoIndex proto_idx(encoded_value->GetC()); in GetArgumentForBootstrapMethod()
|