Home
last modified time | relevance | path

Searched refs:MethodId (Results 1 – 25 of 31) sorted by relevance

12

/art/compiler/driver/
Ddex_compilation_unit.h72 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
77 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
Dcompiler_driver-inl.h63 const DexFile::MethodId& referrer_method_id = in ResolveCompilingMethodsClass()
/art/runtime/jdwp/
Djdwp.h58 typedef uint64_t MethodId; /* any kind of method, including constructors */ typedef
66 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set8BE(buf, val); } in SetMethodId()
71 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, i… in expandBufAddMethodId()
87 MethodId method_id;
414 std::string DescribeMethod(const MethodId& method_id) SHARED_REQUIRES(Locks::mutator_lock_);
433 MethodId ReadMethodId() SHARED_REQUIRES(Locks::mutator_lock_);
Djdwp_request.cc95 MethodId Request::ReadMethodId() { in ReadMethodId()
96 MethodId id = Read8BE(); in ReadMethodId()
Djdwp_handler.cc46 std::string DescribeMethod(const MethodId& method_id) { in DescribeMethod()
87 RefTypeId class_id, MethodId method_id, bool is_constructor) in RequestInvoke()
220 expandBufAdd4BE(pReply, sizeof(MethodId)); in VM_IDSizes()
647 MethodId method_id = request->ReadMethodId(); in CT_InvokeMethod()
664 MethodId method_id = request->ReadMethodId(); in CT_NewInstance()
700 MethodId method_id = request->ReadMethodId(); in IT_InvokeMethod()
711 MethodId method_id = request->ReadMethodId(); in M_LineTable()
722 MethodId method_id = request->ReadMethodId(); in M_VariableTable()
745 MethodId method_id = request->ReadMethodId(); in M_Bytecodes()
851 MethodId method_id = request->ReadMethodId(); in OR_InvokeMethod()
/art/runtime/
Dart_method.cc63 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); in GetNameAsString()
110 const DexFile::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature()
112 const DexFile::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
116 const DexFile::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
166 const DexFile::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile()
167 const DexFile::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
176 const DexFile::MethodId* other_mid = other_dexfile.FindMethodId( in FindDexMethodIndexInOtherDexFile()
Ddex_file_test.cc245 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F()
256 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F()
267 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F()
325 const DexFile::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
329 const DexFile::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature); in TEST_F()
Ddex_file.h189 struct MethodId { struct
195 DISALLOW_COPY_AND_ASSIGN(MethodId); argument
639 const MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
644 uint32_t GetIndexForMethodId(const MethodId& method_id) const { in GetIndexForMethodId()
651 const MethodId* FindMethodId(const DexFile::TypeId& declaring_klass,
656 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const { in GetMethodDeclaringClassDescriptor()
662 const ProtoId& GetMethodPrototype(const MethodId& method_id) const { in GetMethodPrototype()
667 const Signature GetMethodSignature(const MethodId& method_id) const;
670 const char* GetMethodName(const MethodId& method_id) const { in GetMethodName()
680 const char* GetMethodShorty(const MethodId& method_id) const { in GetMethodShorty()
[all …]
Ddex_file_verifier_test.cc216 TEST_F(DexFileVerifierTest, MethodId) { in TEST_F() argument
222 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
232 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
242 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
701 auto* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(method_idx)); in TEST_F()
Ddex_file_verifier.cc96 const DexFile::MethodId* DexFileVerifier::CheckLoadMethodId(uint32_t idx, const char* err_string) { in CheckLoadMethodId()
119 const DexFile::MethodId* var = CheckLoadMethodId(idx, error_string); \
548 (reinterpret_cast<const DexFile::MethodId*>(begin_ + header_->method_ids_off_) + idx)-> in CheckClassDataItemMethod()
779 (reinterpret_cast<const DexFile::MethodId*>(begin_ + header_->method_ids_off_) + index)-> in FindClassFlags()
1384 if (!CheckListSize(ptr_, 1, sizeof(DexFile::MethodId), "method_ids")) { in CheckIntraSectionIterate()
1387 ptr_ += sizeof(DexFile::MethodId); in CheckIntraSectionIterate()
1873 const DexFile::MethodId* item = reinterpret_cast<const DexFile::MethodId*>(ptr_); in CheckInterMethodIdItem()
1898 const DexFile::MethodId* prev_item = reinterpret_cast<const DexFile::MethodId*>(previous_item_); in CheckInterMethodIdItem()
1915 ptr_ += sizeof(DexFile::MethodId); in CheckInterMethodIdItem()
2479 const DexFile::MethodId* method_id = in GetMethodDescriptionOrError()
[all …]
Ddebugger.h367 static std::string GetMethodName(JDWP::MethodId method_id)
378 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id,
381 static void OutputVariableTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId id, bool with_generic,
384 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value,
390 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id,
615 JDWP::MethodId method_id, uint32_t arg_count,
Ddex_file-inl.h41 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const { in GetMethodSignature()
Ddex_file_verifier.h144 const DexFile::MethodId* CheckLoadMethodId(uint32_t idx, const char* error_fmt);
Dart_method-inl.h376 const DexFile::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in GetReturnTypeDescriptor()
430 const DexFile::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in GetReturnType()
Dclass_linker-inl.h132 const DexFile::MethodId& method = dex_file->GetMethodId(method_idx); in ResolveReferencedClassOfMethod()
Ddebugger.cc1338 static JDWP::MethodId ToMethodId(ArtMethod* m) in ToMethodId()
1340 return static_cast<JDWP::MethodId>(reinterpret_cast<uintptr_t>(GetCanonicalMethod(m))); in ToMethodId()
1348 static ArtMethod* FromMethodId(JDWP::MethodId mid) in FromMethodId()
1407 std::string Dbg::GetMethodName(JDWP::MethodId method_id) { in GetMethodName()
1561 void Dbg::OutputLineTable(JDWP::RefTypeId, JDWP::MethodId method_id, JDWP::ExpandBuf* pReply) { in OutputLineTable()
1605 void Dbg::OutputVariableTable(JDWP::RefTypeId, JDWP::MethodId method_id, bool with_generic, in OutputVariableTable()
1665 void Dbg::OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value, in OutputMethodReturnValue()
1679 JDWP::JdwpError Dbg::GetBytecodes(JDWP::RefTypeId, JDWP::MethodId method_id, in GetBytecodes()
3828 JDWP::MethodId method_id, uint32_t arg_count, in PrepareInvokeMethod()
Dutils.cc380 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); in PrettyMethod()
1811 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); in DumpMethodCFG()
/art/test/601-method-access/smali/
DSubClassUsingInaccessibleMethod.smali27 # using this very class as the declaring class in the MethodId, bug: 28771056.
/art/dexlist/
Ddexlist.cc103 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpMethod()
/art/compiler/utils/
Dtest_dex_file_builder.h159 uint32_t data_section_offset = method_ids_offset + methods_.size() * sizeof(DexFile::MethodId); in Build()
206 uint32_t raw_offset = method_ids_offset + entry.second * sizeof(DexFile::MethodId); in Build()
/art/dexdump/
Ddexdump.cc560 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(index); in indexString()
856 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpBytecodes()
919 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpMethod()
/art/runtime/verifier/
Dmethod_verifier.cc694 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in Verify()
2856 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
2878 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
2955 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
3009 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
3745 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx); in ResolveMethodAndCheckAccess()
4979 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetMethodReturnType()
4991 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetDeclaringClass()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc365 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); in PreloadDexCachesResolveMethod()
/art/compiler/debug/
Delf_debug_info_writer.h140 const DexFile::MethodId& dex_method = dex->GetMethodId(mi->dex_method_index); in Write()
/art/runtime/quick/
Dinline_method_analyser.cc530 const DexFile::MethodId& method_id = ref.dex_file->GetMethodId(ref.dex_method_index); in IsSyntheticAccessor()

12