Searched refs:method_id (Results 1 - 25 of 27) sorted by relevance

12

/art/compiler/driver/
H A Ddex_compilation_unit.h73 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local
74 return dex_file_->GetMethodShorty(method_id);
78 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local
79 return dex_file_->GetMethodShorty(method_id, shorty_len);
H A Dcompiler_driver.cc1078 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); local
1080 *equals_referrers_class = (method_id.class_idx_ == type_idx);
1082 mirror::Class* referrer_class = dex_cache->GetResolvedType(method_id.class_idx_);
1115 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); local
1116 mirror::Class* referrer_class = dex_cache->GetResolvedType(method_id.class_idx_);
/art/runtime/jit/
H A Djit_instrumentation.cc68 jmethodID method_id = soa.EncodeMethod(method); local
70 auto it = samples_.find(method_id);
84 jmethodID method_id = soa.EncodeMethod(method); local
89 auto it = samples_.find(method_id);
95 samples_.insert(std::make_pair(method_id, count));
/art/runtime/
H A Ddex_file_test.cc245 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 Ddex_file.h610 uint32_t GetIndexForMethodId(const MethodId& method_id) const {
611 CHECK_GE(&method_id, method_ids_) << GetLocation();
612 CHECK_LT(&method_id, method_ids_ + header_->method_ids_size_) << GetLocation();
613 return &method_id - method_ids_;
622 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const {
623 const DexFile::TypeId& type_id = GetTypeId(method_id.class_idx_);
628 const ProtoId& GetMethodPrototype(const MethodId& method_id) const {
629 return GetProtoId(method_id.proto_idx_);
633 const Signature GetMethodSignature(const MethodId& method_id) const;
636 const char* GetMethodName(const MethodId& method_id) cons
644 GetMethodShorty(const MethodId& method_id, uint32_t* length) const argument
[all...]
H A Ddex_file-inl.h41 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const {
42 return Signature(this, GetProtoId(method_id.proto_idx_));
H A Dart_method-inl.h426 const DexFile::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); local
427 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
477 const DexFile::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); local
478 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
H A Dart_method.cc63 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); local
64 return Runtime::Current()->GetClassLinker()->ResolveString(*dex_file, method_id.name_idx_,
540 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex()); local
541 const auto& proto_id = dex_file->GetMethodPrototype(method_id);
H A Ddebugger.h386 static std::string GetMethodName(JDWP::MethodId method_id)
397 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id,
403 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value,
409 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id,
639 JDWP::MethodId method_id, uint32_t arg_count,
H A Dutils.cc376 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local
377 std::string result(PrettyDescriptor(dex_file.GetMethodDeclaringClassDescriptor(method_id)));
379 result += dex_file.GetMethodName(method_id);
381 const Signature signature = dex_file.GetMethodSignature(method_id);
H A Ddebugger.cc1422 ArtMethod* m = FromMethodId(expected_location.method_id);
1461 location->method_id = ToMethodId(m);
1466 std::string Dbg::GetMethodName(JDWP::MethodId method_id) { argument
1467 ArtMethod* m = FromMethodId(method_id);
1623 void Dbg::OutputLineTable(JDWP::RefTypeId, JDWP::MethodId method_id, JDWP::ExpandBuf* pReply) { argument
1636 ArtMethod* m = FromMethodId(method_id);
1668 void Dbg::OutputVariableTable(JDWP::RefTypeId, JDWP::MethodId method_id, bool with_generic, argument
1700 ArtMethod* m = FromMethodId(method_id);
1727 void Dbg::OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value, argument
1729 ArtMethod* m = FromMethodId(method_id);
1741 GetBytecodes(JDWP::RefTypeId, JDWP::MethodId method_id, std::vector<uint8_t>* bytecodes) argument
3839 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 Dclass_linker.cc2387 const DexFile::MethodId& method_id = dex_file.GetMethodId(dex_method_idx); local
2388 const char* method_name = dex_file.StringDataByIdx(method_id.name_idx_);
2402 if (strcmp("V", dex_file.GetShorty(method_id.proto_idx_)) == 0) {
3801 const DexFile::MethodId& method_id = dex_file->GetMethodId(m->GetDexMethodIndex()); local
3802 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
5349 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local
5350 mirror::Class* klass = ResolveType(dex_file, method_id.class_idx_, dex_cache, class_loader);
5377 const char* name = dex_file.StringDataByIdx(method_id.name_idx_);
5378 const Signature signature = dex_file.GetMethodSignature(method_id);
5407 const char* name = dex_file.StringDataByIdx(method_id
5570 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local
[all...]
/art/dalvikvm/
H A Ddalvikvm.cc32 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 Djdwp_handler.cc45 std::string DescribeMethod(const MethodId& method_id) { argument
46 return StringPrintf("%#" PRIx64 " (%s)", method_id, Dbg::GetMethodName(method_id).c_str());
86 RefTypeId class_id, MethodId method_id, bool is_constructor)
94 VLOG(jdwp) << StringPrintf(" class_id=%#" PRIx64 " method_id=%#" PRIx64 " %s.%s",
95 class_id, method_id, Dbg::GetClassName(class_id).c_str(),
96 Dbg::GetMethodName(method_id).c_str());
115 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
698 MethodId method_id = request->ReadMethodId(); local
709 MethodId method_id = request->ReadMethodId(); local
732 MethodId method_id = request->ReadMethodId(); local
829 MethodId method_id = request->ReadMethodId(); local
[all...]
H A Djdwp_main.cc634 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id)
640 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id &&
H A Djdwp_expand_buf.cc182 expandBufAddMethodId(buf, location.method_id);
H A Djdwp_request.cc148 location.method_id = ReadMethodId();
H A Djdwp.h87 MethodId method_id; member in struct:art::JDWP::JdwpLocation
419 std::string DescribeMethod(const MethodId& method_id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
H A Djdwp_event.cc912 Dbg::OutputMethodReturnValue(jdwp_location.method_id, returnValue, pReq);
/art/runtime/quick/
H A Dinline_method_analyser.cc135 const DexFile::MethodId& method_id = ref.dex_file->GetMethodId(ref.dex_method_index); local
136 const char* method_name = ref.dex_file->GetMethodName(method_id);
/art/runtime/verifier/
H A Dmethod_verifier.cc2420 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local
2421 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2445 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local
2446 is_constructor = strcmp("<init>", dex_file_->StringDataByIdx(method_id.name_idx_)) == 0;
2447 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2526 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local
2527 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2583 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local
2584 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
3235 const DexFile::MethodId& method_id local
4330 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local
4342 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local
[all...]
/art/compiler/dex/quick/
H A Ddex_file_method_inliner.cc794 const DexFile::MethodId* method_id = local
798 if (method_id == nullptr) {
801 return dex_file->GetIndexForMethodId(*method_id);
H A Dcodegen_util.cc373 const DexFile::MethodId& method_id = local
375 const Signature signature = cu_->dex_file->GetMethodSignature(method_id);
376 const char* name = cu_->dex_file->GetMethodName(method_id);
377 const char* descriptor(cu_->dex_file->GetMethodDeclaringClassDescriptor(method_id));
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc358 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); local
359 mirror::Class* klass = dex_cache->GetResolvedType(method_id.class_idx_);
/art/compiler/dex/
H A Dtype_inference.cc632 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); local
633 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
641 param_types[0] = Type::DexType(dex_file, method_id.class_idx_);

Completed in 366 milliseconds

12