Home
last modified time | relevance | path

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

12

/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;
419 std::string DescribeMethod(const MethodId& method_id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
438 MethodId ReadMethodId() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
Djdwp_request.cc95 MethodId Request::ReadMethodId() { in ReadMethodId()
96 MethodId id = Read8BE(); in ReadMethodId()
Djdwp_handler.cc45 std::string DescribeMethod(const MethodId& method_id) { in DescribeMethod()
86 RefTypeId class_id, MethodId method_id, bool is_constructor) in RequestInvoke()
219 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()
698 MethodId method_id = request->ReadMethodId(); in M_LineTable()
709 MethodId method_id = request->ReadMethodId(); in M_VariableTable()
732 MethodId method_id = request->ReadMethodId(); in M_Bytecodes()
829 MethodId method_id = request->ReadMethodId(); in OR_InvokeMethod()
/art/compiler/driver/
Ddex_compilation_unit.h73 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
78 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()
Dcompiler_driver.cc1078 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); in CanAccessTypeWithoutChecks()
1115 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); in CanAccessInstantiableTypeWithoutChecks()
/art/runtime/
Dart_method.cc63 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); in GetNameAsString()
99 const DexFile::MethodId& mid = dex_file->GetMethodId(method1->GetDexMethodIndex()); in HasSameNameAndSignature()
101 const DexFile::MethodId& mid2 = dex_file->GetMethodId(method2->GetDexMethodIndex()); in HasSameNameAndSignature()
105 const DexFile::MethodId& mid2 = dex_file2->GetMethodId(method2->GetDexMethodIndex()); in HasSameNameAndSignature()
155 const DexFile::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile()
156 const DexFile::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
169 const DexFile::MethodId* other_mid = other_dexfile.FindMethodId( in FindDexMethodIndexInOtherDexFile()
Ddex_file.h174 struct MethodId { struct
180 DISALLOW_COPY_AND_ASSIGN(MethodId); argument
605 const MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
610 uint32_t GetIndexForMethodId(const MethodId& method_id) const { in GetIndexForMethodId()
617 const MethodId* FindMethodId(const DexFile::TypeId& declaring_klass,
622 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const { in GetMethodDeclaringClassDescriptor()
628 const ProtoId& GetMethodPrototype(const MethodId& method_id) const { in GetMethodPrototype()
633 const Signature GetMethodSignature(const MethodId& method_id) const;
636 const char* GetMethodName(const MethodId& method_id) const { in GetMethodName()
641 const char* GetMethodShorty(const MethodId& method_id) const { in GetMethodShorty()
[all …]
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()
324 const DexFile::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
328 const DexFile::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature); in TEST_F()
Ddebugger.h386 static std::string GetMethodName(JDWP::MethodId method_id)
397 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id,
400 static void OutputVariableTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId id, bool with_generic,
403 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value,
409 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id,
639 JDWP::MethodId method_id, uint32_t arg_count,
Ddex_file_verifier.cc92 const DexFile::MethodId* DexFileVerifier::CheckLoadMethodId(uint32_t idx, const char* err_string) { in CheckLoadMethodId()
115 const DexFile::MethodId* var = CheckLoadMethodId(idx, error_string); \
1181 if (!CheckListSize(ptr_, 1, sizeof(DexFile::MethodId), "method_ids")) { in CheckIntraSectionIterate()
1184 ptr_ += sizeof(DexFile::MethodId); in CheckIntraSectionIterate()
1663 const DexFile::MethodId* item = reinterpret_cast<const DexFile::MethodId*>(ptr_); in CheckInterMethodIdItem()
1688 const DexFile::MethodId* prev_item = reinterpret_cast<const DexFile::MethodId*>(previous_item_); in CheckInterMethodIdItem()
1705 ptr_ += sizeof(DexFile::MethodId); in CheckInterMethodIdItem()
Ddex_file-inl.h41 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const { in GetMethodSignature()
Ddex_file_verifier.h109 const DexFile::MethodId* CheckLoadMethodId(uint32_t idx, const char* error_fmt);
Dart_method-inl.h426 const DexFile::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in GetReturnTypeDescriptor()
477 const DexFile::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in GetReturnType()
Ddex_file_verifier_test.cc219 TEST_F(DexFileVerifierTest, MethodId) { in TEST_F() argument
Ddex_file.cc409 method_ids_(reinterpret_cast<const MethodId*>(base + header_->method_ids_off_)), in DexFile()
569 const DexFile::MethodId* DexFile::FindMethodId(const DexFile::TypeId& declaring_klass, in FindMethodId()
580 const DexFile::MethodId& method = GetMethodId(mid); in FindMethodId()
Ddebugger.cc1394 static JDWP::MethodId ToMethodId(const ArtMethod* m) in ToMethodId()
1396 return static_cast<JDWP::MethodId>(reinterpret_cast<uintptr_t>(m)); in ToMethodId()
1404 static ArtMethod* FromMethodId(JDWP::MethodId mid) in FromMethodId()
1466 std::string Dbg::GetMethodName(JDWP::MethodId method_id) { in GetMethodName()
1623 void Dbg::OutputLineTable(JDWP::RefTypeId, JDWP::MethodId method_id, JDWP::ExpandBuf* pReply) { in OutputLineTable()
1668 void Dbg::OutputVariableTable(JDWP::RefTypeId, JDWP::MethodId method_id, bool with_generic, in OutputVariableTable()
1727 void Dbg::OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value, in OutputMethodReturnValue()
1741 JDWP::JdwpError Dbg::GetBytecodes(JDWP::RefTypeId, JDWP::MethodId method_id, in GetBytecodes()
3841 JDWP::MethodId method_id, uint32_t arg_count, in PrepareInvokeMethod()
Dclass_linker.cc2387 const DexFile::MethodId& method_id = dex_file.GetMethodId(dex_method_idx); in LoadMethod()
3801 const DexFile::MethodId& method_id = dex_file->GetMethodId(m->GetDexMethodIndex()); in ThrowSignatureCheckResolveReturnTypeException()
4146 const DexFile::MethodId& id = dex_file.GetMethodId(dex_data.GetMemberIndex()); in DumpClass()
4152 const DexFile::MethodId& id = dex_file.GetMethodId(dex_data.GetMemberIndex()); in DumpClass()
4428 const DexFile::MethodId& other_mid = other_dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
4446 const DexFile::MethodId* const mid_;
5349 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); in ResolveMethod()
5570 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); in MethodShorty()
Dutils.cc376 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); in PrettyMethod()
/art/compiler/utils/
Dtest_dex_file_builder.h157 uint32_t data_section_offset = method_ids_offset + methods_.size() * sizeof(DexFile::MethodId); in Build()
205 uint32_t raw_offset = method_ids_offset + entry.second * sizeof(DexFile::MethodId); in Build()
/art/runtime/quick/
Dinline_method_analyser.cc135 const DexFile::MethodId& method_id = ref.dex_file->GetMethodId(ref.dex_method_index); in IsSyntheticAccessor()
/art/runtime/verifier/
Dmethod_verifier.cc2420 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
2445 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
2526 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
2583 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
3235 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx); in ResolveMethodAndCheckAccess()
4330 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetMethodReturnType()
4342 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetDeclaringClass()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc358 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); in PreloadDexCachesResolveMethod()
/art/compiler/dex/quick/
Ddex_file_method_inliner.cc794 const DexFile::MethodId* method_id = in FindMethodIndex()
/art/compiler/dex/
Dtype_inference.cc632 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); in Signature()

12