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

12

/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.cc1411 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 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-inl.h41 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const {
42 return Signature(this, GetProtoId(method_id.proto_idx_));
H A Ddex_file.h644 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 Dart_method-inl.h376 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 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_,
338 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex()); local
339 const auto& proto_id = dex_file->GetMethodPrototype(method_id);
H A Ddex_file_verifier_test.cc222 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 Ddebugger.h367 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 Ddebugger.cc1366 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 Dutils.cc380 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 Dclass_linker.cc3148 const DexFile::MethodId& method_id = dex_file.GetMethodId(dex_method_idx); local
3149 const char* method_name = dex_file.StringDataByIdx(method_id.name_idx_);
3163 if (strcmp("V", dex_file.GetShorty(method_id.proto_idx_)) == 0) {
4826 const DexFile::MethodId& method_id = dex_file->GetMethodId(m->GetDexMethodIndex()); local
4827 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
7624 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local
7625 mirror::Class* klass = ResolveType(dex_file, method_id.class_idx_, dex_cache, class_loader);
7686 const char* name = dex_file.StringDataByIdx(method_id.name_idx_);
7687 const Signature signature = dex_file.GetMethodSignature(method_id);
7722 const char* name = dex_file.StringDataByIdx(method_id
7821 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local
7921 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); local
[all...]
H A Ddex_file_verifier.cc1666 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 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.cc46 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 Djdwp_main.cc636 << 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 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
414 std::string DescribeMethod(const MethodId& method_id) SHARED_REQUIRES(Locks::mutator_lock_);
/art/test/004-JniTest/
H A Djni_test.cc696 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 Dmethod_verifier.cc694 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 Ddex_file_method_inliner.cc801 const DexFile::MethodId* method_id = local
805 if (method_id == nullptr) {
808 return dex_file->GetIndexForMethodId(*method_id);
/art/runtime/interpreter/
H A Dinterpreter.cc496 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 Ddalvik_system_VMRuntime.cc365 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 Dinline_method_analyser.cc530 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);

Completed in 2450 milliseconds

12