Home
last modified time | relevance | path

Searched refs:method_name (Results 1 – 22 of 22) sorted by relevance

/art/runtime/mirror/
Dstack_trace_element.cc43 Handle<String> method_name, Handle<String> file_name, in Alloc() argument
49 trace->Init<true>(declaring_class, method_name, file_name, line_number); in Alloc()
51 trace->Init<false>(declaring_class, method_name, file_name, line_number); in Alloc()
58 void StackTraceElement::Init(Handle<String> declaring_class, Handle<String> method_name, in Init() argument
63 method_name.Get()); in Init()
Dstack_trace_element.h51 Handle<String> method_name, Handle<String> file_name,
72 void Init(Handle<String> declaring_class, Handle<String> method_name, Handle<String> file_name,
Dthrowable.cc131 auto* method_name = ste->GetMethodName(); in Dump() local
135 method_name != nullptr ? method_name->ToModifiedUtf8().c_str() : "<unknown method>", in Dump()
/art/compiler/optimizing/
Doptimizing_compiler.cc94 const char* method_name, in PassInfoPrinter() argument
98 : method_name_(method_name), in PassInfoPrinter()
100 timing_logger_(method_name, true, true), in PassInfoPrinter()
103 if (strstr(method_name, kStringFilter) == nullptr) { in PassInfoPrinter()
485 std::string method_name = PrettyMethod(method_idx, dex_file); in TryCompile() local
538 bool shouldCompile = method_name.find("$opt$") != std::string::npos; in TryCompile()
539 bool shouldOptimize = method_name.find("$opt$reg$") != std::string::npos && run_optimizations_; in TryCompile()
555 method_name.c_str(), in TryCompile()
567 VLOG(compiler) << "Building " << method_name; in TryCompile()
581 VLOG(compiler) << "Optimizing " << method_name; in TryCompile()
[all …]
Dgraph_visualizer.h40 void PrintHeader(const char* method_name) const;
Dgraph_visualizer.cc354 void HGraphVisualizer::PrintHeader(const char* method_name) const { in PrintHeader()
358 printer.PrintProperty("name", method_name); in PrintHeader()
359 printer.PrintProperty("method", method_name); in PrintHeader()
/art/compiler/
Dcommon_compiler_test.cc251 const char* class_name, const char* method_name, in CompileDirectMethod() argument
258 ArtMethod* method = klass->FindDirectMethod(method_name, signature, pointer_size); in CompileDirectMethod()
260 << class_name << "." << method_name << signature; in CompileDirectMethod()
265 const char* class_name, const char* method_name, in CompileVirtualMethod() argument
272 ArtMethod* method = klass->FindVirtualMethod(method_name, signature, pointer_size); in CompileVirtualMethod()
274 << class_name << "." << method_name << signature; in CompileVirtualMethod()
Dcommon_compiler_test.h80 const char* method_name, const char* signature)
84 const char* method_name, const char* signature)
Delf_writer_debug.cc293 std::string method_name = PrettyMethod(method_info->dex_method_index_, in WriteDebugSections() local
296 method_name += " [DEDUPED]"; in WriteDebugSections()
299 info.WriteStrp(DW_AT_name, method_name.data(), debug_str); in WriteDebugSections()
/art/runtime/
Dprofiler.h243 ProfileData(const std::string& method_name, uint32_t count, uint32_t method_size, in ProfileData() argument
245 method_name_(method_name), count_(count), method_size_(method_size), in ProfileData()
274 bool GetProfileData(ProfileData* data, const std::string& method_name);
Dprofiler.cc581 std::string method_name = PrettyMethod(method); in Write() local
592 PreviousProfile::iterator pi = previous_.find(method_name); in Write()
597 os << StringPrintf("%s/%u/%u\n", method_name.c_str(), count, method_size); in Write()
607 std::string method_name = PrettyMethod(method.dex_method_index, *(method.dex_file)); in Write() local
632 PreviousProfile::iterator pi = previous_.find(method_name); in Write()
657 os << StringPrintf("%s/%u/%u/[%s]\n", method_name.c_str(), total_count, in Write()
872 bool ProfileFile::GetProfileData(ProfileFile::ProfileData* data, const std::string& method_name) { in GetProfileData() argument
873 ProfileMap::iterator i = profile_map_.find(method_name); in GetProfileData()
Dreflection_test.cc86 bool is_static, const char* method_name, in ReflectionTestMakeExecutable() argument
110 *method = is_static ? c->FindDirectMethod(method_name, method_signature, sizeof(void*)) in ReflectionTestMakeExecutable()
111 : c->FindVirtualMethod(method_name, method_signature, sizeof(void*)); in ReflectionTestMakeExecutable()
Dutils.cc609 std::string method_name(m->GetName()); in JniShortName() local
615 short_name += MangleForJni(method_name); in JniShortName()
Dthread.cc1835 const char* method_name = method->GetInterfaceMethodIfProxy(sizeof(void*))->GetName(); in InternalStackTraceToStackTraceElementArray() local
1836 CHECK(method_name != nullptr); in InternalStackTraceToStackTraceElementArray()
1838 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), method_name))); in InternalStackTraceToStackTraceElementArray()
Dclass_linker.cc2388 const char* method_name = dex_file.StringDataByIdx(method_id.name_idx_); in LoadMethod() local
2400 if (UNLIKELY(strcmp("finalize", method_name) == 0)) { in LoadMethod()
2420 } else if (method_name[0] == '<') { in LoadMethod()
2422 bool is_init = (strcmp("<init>", method_name) == 0); in LoadMethod()
2423 bool is_clinit = !is_init && (strcmp("<clinit>", method_name) == 0); in LoadMethod()
2425 LOG(WARNING) << "Unexpected '<' at start of method name " << method_name; in LoadMethod()
2428 LOG(WARNING) << method_name << " didn't have expected constructor access flag in class " in LoadMethod()
/art/runtime/quick/
Dinline_method_analyser.cc136 const char* method_name = ref.dex_file->GetMethodName(method_id); in IsSyntheticAccessor() local
139 return strncmp(method_name, "access$", strlen("access$")) == 0 || in IsSyntheticAccessor()
140 strncmp(method_name, "-", strlen("-")) == 0; in IsSyntheticAccessor()
/art/compiler/jni/
Djni_compiler_test.cc61 const char* method_name, const char* method_sig) { in CompileForTest() argument
69 ArtMethod* method = direct ? c->FindDirectMethod(method_name, method_sig, pointer_size) : in CompileForTest()
70 c->FindVirtualMethod(method_name, method_sig, pointer_size); in CompileForTest()
71 ASSERT_TRUE(method != nullptr) << method_name << " " << method_sig; in CompileForTest()
79 << method_name << " " << method_sig; in CompileForTest()
84 void SetUpForTest(bool direct, const char* method_name, const char* method_sig, in SetUpForTest() argument
92 CompileForTest(class_loader_, direct, method_name, method_sig); in SetUpForTest()
101 ASSERT_TRUE(jklass_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
104 jmethod_ = env_->GetStaticMethodID(jklass_, method_name, method_sig); in SetUpForTest()
106 jmethod_ = env_->GetMethodID(jklass_, method_name, method_sig); in SetUpForTest()
[all …]
/art/test/004-JniTest/
Djni_test.cc415 jmethodID GetMethodID(jclass c, bool nonstatic, const char* method_name) { in GetMethodID() argument
417 env_->GetMethodID(c, method_name, "()V") : in GetMethodID()
418 env_->GetStaticMethodID(c, method_name, "()V")); in GetMethodID()
/art/compiler/driver/
Dcompiler_driver.cc2458 bool CompilerDriver::SkipCompilation(const std::string& method_name) { in SkipCompilation() argument
2464 if (!profile_file_.GetProfileData(&data, method_name)) { in SkipCompilation()
2467 VLOG(compiler) << "not compiling " << method_name << " because it's not in the profile"; in SkipCompilation()
2479 LOG(INFO) << "compiling method " << method_name << " because its usage is part of top " in SkipCompilation()
2483 VLOG(compiler) << "not compiling method " << method_name in SkipCompilation()
Dcompiler_driver.h464 bool SkipCompilation(const std::string& method_name);
/art/runtime/interpreter/
Dunstarted_runtime.cc70 const std::string& method_name, bool initialize_class, in UnstartedRuntimeFindClass() argument
81 method_name.c_str(), PrettyDescriptor(descriptor.c_str()).c_str()); in UnstartedRuntimeFindClass()
/art/oatdump/
Doatdump.cc776 std::string method_name = dex_file.GetMethodName(dex_file.GetMethodId(dex_method_idx)); in DumpOatMethod() local
777 if (method_name.find(options_.method_filter_) == std::string::npos) { in DumpOatMethod()