Home
last modified time | relevance | path

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

123

/art/runtime/
Ddex_file-inl.h90 inline const char* DexFile::GetMethodDeclaringClassDescriptor(const MethodId& method_id) const { in GetMethodDeclaringClassDescriptor()
95 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const { in GetMethodSignature()
103 inline const char* DexFile::GetMethodName(const MethodId& method_id) const { in GetMethodName()
111 inline const char* DexFile::GetMethodShorty(const MethodId& method_id) const { in GetMethodShorty()
115 inline const char* DexFile::GetMethodShorty(const MethodId& method_id, uint32_t* length) const { in GetMethodShorty()
Dmethod_reference.h61 const DexFile::MethodId& mid1 = mr1.dex_file->GetMethodId(mr1.dex_method_index); in SlowCompare()
62 const DexFile::MethodId& mid2 = mr2.dex_file->GetMethodId(mr2.dex_method_index); in SlowCompare()
Ddex_file.h184 struct MethodId { struct
190 DISALLOW_COPY_AND_ASSIGN(MethodId); argument
662 const MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
667 uint32_t GetIndexForMethodId(const MethodId& method_id) const { in GetIndexForMethodId()
674 const MethodId* FindMethodId(const DexFile::TypeId& declaring_klass,
679 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const;
682 const ProtoId& GetMethodPrototype(const MethodId& method_id) const { in GetMethodPrototype()
687 const Signature GetMethodSignature(const MethodId& method_id) const;
693 const char* GetMethodName(const MethodId& method_id) const;
699 const char* GetMethodShorty(const MethodId& method_id) const;
[all …]
Dart_method.cc144 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); in GetNameAsString()
191 const DexFile::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature()
193 const DexFile::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
197 const DexFile::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
244 const DexFile::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile()
245 const DexFile::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
254 const DexFile::MethodId* other_mid = other_dexfile.FindMethodId( in FindDexMethodIndexInOtherDexFile()
Dimtable-inl.h49 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
Ddex_file_test.cc419 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F()
430 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F()
441 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F()
499 const DexFile::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
503 const DexFile::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature); in TEST_F()
Ddebugger.h374 static std::string GetMethodName(JDWP::MethodId method_id)
376 static bool IsMethodObsolete(JDWP::MethodId method_id)
387 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id,
390 static void OutputVariableTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId id, bool with_generic,
393 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value,
399 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id,
618 JDWP::MethodId method_id, uint32_t arg_count,
Ddex_file_verifier.cc123 (reinterpret_cast<const DexFile::MethodId*>(begin + header->method_ids_off_) + in FindMethodName()
184 const DexFile::MethodId* DexFileVerifier::CheckLoadMethodId(uint32_t idx, const char* err_string) { in CheckLoadMethodId()
214 const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \
672 (reinterpret_cast<const DexFile::MethodId*>(begin_ + header_->method_ids_off_) + idx)-> in CheckClassDataItemMethod()
944 (reinterpret_cast<const DexFile::MethodId*>(begin_ + header_->method_ids_off_) + index)-> in FindClassIndexAndDef()
1654 if (!CheckListSize(ptr_, 1, sizeof(DexFile::MethodId), "method_ids")) { in CheckIntraSectionIterate()
1657 ptr_ += sizeof(DexFile::MethodId); in CheckIntraSectionIterate()
2182 const DexFile::MethodId* item = reinterpret_cast<const DexFile::MethodId*>(ptr_); in CheckInterMethodIdItem()
2207 const DexFile::MethodId* prev_item = reinterpret_cast<const DexFile::MethodId*>(previous_item_); in CheckInterMethodIdItem()
2224 ptr_ += sizeof(DexFile::MethodId); in CheckInterMethodIdItem()
[all …]
Ddex_file_verifier_test.cc152 TEST_F(DexFileVerifierTest, MethodId) { in TEST_F() argument
158 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
168 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
178 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
Dclass_linker-inl.h151 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); in CheckInvokeClassMismatch()
166 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod()
/art/dexlayout/
Ddex_ir.h53 class MethodId; variable
86 virtual void Dispatch(const MethodId* method_id) = 0;
173 std::vector<std::unique_ptr<MethodId>>& MethodIds() { return method_ids_.Collection(); } in MethodIds()
234 MethodId* GetMethodId(uint32_t index) { in GetMethodId()
328 ParameterAnnotation* GenerateParameterAnnotation(const DexFile& dex_file, MethodId* method_id,
336 CollectionVector<MethodId> method_ids_;
575 class MethodId : public IndexedItem {
577 MethodId(const TypeId* klass, const ProtoId* proto, const StringId* name) in MethodId() function
579 ~MethodId() OVERRIDE { } in ~MethodId()
594 DISALLOW_COPY_AND_ASSIGN(MethodId);
[all …]
Ddex_ir.cc112 std::vector<MethodId*>* method_ids, in GetIdFromInstruction()
185 std::vector<MethodId*>* method_ids, in GetIdsFromByteCode()
358 const DexFile::MethodId& disk_method_id = dex_file.GetMethodId(i); in CreateMethodId()
359 MethodId* method_id = new MethodId(GetTypeId(disk_method_id.class_idx_.index_), in CreateMethodId()
362 method_ids_.AddIndexedItem(method_id, MethodIdsOffset() + i * MethodId::ItemSize(), i); in CreateMethodId()
509 MethodId* method_id = GetMethodId(methods[i].method_idx_); in CreateAnnotationsDirectoryItem()
525 MethodId* method_id = GetMethodId(parameters[i].method_idx_); in CreateAnnotationsDirectoryItem()
540 const DexFile& dex_file, MethodId* method_id, in GenerateParameterAnnotation()
674 std::unique_ptr<std::vector<MethodId*>> method_ids(new std::vector<MethodId*>()); in CreateCodeItem()
693 MethodId* method_id = GetMethodId(cdii.GetMemberIndex()); in GenerateMethodItem()
Ddex_verify.h41 bool VerifyId(dex_ir::MethodId* orig, dex_ir::MethodId* output, std::string* error_msg);
Ddex_visualize.cc161 void DumpMethodId(const dex_ir::MethodId* method_id, int class_index) { in DumpMethodId()
199 std::vector<dex_ir::MethodId*>* method_ids = fixups->MethodIds(); in DumpMethodItem()
200 for (dex_ir::MethodId* method_id : *method_ids) { in DumpMethodItem()
Ddexlayout.cc434 dex_ir::MethodId* method_id = header->GetCollections().GetMethodId(index); in IndexString()
467 dex_ir::MethodId* method_id = header->GetCollections().GetMethodId(index); in IndexString()
561 dex_ir::MethodId* method_id = data->GetMethodId(); in DumpEncodedValue()
752 const dex_ir::MethodId* method_id = method->GetMethodId(); in DumpClassAnnotations()
763 const dex_ir::MethodId* method_id = parameter->GetMethodId(); in DumpClassAnnotations()
1070 dex_ir::MethodId* method_id = header_->GetCollections().GetMethodId(idx); in DumpBytecodes()
1128 dex_ir::MethodId* method_id = header_->GetCollections().GetMethodId(idx); in DumpMethod()
1562 const dex_ir::MethodId* method_id = method->GetMethodId(); in LayoutStringData()
1593 for (dex_ir::MethodId* id : *fixups->MethodIds()) { in LayoutStringData()
1704 const dex_ir::MethodId *method_id = method->GetMethodId(); in LayoutCodeItems()
/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.h56 const DexFile::MethodId& referrer_method_id = in ResolveCompilingMethodsClass()
/art/runtime/jdwp/
Djdwp.h59 typedef uint64_t MethodId; /* any kind of method, including constructors */ typedef
67 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set8BE(buf, val); } in SetMethodId()
72 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, i… in expandBufAddMethodId()
88 MethodId method_id;
419 std::string DescribeMethod(const MethodId& method_id) REQUIRES_SHARED(Locks::mutator_lock_);
438 MethodId ReadMethodId() REQUIRES_SHARED(Locks::mutator_lock_);
Djdwp_request.cc96 MethodId Request::ReadMethodId() { in ReadMethodId()
97 MethodId id = Read8BE(); in ReadMethodId()
Djdwp_handler.cc49 std::string DescribeMethod(const MethodId& method_id) { in DescribeMethod()
90 RefTypeId class_id, MethodId method_id, bool is_constructor) in RequestInvoke()
223 expandBufAdd4BE(pReply, sizeof(MethodId)); in VM_IDSizes()
655 MethodId method_id = request->ReadMethodId(); in CT_InvokeMethod()
672 MethodId method_id = request->ReadMethodId(); in CT_NewInstance()
708 MethodId method_id = request->ReadMethodId(); in IT_InvokeMethod()
719 MethodId method_id = request->ReadMethodId(); in M_LineTable()
730 MethodId method_id = request->ReadMethodId(); in M_VariableTable()
753 MethodId method_id = request->ReadMethodId(); in M_Bytecodes()
772 MethodId id = request->ReadMethodId(); in M_IsObsolete()
[all …]
/art/test/163-app-image-methods/
Dinfo.txt2 when the class from the corresponding MethodId is not in the app image, only the
/art/test/164-resolution-trampoline-dex-cache/
Dinfo.txt2 ArtMethod to a DexCache for a MethodId referencing a class missing from the
/art/runtime/mirror/
Ddex_cache_test.cc149 const DexFile::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex()); in TEST_F()
150 const DexFile::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex()); in TEST_F()
/art/test/601-method-access/smali/
DSubClassUsingInaccessibleMethod.smali27 # using this very class as the declaring class in the MethodId, bug: 28771056.
/art/dexdump/
Ddexdump.cc499 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpEncodedValue()
691 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpClassAnnotations()
702 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpClassAnnotations()
854 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(index); in indexString()
887 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(index); in indexString()
1145 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpBytecodes()
1206 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpMethod()
1641 const DexFile::MethodId& method_id = pDexFile->GetMethodId(mh.field_or_method_idx_); in dumpMethodHandle()

123