Home
last modified time | relevance | path

Searched refs:method_id (Results 1 – 25 of 29) sorted by relevance

12

/art/compiler/driver/
Ddex_compilation_unit.h72 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty() local
73 return dex_file_->GetMethodShorty(method_id); in GetShorty()
77 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty() local
78 return dex_file_->GetMethodShorty(method_id, shorty_len); in GetShorty()
Dcompiler_driver.cc891 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); in CanAccessTypeWithoutChecks() local
893 *equals_referrers_class = (method_id.class_idx_ == type_idx); in CanAccessTypeWithoutChecks()
895 mirror::Class* referrer_class = dex_cache->GetResolvedType(method_id.class_idx_); in CanAccessTypeWithoutChecks()
928 const DexFile::MethodId& method_id = dex_file.GetMethodId(referrer_idx); in CanAccessInstantiableTypeWithoutChecks() local
929 mirror::Class* referrer_class = dex_cache->GetResolvedType(method_id.class_idx_); in CanAccessInstantiableTypeWithoutChecks()
/art/compiler/sea_ir/types/
Dtype_inference.cc42 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in FunctionTypeInfo() local
43 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(method_id.class_idx_)); in FunctionTypeInfo()
52 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in FunctionTypeInfo() local
53 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(method_id.class_idx_)); in FunctionTypeInfo()
58 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetReturnValueType() local
59 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in GetReturnValueType()
/art/runtime/
Ddex_file_test.cc244 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F() local
245 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
247 std::string signature(raw->GetMethodSignature(method_id).ToString()); in TEST_F()
255 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F() local
257 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
260 std::string signature(raw->GetMethodSignature(method_id).ToString()); in TEST_F()
266 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F() local
268 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
271 std::string signature(raw->GetMethodSignature(method_id).ToString()); in TEST_F()
Ddex_file.h593 uint32_t GetIndexForMethodId(const MethodId& method_id) const { in GetIndexForMethodId() argument
594 CHECK_GE(&method_id, method_ids_) << GetLocation(); in GetIndexForMethodId()
595 CHECK_LT(&method_id, method_ids_ + header_->method_ids_size_) << GetLocation(); in GetIndexForMethodId()
596 return &method_id - method_ids_; in GetIndexForMethodId()
605 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const { in GetMethodDeclaringClassDescriptor() argument
606 const DexFile::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor()
611 const ProtoId& GetMethodPrototype(const MethodId& method_id) const { in GetMethodPrototype() argument
612 return GetProtoId(method_id.proto_idx_); in GetMethodPrototype()
616 const Signature GetMethodSignature(const MethodId& method_id) const;
619 const char* GetMethodName(const MethodId& method_id) const { in GetMethodName() argument
[all …]
Dmethod_helper-inl.h59 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetReturnType() local
60 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnType()
Ddex_file-inl.h41 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const { in GetMethodSignature() argument
42 return Signature(this, GetProtoId(method_id.proto_idx_)); in GetMethodSignature()
Dmethod_helper.cc32 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); in GetNameAsString() local
35 return Runtime::Current()->GetClassLinker()->ResolveString(*dex_file, method_id.name_idx_, in GetNameAsString()
Ddebugger.h364 static std::string GetMethodName(JDWP::MethodId method_id)
375 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id,
381 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value,
387 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id,
564 JDWP::RefTypeId class_id, JDWP::MethodId method_id,
Ddebugger.cc1466 mirror::ArtMethod* m = FromMethodId(expected_location.method_id); in MatchLocation()
1502 location->method_id = ToMethodId(m); in SetJdwpLocation()
1507 std::string Dbg::GetMethodName(JDWP::MethodId method_id) in GetMethodName() argument
1509 mirror::ArtMethod* m = FromMethodId(method_id); in GetMethodName()
1653 void Dbg::OutputLineTable(JDWP::RefTypeId, JDWP::MethodId method_id, JDWP::ExpandBuf* pReply) in OutputLineTable() argument
1667 mirror::ArtMethod* m = FromMethodId(method_id); in OutputLineTable()
1699 void Dbg::OutputVariableTable(JDWP::RefTypeId, JDWP::MethodId method_id, bool with_generic, in OutputVariableTable() argument
1731 mirror::ArtMethod* m = FromMethodId(method_id); in OutputVariableTable()
1758 void Dbg::OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value, in OutputMethodReturnValue() argument
1760 mirror::ArtMethod* m = FromMethodId(method_id); in OutputMethodReturnValue()
[all …]
Dutils.cc395 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); in PrettyMethod() local
396 std::string result(PrettyDescriptor(dex_file.GetMethodDeclaringClassDescriptor(method_id))); in PrettyMethod()
398 result += dex_file.GetMethodName(method_id); in PrettyMethod()
400 const Signature signature = dex_file.GetMethodSignature(method_id); in PrettyMethod()
/art/runtime/jdwp/
Djdwp_handler.cc44 std::string DescribeMethod(const MethodId& method_id) { in DescribeMethod() argument
45 return StringPrintf("%#x (%s)", method_id, Dbg::GetMethodName(method_id).c_str()); in DescribeMethod()
96 RefTypeId class_id, MethodId method_id, bool is_constructor) in FinishInvoke() argument
105 method_id, Dbg::GetClassName(class_id).c_str(), in FinishInvoke()
106 Dbg::GetMethodName(method_id).c_str()); in FinishInvoke()
127 …JdwpError err = Dbg::InvokeMethod(thread_id, object_id, class_id, method_id, arg_count, argValues.… in FinishInvoke()
692 MethodId method_id = request.ReadMethodId(); in CT_InvokeMethod() local
694 return FinishInvoke(state, request, pReply, thread_id, 0, class_id, method_id, false); in CT_InvokeMethod()
708 MethodId method_id = request.ReadMethodId(); in CT_NewInstance() local
718 return FinishInvoke(state, request, pReply, thread_id, object_id, class_id, method_id, true); in CT_NewInstance()
[all …]
Djdwp_main.cc603 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id) in operator <<()
609 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id && in operator ==()
Djdwp.h84 MethodId method_id; member
387 std::string DescribeMethod(const MethodId& method_id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
Djdwp_expand_buf.cc182 expandBufAddMethodId(buf, location.method_id); in expandBufAddLocation()
Djdwp_request.cc148 location.method_id = ReadMethodId(); in ReadLocation()
/art/dalvikvm/
Ddalvikvm.cc32 static bool IsMethodPublic(JNIEnv* env, jclass c, jmethodID method_id) { in IsMethodPublic() argument
33 ScopedLocalRef<jobject> reflected(env, env->ToReflectedMethod(c, method_id, JNI_FALSE)); in IsMethodPublic()
/art/compiler/jni/portable/
Djni_compiler.cc67 DexFile::MethodId const& method_id = in Compile() local
69 char const return_shorty = dex_file->GetMethodShorty(method_id)[0]; in Compile()
/art/runtime/verifier/
Dmethod_verifier.cc2245 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction() local
2246 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in CodeFlowVerifyInstruction()
2268 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction() local
2269 is_constructor = strcmp("<init>", dex_file_->StringDataByIdx(method_id.name_idx_)) == 0; in CodeFlowVerifyInstruction()
2270 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in CodeFlowVerifyInstruction()
2351 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction() local
2352 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in CodeFlowVerifyInstruction()
2409 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction() local
2410 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in CodeFlowVerifyInstruction()
3043 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx); in ResolveMethodAndCheckAccess() local
[all …]
/art/runtime/quick/
Dinline_method_analyser.cc139 const DexFile::MethodId& method_id = ref.dex_file->GetMethodId(ref.dex_method_index); in IsSyntheticAccessor() local
140 const char* method_name = ref.dex_file->GetMethodName(method_id); in IsSyntheticAccessor()
/art/runtime/mirror/
Dart_method-inl.h513 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetReturnTypeDescriptor() local
514 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnTypeDescriptor()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc309 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); in PreloadDexCachesResolveMethod() local
310 mirror::Class* klass = dex_cache->GetResolvedType(method_id.class_idx_); in PreloadDexCachesResolveMethod()
/art/compiler/dex/quick/
Dcodegen_util.cc343 const DexFile::MethodId& method_id = in CodegenDump() local
345 const Signature signature = cu_->dex_file->GetMethodSignature(method_id); in CodegenDump()
346 const char* name = cu_->dex_file->GetMethodName(method_id); in CodegenDump()
347 const char* descriptor(cu_->dex_file->GetMethodDeclaringClassDescriptor(method_id)); in CodegenDump()
Ddex_file_method_inliner.cc666 const DexFile::MethodId* method_id = in FindMethodIndex() local
670 if (method_id == nullptr) { in FindMethodIndex()
673 return dex_file->GetIndexForMethodId(*method_id); in FindMethodIndex()
/art/compiler/optimizing/
Dbuilder.cc328 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in BuildInvoke() local
329 const DexFile::ProtoId& proto_id = dex_file_->GetProtoId(method_id.proto_idx_); in BuildInvoke()

12