Home
last modified time | relevance | path

Searched refs:ProtoIndex (Results 1 – 23 of 23) sorted by relevance

/art/libdexfile/dex/
Ddex_file_types.h63 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 {
Ddex_file.cc280 const dex::ProtoIndex proto_idx = GetIndexForProtoId(signature); in FindMethodId()
372 const dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(mid); in FindProtoId()
575 dex::ProtoIndex DexFile::GetProtoIndexForCallSite(uint32_t call_site_idx) const { in GetProtoIndexForCallSite()
581 return dex::ProtoIndex(it.GetJavaValue().i); in GetProtoIndexForCallSite()
671 std::ostream& operator<<(std::ostream& os, const ProtoIndex& index) { in operator <<()
Ddex_instruction.cc471 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()
Ddex_file.h462 const dex::ProtoId& GetProtoId(dex::ProtoIndex idx) const { in GetProtoId()
467 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId()
470 return dex::ProtoIndex(&proto_id - proto_ids_); in GetIndexForProtoId()
488 const char* GetShorty(dex::ProtoIndex proto_idx) const;
502 dex::ProtoIndex GetProtoIndexForCallSite(uint32_t call_site_idx) const;
Dart_dex_file_loader_test.cc248 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()
Ddex_file_structs.h91 dex::ProtoIndex proto_idx_; // index into proto_ids_ array for method prototype
Ddex_file_verifier.h171 const dex::ProtoId* CheckLoadProtoId(dex::ProtoIndex idx, const char* error_fmt);
Ddex_file-inl.h158 inline const char* DexFile::GetShorty(dex::ProtoIndex proto_idx) const { in GetShorty()
Ddex_file_verifier.cc133 const dex::ProtoId* DexFileVerifier::CheckLoadProtoId(dex::ProtoIndex idx, in CheckLoadProtoId()
/art/runtime/mirror/
Ddex_cache_test.cc172 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()
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_);
Ddex_cache-inl.h188 inline uint32_t DexCache::MethodTypeSlotIndex(dex::ProtoIndex proto_idx) { in MethodTypeSlotIndex()
196 inline MethodType* DexCache::GetResolvedMethodType(dex::ProtoIndex proto_idx) { in GetResolvedMethodType()
201 inline void DexCache::SetResolvedMethodType(dex::ProtoIndex proto_idx, MethodType* resolved) { in SetResolvedMethodType()
/art/compiler/optimizing/
Dinstruction_builder.h171 dex::ProtoIndex proto_idx,
240 void BuildLoadMethodType(dex::ProtoIndex proto_index, uint32_t dex_pc);
/art/runtime/entrypoints/
Dentrypoint_utils.h172 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, dex::ProtoIndex proto_idx)
Dentrypoint_utils.cc268 dex::ProtoIndex proto_idx) { in ResolveMethodTypeFromCode()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc201 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()
2888 const dex::ProtoIndex proto_idx(dex_file->GetProtoIndexForCallSite(call_site_idx)); in artInvokeCustom()
/art/dexdump/
Ddexdump.cc872 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(secondary_index)); in indexString()
890 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(index)); in indexString()
1684 dex::ProtoIndex method_type_idx = static_cast<dex::ProtoIndex>(it.GetJavaValue().i); in dumpCallSite()
1742 dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(it.GetJavaValue().i); in dumpCallSite()
/art/runtime/interpreter/
Dinterpreter_common.cc685 const dex::ProtoIndex callsite_proto_id(vRegH); in DoMethodHandleInvokeCommon()
800 class_linker->ResolveMethodType(self, dex::ProtoIndex(vRegH), shadow_frame.GetMethod()))); in DoVarHandleInvokeCommon()
977 dex::ProtoIndex proto_idx(encoded_value->GetC()); in GetArgumentForBootstrapMethod()
Dinterpreter_common.h317 dex::ProtoIndex method_type_index, in ResolveMethodType()
/art/runtime/
Dclass_linker.h392 dex::ProtoIndex proto_idx,
399 dex::ProtoIndex proto_idx,
/art/runtime/interpreter/mterp/
Dmterp.cc393 ResolveMethodType(self, dex::ProtoIndex(index), shadow_frame->GetMethod()); in MterpConstMethodType()
/art/dexlayout/
Ddex_ir_builder.cc445 const dex::ProtoId& disk_proto_id = dex_file.GetProtoId(dex::ProtoIndex(i)); in CreateProtoId()