Home
last modified time | relevance | path

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

123

/art/libdexfile/dex/
Dmethod_reference.h34 const dex::MethodId& GetMethodId() const { in GetMethodId()
53 const dex::MethodId& mid1 = mr1.GetMethodId(); in SlowCompare()
54 const dex::MethodId& mid2 = mr2.GetMethodId(); in SlowCompare()
Ddex_file.h408 const dex::MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
413 uint32_t GetIndexForMethodId(const dex::MethodId& method_id) const { in GetIndexForMethodId()
420 const dex::MethodId* FindMethodId(const dex::TypeId& declaring_klass,
424 const dex::MethodId* FindMethodIdByIndex(dex::TypeIndex declaring_klass,
429 const char* GetMethodDeclaringClassDescriptor(const dex::MethodId& method_id) const;
432 const dex::ProtoId& GetMethodPrototype(const dex::MethodId& method_id) const { in GetMethodPrototype()
437 const Signature GetMethodSignature(const dex::MethodId& method_id) const;
443 const char* GetMethodName(const dex::MethodId& method_id) const;
444 const char* GetMethodName(const dex::MethodId& method_id, uint32_t* utf_length) const;
447 std::string_view GetMethodNameView(const dex::MethodId& method_id) const;
[all …]
Ddex_file-inl.h128 inline const char* DexFile::GetMethodDeclaringClassDescriptor(const dex::MethodId& method_id) in GetMethodDeclaringClassDescriptor()
134 inline const Signature DexFile::GetMethodSignature(const dex::MethodId& method_id) const { in GetMethodSignature()
142 inline const char* DexFile::GetMethodName(const dex::MethodId& method_id) const { in GetMethodName()
146 inline const char* DexFile::GetMethodName(const dex::MethodId& method_id, uint32_t* utf_length) in GetMethodName()
160 inline std::string_view DexFile::GetMethodNameView(const dex::MethodId& method_id) const { in GetMethodNameView()
173 inline const char* DexFile::GetMethodShorty(const dex::MethodId& method_id) const { in GetMethodShorty()
177 inline const char* DexFile::GetMethodShorty(const dex::MethodId& method_id, uint32_t* length) in GetMethodShorty()
Ddex_file_structs.h89 struct MethodId { struct
95 DISALLOW_COPY_AND_ASSIGN(MethodId); argument
Dart_dex_file_loader_test.cc190 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
264 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
327 const dex::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
331 const dex::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature); in TEST_F()
Ddex_file.cc52 using dex::MethodId;
108 method_ids_(reinterpret_cast<const MethodId*>(base + header_->method_ids_off_)), in DexFile()
313 const MethodId* DexFile::FindMethodId(const TypeId& declaring_klass, in FindMethodId()
323 const MethodId* DexFile::FindMethodIdByIndex(dex::TypeIndex class_idx, in FindMethodIdByIndex()
331 const MethodId& method = GetMethodId(mid); in FindMethodIdByIndex()
577 const MethodId& method_id = GetMethodId(method_idx); in AppendPrettyMethod()
Ddex_file_verifier.cc179 const dex::MethodId* method_id = in GetMethodDescription()
180 reinterpret_cast<const dex::MethodId*>(begin + header->method_ids_off_) + idx; in GetMethodDescription()
865 const dex::MethodId& method_id = in CheckClassDataItemMethod()
866 *(reinterpret_cast<const dex::MethodId*>(begin_ + header_->method_ids_off_) + idx); in CheckClassDataItemMethod()
1272 if (!CheckListSize(ptr_, 1, sizeof(dex::MethodId), "method_ids")) { in CheckIntraMethodIdItem()
1276 const dex::MethodId* method_id = reinterpret_cast<const dex::MethodId*>(ptr_); in CheckIntraMethodIdItem()
1283 ptr_ += sizeof(dex::MethodId); in CheckIntraMethodIdItem()
2653 const dex::MethodId* item = reinterpret_cast<const dex::MethodId*>(ptr_); in CheckInterMethodIdItem()
2677 const dex::MethodId* prev_item = reinterpret_cast<const dex::MethodId*>(previous_item_); in CheckInterMethodIdItem()
2694 ptr_ += sizeof(dex::MethodId); in CheckInterMethodIdItem()
[all …]
Ddex_file_verifier_test.cc145 TEST_F(DexFileVerifierTest, MethodId) { in TEST_F() argument
151 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
161 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
171 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
/art/dexlayout/
Ddex_ir.h57 class MethodId; variable
90 virtual void Dispatch(const MethodId* method_id) = 0;
454 IndexedCollectionVector<MethodId>& MethodIds() { return method_ids_; } in MethodIds()
455 const IndexedCollectionVector<MethodId>& MethodIds() const { return method_ids_; } in MethodIds()
562 IndexedCollectionVector<MethodId> method_ids_;
705 class MethodId : public IndexedItem {
707 MethodId(const TypeId* klass, const ProtoId* proto, const StringId* name) in MethodId() function
709 ~MethodId() override { } in ~MethodId()
724 DISALLOW_COPY_AND_ASSIGN(MethodId);
751 MethodItem(uint32_t access_flags, const MethodId* method_id, CodeItem* code) in MethodItem()
[all …]
Ddex_verify.h41 bool VerifyId(dex_ir::MethodId* orig, dex_ir::MethodId* output, std::string* error_msg);
Ddex_ir_builder.cc186 std::vector<MethodId*>* method_ids,
192 std::vector<MethodId*>* method_ids,
210 MethodId* method_id,
469 const dex::MethodId& disk_method_id = dex_file.GetMethodId(i); in CreateMethodId()
471 header_->MethodIds().GetOffset() + i * MethodId::ItemSize(), in CreateMethodId()
756 MethodId* method_id = header_->MethodIds()[methods[i].method_idx_]; in CreateAnnotationsDirectoryItem()
772 MethodId* method_id = header_->MethodIds()[parameters[i].method_idx_]; in CreateAnnotationsDirectoryItem()
927 std::vector<MethodId*> method_ids; in DedupeOrCreateCodeItem()
1011 std::vector<MethodId*>* method_ids, in GetIdsFromByteCode()
1031 std::vector<MethodId*>* method_ids, in GetIdFromInstruction()
[all …]
Ddex_visualize.cc163 void DumpMethodId(const dex_ir::MethodId* method_id, int class_index) { in DumpMethodId()
199 for (dex_ir::MethodId* method_id : fixups->MethodIds()) { in DumpMethodItem()
Ddexlayout.cc491 dex_ir::MethodId* method_id = header->MethodIds()[index]; in IndexString()
524 dex_ir::MethodId* method_id = header->MethodIds()[index]; in IndexString()
621 dex_ir::MethodId* method_id = data->GetMethodId(); in DumpEncodedValue()
811 const dex_ir::MethodId* method_id = method->GetMethodId(); in DumpClassAnnotations()
822 const dex_ir::MethodId* method_id = parameter->GetMethodId(); in DumpClassAnnotations()
1098 dex_ir::MethodId* method_id = header_->MethodIds()[idx]; in DumpBytecodes()
1242 dex_ir::MethodId* method_id = header_->MethodIds()[idx]; in DumpMethod()
1677 auto method_id = static_cast<dex_ir::MethodId*>(mh->GetFieldOrMethodId()); in DumpMethodHandle()
1949 const dex_ir::MethodId* method_id = method.GetMethodId(); in LayoutStringData()
1980 for (dex_ir::MethodId* id : fixups->MethodIds()) { in LayoutStringData()
[all …]
/art/compiler/driver/
Ddex_compilation_unit.h75 const dex::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
80 const dex::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
/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/test/980-redefine-object/
Dredef_object.cc65 mi.AddTransformation<slicer::EntryHook>(ir::MethodId("Lart/test/TestWatcher;", in RedefineObjectHook()
68 if (!mi.InstrumentMethod(ir::MethodId("Ljava/lang/Object;", in RedefineObjectHook()
/art/tools/veridex/
Dresolver.cc50 const dex::MethodId& method_id, in HasSameNameAndSignature()
58 const dex::MethodId& method_id, in HasSameNameAndSignature()
143 const dex::MethodId& other_method_id = other_dex_file.GetMethodId(method.GetIndex()); in LookupMethodIn()
262 const dex::MethodId& method_id = dex_file_.GetMethodId(method_index); in GetMethod()
Dhidden_api.cc84 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
/art/runtime/mirror/
Ddex_cache_test.cc131 const dex::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex()); in TEST_F()
132 const dex::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex()); in TEST_F()
/art/runtime/
Dimtable-inl.h49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
Dart_method.cc246 const dex::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature()
248 const dex::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
252 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
299 const dex::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile()
300 const dex::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
309 const dex::MethodId* other_mid = other_dexfile.FindMethodId( in FindDexMethodIndexInOtherDexFile()
Dsdk_checker.cc73 const dex::MethodId* method_id = in ShouldDenyAccess()
/art/test/601-method-access/smali/
DSubClassUsingInaccessibleMethod.smali27 # using this very class as the declaring class in the MethodId, bug: 28771056.
/art/dex2oat/driver/
Dcompiler_driver-inl.h60 const dex::MethodId& referrer_method_id = in ResolveCompilingMethodsClass()

123