Searched defs:method_id (Results 1 - 23 of 23) sorted by relevance

/art/runtime/
H A Dmethod_helper-inl.h59 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); local
60 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
H A Dmethod_helper.cc32 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); local
35 return Runtime::Current()->GetClassLinker()->ResolveString(*dex_file, method_id.name_idx_,
H A Ddex_file_test.cc241 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); local
242 const char* name = raw->StringDataByIdx(method_id.name_idx_);
244 std::string signature(raw->GetMethodSignature(method_id).ToString());
252 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); local
254 const char* name = raw->StringDataByIdx(method_id.name_idx_);
257 std::string signature(raw->GetMethodSignature(method_id).ToString());
263 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); local
265 const char* name = raw->StringDataByIdx(method_id.name_idx_);
268 std::string signature(raw->GetMethodSignature(method_id).ToString());
H A Dutils.cc395 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local
396 std::string result(PrettyDescriptor(dex_file.GetMethodDeclaringClassDescriptor(method_id)));
398 result += dex_file.GetMethodName(method_id);
400 const Signature signature = dex_file.GetMethodSignature(method_id);
H A Ddex_file.h590 uint32_t GetIndexForMethodId(const MethodId& method_id) const {
591 CHECK_GE(&method_id, method_ids_) << GetLocation();
592 CHECK_LT(&method_id, method_ids_ + header_->method_ids_size_) << GetLocation();
593 return &method_id - method_ids_;
602 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const {
603 const DexFile::TypeId& type_id = GetTypeId(method_id.class_idx_);
608 const ProtoId& GetMethodPrototype(const MethodId& method_id) const {
609 return GetProtoId(method_id.proto_idx_);
613 const Signature GetMethodSignature(const MethodId& method_id) const;
616 const char* GetMethodName(const MethodId& method_id) cons
624 GetMethodShorty(const MethodId& method_id, uint32_t* length) const argument
[all...]
H A Dclass_linker.cc2847 const DexFile::MethodId& method_id = dex_file.GetMethodId(dex_method_idx); local
2848 const char* method_name = dex_file.StringDataByIdx(method_id.name_idx_);
2870 if (strcmp("V", dex_file.GetShorty(method_id.proto_idx_)) == 0) {
5233 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local
5234 mirror::Class* klass = ResolveType(dex_file, method_id.class_idx_, dex_cache, class_loader);
5259 const char* name = dex_file.StringDataByIdx(method_id.name_idx_);
5260 const Signature signature = dex_file.GetMethodSignature(method_id);
5288 const char* name = dex_file.StringDataByIdx(method_id.name_idx_);
5289 const Signature signature = dex_file.GetMethodSignature(method_id);
5452 const DexFile::MethodId& method_id local
[all...]
H A Ddebugger.cc1454 mirror::ArtMethod* m = FromMethodId(expected_location.method_id);
1490 location->method_id = ToMethodId(m);
1495 std::string Dbg::GetMethodName(JDWP::MethodId method_id)
1497 mirror::ArtMethod* m = FromMethodId(method_id);
1641 void Dbg::OutputLineTable(JDWP::RefTypeId, JDWP::MethodId method_id, JDWP::ExpandBuf* pReply)
1655 mirror::ArtMethod* m = FromMethodId(method_id);
1687 void Dbg::OutputVariableTable(JDWP::RefTypeId, JDWP::MethodId method_id, bool with_generic, argument
1719 mirror::ArtMethod* m = FromMethodId(method_id);
1746 void Dbg::OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value, argument
1748 mirror::ArtMethod* m = FromMethodId(method_id);
3473 InvokeMethod(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, JDWP::JdwpTag* pResultTag, uint64_t* pResultValue, JDWP::ObjectId* pExceptionId) argument
[all...]
/art/compiler/sea_ir/types/
H A Dtype_inference.cc42 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local
43 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(method_id.class_idx_));
52 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local
53 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(method_id.class_idx_));
58 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local
59 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
/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/compiler/driver/
H A Ddex_compilation_unit.h72 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 Dcompiler_driver.cc874 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); local
876 *equals_referrers_class = (method_id.class_idx_ == type_idx);
878 mirror::Class* referrer_class = dex_cache->GetResolvedType(method_id.class_idx_);
911 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); local
912 mirror::Class* referrer_class = dex_cache->GetResolvedType(method_id.class_idx_);
/art/compiler/jni/portable/
H A Djni_compiler.cc67 DexFile::MethodId const& method_id = member in class:art::llvm::DexFile
69 char const return_shorty = dex_file->GetMethodShorty(method_id)[0];
/art/runtime/quick/
H A Dinline_method_analyser.cc139 const DexFile::MethodId& method_id = ref.dex_file->GetMethodId(ref.dex_method_index); local
140 const char* method_name = ref.dex_file->GetMethodName(method_id);
/art/runtime/jdwp/
H A Djdwp.h84 MethodId method_id; member in struct:art::JDWP::JdwpLocation
387 std::string DescribeMethod(const MethodId& method_id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
H A Djdwp_handler.cc44 std::string DescribeMethod(const MethodId& method_id) { argument
45 return StringPrintf("%#x (%s)", method_id, Dbg::GetMethodName(method_id).c_str());
96 RefTypeId class_id, MethodId method_id, bool is_constructor)
104 VLOG(jdwp) << StringPrintf(" class_id=%#" PRIx64 " method_id=%x %s.%s", class_id,
105 method_id, Dbg::GetClassName(class_id).c_str(),
106 Dbg::GetMethodName(method_id).c_str());
127 JdwpError err = Dbg::InvokeMethod(thread_id, object_id, class_id, method_id, arg_count, argValues.get(), argTypes.get(), options, &resultTag, &resultValue, &exceptObjId);
692 MethodId method_id = request.ReadMethodId(); local
694 return FinishInvoke(state, request, pReply, thread_id, 0, class_id, method_id, fals
708 MethodId method_id = request.ReadMethodId(); local
748 MethodId method_id = request.ReadMethodId(); local
759 MethodId method_id = request.ReadMethodId(); local
782 MethodId method_id = request.ReadMethodId(); local
878 MethodId method_id = request.ReadMethodId(); local
[all...]
/art/compiler/dex/quick/
H A Ddex_file_method_inliner.cc666 const DexFile::MethodId* method_id = local
670 if (method_id == nullptr) {
673 return dex_file->GetIndexForMethodId(*method_id);
H A Dcodegen_util.cc343 const DexFile::MethodId& method_id = local
345 const Signature signature = cu_->dex_file->GetMethodSignature(method_id);
346 const char* name = cu_->dex_file->GetMethodName(method_id);
347 const char* descriptor(cu_->dex_file->GetMethodDeclaringClassDescriptor(method_id));
/art/compiler/optimizing/
H A Dbuilder.cc328 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local
329 const DexFile::ProtoId& proto_id = dex_file_->GetProtoId(method_id.proto_idx_);
/art/runtime/mirror/
H A Dart_method-inl.h502 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); local
503 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc309 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); local
310 mirror::Class* klass = dex_cache->GetResolvedType(method_id.class_idx_);
/art/compiler/dex/
H A Dmir_graph.cc1403 const DexFile::MethodId& method_id = cu_->dex_file->GetMethodId(target_idx); local
1404 return cu_->dex_file->GetShorty(method_id.proto_idx_);
/art/runtime/verifier/
H A Dmethod_verifier.cc2210 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local
2211 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2233 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local
2234 is_constructor = strcmp("<init>", dex_file_->StringDataByIdx(method_id.name_idx_)) == 0;
2235 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2316 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local
2317 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2374 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); local
2375 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
3003 const DexFile::MethodId& method_id local
4062 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local
4074 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); local
[all...]
/art/compiler/llvm/
H A Dgbc_expander.cc2667 art::DexFile::MethodId const& method_id = member in class:__anon21::art::DexFile
2671 const char* shorty = dex_compilation_unit_->GetDexFile()->GetMethodShorty(method_id, &shorty_size);

Completed in 1491 milliseconds