Home
last modified time | relevance | path

Searched refs:MethodId (Results 1 – 25 of 54) 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.h357 const dex::MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
362 uint32_t GetIndexForMethodId(const dex::MethodId& method_id) const { in GetIndexForMethodId()
369 const dex::MethodId* FindMethodId(const dex::TypeId& declaring_klass,
374 const char* GetMethodDeclaringClassDescriptor(const dex::MethodId& method_id) const;
377 const dex::ProtoId& GetMethodPrototype(const dex::MethodId& method_id) const { in GetMethodPrototype()
382 const Signature GetMethodSignature(const dex::MethodId& method_id) const;
388 const char* GetMethodName(const dex::MethodId& method_id) const;
389 const char* GetMethodName(const dex::MethodId& method_id, uint32_t* utf_length) const;
396 const char* GetMethodShorty(const dex::MethodId& method_id) const;
397 const char* GetMethodShorty(const dex::MethodId& method_id, uint32_t* length) 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()
141 inline const char* DexFile::GetMethodShorty(const dex::MethodId& method_id) const { in GetMethodShorty()
145 inline const char* DexFile::GetMethodShorty(const dex::MethodId& method_id, uint32_t* length) in GetMethodShorty()
Dart_dex_file_loader_test.cc128 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
202 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
265 const dex::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
269 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()
275 const MethodId* DexFile::FindMethodId(const TypeId& declaring_klass, in FindMethodId()
286 const MethodId& method = GetMethodId(mid); in FindMethodId()
526 const MethodId& method_id = GetMethodId(method_idx); in PrettyMethod()
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()
Ddexlayout.cc424 dex_ir::MethodId* method_id = header->MethodIds()[index]; in IndexString()
457 dex_ir::MethodId* method_id = header->MethodIds()[index]; in IndexString()
551 dex_ir::MethodId* method_id = data->GetMethodId(); in DumpEncodedValue()
741 const dex_ir::MethodId* method_id = method->GetMethodId(); in DumpClassAnnotations()
752 const dex_ir::MethodId* method_id = parameter->GetMethodId(); in DumpClassAnnotations()
1028 dex_ir::MethodId* method_id = header_->MethodIds()[idx]; in DumpBytecodes()
1170 dex_ir::MethodId* method_id = header_->MethodIds()[idx]; in DumpMethod()
1647 const dex_ir::MethodId* method_id = method.GetMethodId(); in LayoutStringData()
1678 for (dex_ir::MethodId* id : fixups->MethodIds()) { in LayoutStringData()
1754 const dex_ir::MethodId *method_id = method.GetMethodId(); in LayoutCodeItems()
/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/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/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.cc193 const dex::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature()
195 const dex::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
199 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
246 const dex::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile()
247 const dex::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
256 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()
295 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod()
372 const dex::MethodId& method_id = referrer->GetDexFile()->GetMethodId(method_idx); in ResolveMethod()
/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