/art/compiler/driver/ |
H A D | dex_compilation_unit.h | 72 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local 73 return dex_file_->GetMethodShorty(method_id); 77 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local 78 return dex_file_->GetMethodShorty(method_id, shorty_len);
|
H A D | compiler_driver.cc | 1411 const DexFile::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(referrer_idx); local 1414 mirror::Class* referrer_class = dex_cache->GetResolvedType(method_id.class_idx_); 1444 const DexFile::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(referrer_idx); local 1447 mirror::Class* referrer_class = dex_cache->GetResolvedType(method_id.class_idx_);
|
/art/runtime/ |
H A D | dex_file_test.cc | 245 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); local 246 const char* name = raw->StringDataByIdx(method_id.name_idx_); 248 std::string signature(raw->GetMethodSignature(method_id).ToString()); 256 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); local 258 const char* name = raw->StringDataByIdx(method_id.name_idx_); 261 std::string signature(raw->GetMethodSignature(method_id).ToString()); 267 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); local 269 const char* name = raw->StringDataByIdx(method_id.name_idx_); 272 std::string signature(raw->GetMethodSignature(method_id).ToString());
|
H A D | dex_file-inl.h | 41 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const { 42 return Signature(this, GetProtoId(method_id.proto_idx_));
|
H A D | dex_file.h | 644 uint32_t GetIndexForMethodId(const MethodId& method_id) const { 645 CHECK_GE(&method_id, method_ids_) << GetLocation(); 646 CHECK_LT(&method_id, method_ids_ + header_->method_ids_size_) << GetLocation(); 647 return &method_id - method_ids_; 656 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const { 657 const DexFile::TypeId& type_id = GetTypeId(method_id.class_idx_); 662 const ProtoId& GetMethodPrototype(const MethodId& method_id) const { 663 return GetProtoId(method_id.proto_idx_); 667 const Signature GetMethodSignature(const MethodId& method_id) const; 670 const char* GetMethodName(const MethodId& method_id) cons 683 GetMethodShorty(const MethodId& method_id, uint32_t* length) const argument [all...] |
H A D | art_method-inl.h | 376 const DexFile::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); local 377 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); 430 const DexFile::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); local 431 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
|
H A D | art_method.cc | 63 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); local 64 return Runtime::Current()->GetClassLinker()->ResolveString(*dex_file, method_id.name_idx_, 338 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex()); local 339 const auto& proto_id = dex_file->GetMethodPrototype(method_id);
|
H A D | dex_file_verifier_test.cc | 222 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); 223 method_id->class_idx_ = 0xFF; 232 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); 233 method_id->proto_idx_ = 0xFF; 242 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); 243 method_id->name_idx_ = 0xFF; 701 auto* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(method_idx)); 702 method_id->name_idx_ = dex_file->NumStringIds();
|
H A D | debugger.h | 367 static std::string GetMethodName(JDWP::MethodId method_id) 378 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id, 384 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value, 390 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id, 615 JDWP::MethodId method_id, uint32_t arg_count,
|
H A D | debugger.cc | 1366 ArtMethod* m = FromMethodId(expected_location.method_id); 1402 location->method_id = ToMethodId(m); 1407 std::string Dbg::GetMethodName(JDWP::MethodId method_id) { argument 1408 ArtMethod* m = FromMethodId(method_id); 1561 void Dbg::OutputLineTable(JDWP::RefTypeId, JDWP::MethodId method_id, JDWP::ExpandBuf* pReply) { argument 1574 ArtMethod* m = FromMethodId(method_id); 1605 void Dbg::OutputVariableTable(JDWP::RefTypeId, JDWP::MethodId method_id, bool with_generic, argument 1638 ArtMethod* m = FromMethodId(method_id); 1665 void Dbg::OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value, argument 1667 ArtMethod* m = FromMethodId(method_id); 1679 GetBytecodes(JDWP::RefTypeId, JDWP::MethodId method_id, std::vector<uint8_t>* bytecodes) argument 3845 PrepareInvokeMethod(uint32_t request_id, JDWP::ObjectId thread_id, JDWP::ObjectId object_id, JDWP::RefTypeId class_id, JDWP::MethodId method_id, uint32_t arg_count, uint64_t arg_values[], JDWP::JdwpTag* arg_types, uint32_t options) argument [all...] |
H A D | utils.cc | 380 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local 381 std::string result(PrettyDescriptor(dex_file.GetMethodDeclaringClassDescriptor(method_id))); 383 result += dex_file.GetMethodName(method_id); 385 const Signature signature = dex_file.GetMethodSignature(method_id); 1818 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); local 1820 const DexFile::ClassDef* class_def = dex_file->FindClassDef(method_id.class_idx_);
|
H A D | class_linker.cc | 3140 const DexFile::MethodId& method_id = dex_file.GetMethodId(dex_method_idx); local 3141 const char* method_name = dex_file.StringDataByIdx(method_id.name_idx_); 3155 if (strcmp("V", dex_file.GetShorty(method_id.proto_idx_)) == 0) { 4818 const DexFile::MethodId& method_id = dex_file->GetMethodId(m->GetDexMethodIndex()); local 4819 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); 7616 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local 7617 mirror::Class* klass = ResolveType(dex_file, method_id.class_idx_, dex_cache, class_loader); 7678 const char* name = dex_file.StringDataByIdx(method_id.name_idx_); 7679 const Signature signature = dex_file.GetMethodSignature(method_id); 7714 const char* name = dex_file.StringDataByIdx(method_id 7813 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local 7913 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local [all...] |
H A D | dex_file_verifier.cc | 1666 LOAD_METHOD(method, it.GetMemberIndex(), "first_class_data_definer method_id", 2155 LOAD_METHOD(method, it.GetMemberIndex(), "inter_class_data_item method_id", return false) 2202 LOAD_METHOD(method, method_item->method_idx_, "inter_annotations_directory_item method_id", 2220 "inter_annotations_directory_item parameter method_id", return false) 2479 const DexFile::MethodId* method_id = local 2484 std::string class_name = GetClassOrError(begin, header, method_id->class_idx_); 2485 std::string method_name = GetStringOrError(begin, header, method_id->name_idx_);
|
/art/dalvikvm/ |
H A D | dalvikvm.cc | 32 static bool IsMethodPublic(JNIEnv* env, jclass c, jmethodID method_id) { argument 33 ScopedLocalRef<jobject> reflected(env, env->ToReflectedMethod(c, method_id, JNI_FALSE));
|
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 46 std::string DescribeMethod(const MethodId& method_id) { argument 47 return StringPrintf("%#" PRIx64 " (%s)", method_id, Dbg::GetMethodName(method_id).c_str()); 87 RefTypeId class_id, MethodId method_id, bool is_constructor) 95 VLOG(jdwp) << StringPrintf(" class_id=%#" PRIx64 " method_id=%#" PRIx64 " %s.%s", 96 class_id, method_id, Dbg::GetClassName(class_id).c_str(), 97 Dbg::GetMethodName(method_id).c_str()); 116 class_id, method_id, arg_count, 647 MethodId method_id = request->ReadMethodId(); local 649 return RequestInvoke(state, request, thread_id, 0, class_id, method_id, fals 664 MethodId method_id = request->ReadMethodId(); local 700 MethodId method_id = request->ReadMethodId(); local 711 MethodId method_id = request->ReadMethodId(); local 722 MethodId method_id = request->ReadMethodId(); local 745 MethodId method_id = request->ReadMethodId(); local 851 MethodId method_id = request->ReadMethodId(); local [all...] |
H A D | jdwp_main.cc | 636 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id) 642 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id &&
|
H A D | jdwp_expand_buf.cc | 182 expandBufAddMethodId(buf, location.method_id);
|
H A D | jdwp_request.cc | 148 location.method_id = ReadMethodId();
|
H A D | jdwp.h | 87 MethodId method_id; member in struct:art::JDWP::JdwpLocation 414 std::string DescribeMethod(const MethodId& method_id) SHARED_REQUIRES(Locks::mutator_lock_);
|
/art/test/004-JniTest/ |
H A D | jni_test.cc | 696 jmethodID method_id = env_->GetMethodID(decl_class, method, "()V"); local 699 env_->CallVoidMethod(obj, method_id); 728 jmethodID method_id = env->GetMethodID(lambda_class, method, "()V"); local 730 env->CallVoidMethod(obj, method_id);
|
/art/runtime/verifier/ |
H A D | method_verifier.cc | 694 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local 695 const char* method_name = dex_file_->StringDataByIdx(method_id.name_idx_); 2856 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local 2857 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; 2878 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local 2879 is_constructor = strcmp("<init>", dex_file_->StringDataByIdx(method_id.name_idx_)) == 0; 2880 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; 2955 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local 2956 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; 3009 const DexFile::MethodId& method_id local 3745 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx); local 4979 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local 4991 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local [all...] |
/art/compiler/dex/quick/ |
H A D | dex_file_method_inliner.cc | 801 const DexFile::MethodId* method_id = local 805 if (method_id == nullptr) { 808 return dex_file->GetIndexForMethodId(*method_id);
|
/art/runtime/interpreter/ |
H A D | interpreter.cc | 496 const DexFile::MethodId& method_id = dex_file->GetMethodId(callee_method_idx); local 497 const char* class_name = dex_file->StringByTypeIdx(method_id.class_idx_); 498 const char* method_name = dex_file->GetMethodName(method_id);
|
/art/runtime/native/ |
H A D | dalvik_system_VMRuntime.cc | 365 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); local 366 mirror::Class* klass = dex_cache->GetResolvedType(method_id.class_idx_);
|
/art/runtime/quick/ |
H A D | inline_method_analyser.cc | 530 const DexFile::MethodId& method_id = ref.dex_file->GetMethodId(ref.dex_method_index); local 531 const char* method_name = ref.dex_file->GetMethodName(method_id);
|