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.h368 const dex::MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
373 uint32_t GetIndexForMethodId(const dex::MethodId& method_id) const { in GetIndexForMethodId()
380 const dex::MethodId* FindMethodId(const dex::TypeId& declaring_klass,
384 const dex::MethodId* FindMethodIdByIndex(dex::TypeIndex declaring_klass,
389 const char* GetMethodDeclaringClassDescriptor(const dex::MethodId& method_id) const;
392 const dex::ProtoId& GetMethodPrototype(const dex::MethodId& method_id) const { in GetMethodPrototype()
397 const Signature GetMethodSignature(const dex::MethodId& method_id) const;
403 const char* GetMethodName(const dex::MethodId& method_id) const;
404 const char* GetMethodName(const dex::MethodId& method_id, uint32_t* utf_length) const;
412 const char* GetMethodShorty(const dex::MethodId& method_id) const;
[all …]
Ddex_file-inl.h110 inline const char* DexFile::GetMethodDeclaringClassDescriptor(const dex::MethodId& method_id) in GetMethodDeclaringClassDescriptor()
116 inline const Signature DexFile::GetMethodSignature(const dex::MethodId& method_id) const { in GetMethodSignature()
124 inline const char* DexFile::GetMethodName(const dex::MethodId& method_id) const { in GetMethodName()
128 inline const char* DexFile::GetMethodName(const dex::MethodId& method_id, uint32_t* utf_length) in GetMethodName()
145 inline const char* DexFile::GetMethodShorty(const dex::MethodId& method_id) const { in GetMethodShorty()
149 inline const char* DexFile::GetMethodShorty(const dex::MethodId& method_id, uint32_t* length) in GetMethodShorty()
Dart_dex_file_loader_test.cc137 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
211 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
274 const dex::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
278 const dex::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature); in TEST_F()
Ddex_file_structs.h89 struct MethodId { struct
95 DISALLOW_COPY_AND_ASSIGN(MethodId); argument
Ddex_file.cc52 using dex::MethodId;
116 method_ids_(reinterpret_cast<const MethodId*>(base + header_->method_ids_off_)), in DexFile()
282 const MethodId* DexFile::FindMethodId(const TypeId& declaring_klass, in FindMethodId()
292 const MethodId* DexFile::FindMethodIdByIndex(dex::TypeIndex class_idx, in FindMethodIdByIndex()
300 const MethodId& method = GetMethodId(mid); in FindMethodIdByIndex()
546 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()
870 const dex::MethodId& method_id = in CheckClassDataItemMethod()
871 *(reinterpret_cast<const dex::MethodId*>(begin_ + header_->method_ids_off_) + idx); in CheckClassDataItemMethod()
1277 if (!CheckListSize(ptr_, 1, sizeof(dex::MethodId), "method_ids")) { in CheckIntraMethodIdItem()
1281 const dex::MethodId* method_id = reinterpret_cast<const dex::MethodId*>(ptr_); in CheckIntraMethodIdItem()
1288 ptr_ += sizeof(dex::MethodId); in CheckIntraMethodIdItem()
2658 const dex::MethodId* item = reinterpret_cast<const dex::MethodId*>(ptr_); in CheckInterMethodIdItem()
2682 const dex::MethodId* prev_item = reinterpret_cast<const dex::MethodId*>(previous_item_); in CheckInterMethodIdItem()
2699 ptr_ += sizeof(dex::MethodId); in CheckInterMethodIdItem()
[all …]
Ddex_file_verifier_test.cc152 TEST_F(DexFileVerifierTest, MethodId) { in TEST_F() argument
158 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
168 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
178 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;
446 IndexedCollectionVector<MethodId>& MethodIds() { return method_ids_; } in MethodIds()
447 const IndexedCollectionVector<MethodId>& MethodIds() const { return method_ids_; } in MethodIds()
554 IndexedCollectionVector<MethodId> method_ids_;
697 class MethodId : public IndexedItem {
699 MethodId(const TypeId* klass, const ProtoId* proto, const StringId* name) in MethodId() function
701 ~MethodId() override { } in ~MethodId()
716 DISALLOW_COPY_AND_ASSIGN(MethodId);
743 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()
/art/compiler/driver/
Ddex_compilation_unit.h74 const dex::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
79 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.cc75 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
/art/runtime/
Dimtable-inl.h49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
Dart_method.cc194 const dex::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature()
196 const dex::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
200 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
247 const dex::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile()
248 const dex::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
257 const dex::MethodId* other_mid = other_dexfile.FindMethodId( in FindDexMethodIndexInOtherDexFile()
Dclass_linker-inl.h280 const dex::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(method_idx); in CheckInvokeClassMismatch()
294 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod()
323 const dex::MethodId& method_id = referrer->GetDexFile()->GetMethodId(method_idx); in GetResolvedMethod()
381 const dex::MethodId& method_id = referrer->GetDexFile()->GetMethodId(method_idx); in ResolveMethod()
Dsdk_checker.cc79 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/runtime/mirror/
Ddex_cache_test.cc149 const dex::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex()); in TEST_F()
150 const dex::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex()); in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver-inl.h60 const dex::MethodId& referrer_method_id = in ResolveCompilingMethodsClass()

123