Home
last modified time | relevance | path

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

123

/aosp12/art/dexlayout/
H A Ddex_ir.h57 class MethodId; variable
554 IndexedCollectionVector<MethodId> method_ids_;
697 class MethodId : public IndexedItem {
701 ~MethodId() override { } in ~MethodId()
716 DISALLOW_COPY_AND_ASSIGN(MethodId);
757 const MethodId* method_id_;
823 MethodId* method_val_;
1015 std::vector<MethodId*> method_ids, in CodeFixups()
1030 std::vector<MethodId*> method_ids_;
1183 MethodId* method_id_;
[all …]
H A 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()
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()
1227 MethodId* method_id = header_->MethodIds()[method.GetIndex()]; in GenerateMethodItem()
[all …]
H A Ddex_verify.h41 bool VerifyId(dex_ir::MethodId* orig, dex_ir::MethodId* output, std::string* error_msg);
H A 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()
H A 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()
/aosp12/art/libdexfile/dex/
H A 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()
H A 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;
412 const char* GetMethodShorty(const dex::MethodId& method_id) const;
413 const char* GetMethodShorty(const dex::MethodId& method_id, uint32_t* length) const;
[all …]
H A 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()
H A 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()
H A 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()
H A Ddex_file_structs.h89 struct MethodId { struct
95 DISALLOW_COPY_AND_ASSIGN(MethodId); argument
H A 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()
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()
3012 const dex::MethodId& method = dex_file_->GetMethodId(it->GetIndex()); in CheckInterClassDataItem()
[all …]
H A 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()
/aosp12/art/tools/veridex/
H A 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()
H A Dhidden_api.cc75 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
/aosp12/art/compiler/driver/
H A 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()
/aosp12/art/test/980-redefine-object/
H A 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()
/aosp12/art/test/163-app-image-methods/
H A Dinfo.txt2 when the class from the corresponding MethodId is not in the app image, only the
/aosp12/art/test/164-resolution-trampoline-dex-cache/
H A Dinfo.txt2 ArtMethod to a DexCache for a MethodId referencing a class missing from the
/aosp12/art/runtime/
H A 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()
H A 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()
H A Dimtable-inl.h49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
/aosp12/art/runtime/mirror/
H A 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()
/aosp12/art/test/601-method-access/smali/
H A DSubClassUsingInaccessibleMethod.smali27 # using this very class as the declaring class in the MethodId, bug: 28771056.
/aosp12/art/dex2oat/driver/
H A Dcompiler_driver-inl.h60 const dex::MethodId& referrer_method_id = in ResolveCompilingMethodsClass()

123