/art/libdexfile/dex/ |
D | method_reference.h | 34 const DexFile::MethodId& GetMethodId() const { in GetMethodId() 53 const DexFile::MethodId& mid1 = mr1.GetMethodId(); in SlowCompare() 54 const DexFile::MethodId& mid2 = mr2.GetMethodId(); in SlowCompare()
|
D | dex_file.h | 190 struct MethodId { struct 196 DISALLOW_COPY_AND_ASSIGN(MethodId); argument 592 const MethodId& GetMethodId(uint32_t idx) const { in GetMethodId() 597 uint32_t GetIndexForMethodId(const MethodId& method_id) const { in GetIndexForMethodId() 604 const MethodId* FindMethodId(const DexFile::TypeId& declaring_klass, 609 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const; 612 const ProtoId& GetMethodPrototype(const MethodId& method_id) const { in GetMethodPrototype() 617 const Signature GetMethodSignature(const MethodId& method_id) const; 623 const char* GetMethodName(const MethodId& method_id) const; 629 const char* GetMethodShorty(const MethodId& method_id) const; [all …]
|
D | dex_file-inl.h | 92 inline const char* DexFile::GetMethodDeclaringClassDescriptor(const MethodId& method_id) const { in GetMethodDeclaringClassDescriptor() 97 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const { in GetMethodSignature() 105 inline const char* DexFile::GetMethodName(const MethodId& method_id) const { in GetMethodName() 113 inline const char* DexFile::GetMethodShorty(const MethodId& method_id) const { in GetMethodShorty() 117 inline const char* DexFile::GetMethodShorty(const MethodId& method_id, uint32_t* length) const { in GetMethodShorty()
|
D | dex_file_verifier.cc | 123 (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); \ 687 (reinterpret_cast<const DexFile::MethodId*>(begin_ + header_->method_ids_off_) + idx)-> in CheckClassDataItemMethod() 964 (reinterpret_cast<const DexFile::MethodId*>(begin_ + header_->method_ids_off_) + index)-> in FindClassIndexAndDef() 1674 if (!CheckListSize(ptr_, 1, sizeof(DexFile::MethodId), "method_ids")) { in CheckIntraSectionIterate() 1677 ptr_ += sizeof(DexFile::MethodId); in CheckIntraSectionIterate() 2205 const DexFile::MethodId* item = reinterpret_cast<const DexFile::MethodId*>(ptr_); in CheckInterMethodIdItem() 2230 const DexFile::MethodId* prev_item = reinterpret_cast<const DexFile::MethodId*>(previous_item_); in CheckInterMethodIdItem() 2247 ptr_ += sizeof(DexFile::MethodId); in CheckInterMethodIdItem() [all …]
|
D | dex_file_verifier_test.cc | 147 TEST_F(DexFileVerifierTest, MethodId) { in TEST_F() argument 153 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F() 163 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F() 173 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
|
/art/dexlayout/ |
D | dex_ir.h | 55 class MethodId; variable 88 virtual void Dispatch(const MethodId* method_id) = 0; 214 CollectionVector<MethodId>::Vector& MethodIds() { return method_ids_.Collection(); } in MethodIds() 284 MethodId* GetMethodId(uint32_t index) { in GetMethodId() 426 ParameterAnnotation* GenerateParameterAnnotation(const DexFile& dex_file, MethodId* method_id, 435 IndexedCollectionVector<MethodId> method_ids_; 719 class MethodId : public IndexedItem { 721 MethodId(const TypeId* klass, const ProtoId* proto, const StringId* name) in MethodId() function 723 ~MethodId() OVERRIDE { } in ~MethodId() 738 DISALLOW_COPY_AND_ASSIGN(MethodId); [all …]
|
D | dex_ir.cc | 97 std::vector<MethodId*>* method_ids, in GetIdFromInstruction() 170 std::vector<MethodId*>* method_ids, in GetIdsFromByteCode() 354 const DexFile::MethodId& disk_method_id = dex_file.GetMethodId(i); in CreateMethodId() 355 MethodId* method_id = new MethodId(GetTypeId(disk_method_id.class_idx_.index_), in CreateMethodId() 358 AddIndexedItem(method_ids_, method_id, MethodIdsOffset() + i * MethodId::ItemSize(), i); in CreateMethodId() 517 MethodId* method_id = GetMethodId(methods[i].method_idx_); in CreateAnnotationsDirectoryItem() 533 MethodId* method_id = GetMethodId(parameters[i].method_idx_); in CreateAnnotationsDirectoryItem() 551 const DexFile& dex_file, MethodId* method_id, in GenerateParameterAnnotation() 703 std::vector<MethodId*> method_ids; in DedupeOrCreateCodeItem() 722 MethodId* method_id = GetMethodId(cdii.GetMemberIndex()); in GenerateMethodItem()
|
D | dex_verify.h | 41 bool VerifyId(dex_ir::MethodId* orig, dex_ir::MethodId* output, std::string* error_msg);
|
D | dex_visualize.cc | 163 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/ |
D | dex_compilation_unit.h | 73 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty() 78 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
|
D | compiler_driver-inl.h | 60 const DexFile::MethodId& referrer_method_id = in ResolveCompilingMethodsClass()
|
/art/runtime/jdwp/ |
D | jdwp.h | 60 typedef uint64_t MethodId; /* any kind of method, including constructors */ typedef 68 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set8BE(buf, val); } in SetMethodId() 73 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, i… in expandBufAddMethodId() 89 MethodId method_id; 423 std::string DescribeMethod(const MethodId& method_id) REQUIRES_SHARED(Locks::mutator_lock_); 442 MethodId ReadMethodId() REQUIRES_SHARED(Locks::mutator_lock_);
|
D | jdwp_request.cc | 96 MethodId Request::ReadMethodId() { in ReadMethodId() 97 MethodId id = Read8BE(); in ReadMethodId()
|
D | jdwp_handler.cc | 49 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/ |
D | info.txt | 2 when the class from the corresponding MethodId is not in the app image, only the
|
/art/test/164-resolution-trampoline-dex-cache/ |
D | info.txt | 2 ArtMethod to a DexCache for a MethodId referencing a class missing from the
|
/art/tools/veridex/ |
D | resolver.cc | 60 const DexFile::MethodId& method_id, in HasSameNameAndSignature() 68 const DexFile::MethodId& method_id, in HasSameNameAndSignature() 156 const DexFile::MethodId& other_method_id = other_dex_file.GetMethodId(it.GetMemberIndex()); in LookupMethodIn() 268 const DexFile::MethodId& other_method_id = other_dex_file.GetMethodId(it.GetMemberIndex()); in LookupDeclaredMethodIn() 284 const DexFile::MethodId& method_id = dex_file_.GetMethodId(method_index); in GetMethod()
|
D | hidden_api.cc | 28 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
|
/art/runtime/ |
D | art_method.cc | 151 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); in GetNameAsString() 199 const DexFile::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature() 201 const DexFile::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() 205 const DexFile::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() 252 const DexFile::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile() 253 const DexFile::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile() 262 const DexFile::MethodId* other_mid = other_dexfile.FindMethodId( in FindDexMethodIndexInOtherDexFile()
|
D | imtable-inl.h | 49 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
|
D | debugger.h | 394 static std::string GetMethodName(JDWP::MethodId method_id) 396 static bool IsMethodObsolete(JDWP::MethodId method_id) 407 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id, 410 static void OutputVariableTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId id, bool with_generic, 413 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value, 419 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id, 638 JDWP::MethodId method_id, uint32_t arg_count,
|
/art/test/601-method-access/smali/ |
D | SubClassUsingInaccessibleMethod.smali | 27 # using this very class as the declaring class in the MethodId, bug: 28771056.
|
/art/runtime/mirror/ |
D | dex_cache_test.cc | 149 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/runtime/dex/ |
D | art_dex_file_loader_test.cc | 130 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F() 203 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F() 265 const DexFile::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F() 269 const DexFile::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature); in TEST_F()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 141 const DexFile::MethodId& mid = GetMethodId(); in GetApiEntry() 153 inline const DexFile::MethodId& GetMethodId() const { in GetMethodId()
|