/external/jemalloc/test/unit/ |
D | prof_thread_name.c | 25 mallctl_thread_name_set_impl(const char *thread_name, const char *func, in mallctl_thread_name_set_impl() argument 29 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name, in mallctl_thread_name_set_impl() 30 sizeof(thread_name)), 0, in mallctl_thread_name_set_impl() 33 mallctl_thread_name_get_impl(thread_name, func, line); in mallctl_thread_name_set_impl() 40 const char *thread_name; in TEST_BEGIN() local 48 thread_name = NULL; in TEST_BEGIN() 49 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name, in TEST_BEGIN() 50 sizeof(thread_name)), EFAULT, in TEST_BEGIN() 52 thread_name); in TEST_BEGIN() 55 thread_name = "hi\nthere"; in TEST_BEGIN() [all …]
|
/external/valgrind/drd/tests/ |
D | thread_name.c | 23 char thread_name[32]; in thread_func() local 25 snprintf(thread_name, sizeof(thread_name), in thread_func() 27 ANNOTATE_THREAD_NAME(thread_name); in thread_func() 36 fprintf(stderr, "\n%s\n\n", thread_name); in thread_func()
|
D | thread_name.vgtest | 1 prereq: test -e thread_name && ./supported_libpthread 3 prog: thread_name
|
D | thread_name_xml.vgtest | 1 prereq: test -e thread_name && ./supported_libpthread 3 prog: thread_name
|
/external/lldb/source/Host/freebsd/ |
D | Host.cpp | 51 FreeBSDThread(const char *thread_name) in FreeBSDThread() argument 53 Host::SetThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name); in FreeBSDThread() 71 Host::ThreadCreated (const char *thread_name) in ThreadCreated() argument 76 ::pthread_setspecific (g_thread_create_key, new FreeBSDThread(thread_name)); in ThreadCreated() 79 Host::SetShortThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name, 16); in ThreadCreated() 85 std::string thread_name; in GetThreadName() local 86 return thread_name; in GetThreadName()
|
/external/jemalloc/src/ |
D | prof.c | 130 static char *prof_thread_name_alloc(tsd_t *tsd, const char *thread_name); 1275 (tdata->thread_name != NULL) ? " " : "", in prof_tdata_dump_iter() 1276 (tdata->thread_name != NULL) ? tdata->thread_name : "")) in prof_tdata_dump_iter() 1724 char *thread_name, bool active) in prof_tdata_init_impl() argument 1741 tdata->thread_name = thread_name; in prof_tdata_init_impl() 1802 if (tdata->thread_name != NULL) in prof_tdata_destroy_locked() 1803 idalloctm(tsd, tdata->thread_name, tcache, true, true); in prof_tdata_destroy_locked() 1844 char *thread_name = (tdata->thread_name != NULL) ? in prof_tdata_reinit() local 1845 prof_thread_name_alloc(tsd, tdata->thread_name) : NULL; in prof_tdata_reinit() 1849 return (prof_tdata_init_impl(tsd, thr_uid, thr_discrim, thread_name, in prof_tdata_reinit() [all …]
|
/external/webrtc/webrtc/modules/utility/source/ |
D | process_thread_impl.cc | 40 const char* thread_name) { in Create() argument 41 return rtc::scoped_ptr<ProcessThread>(new ProcessThreadImpl(thread_name)); in Create() 44 ProcessThreadImpl::ProcessThreadImpl(const char* thread_name) in ProcessThreadImpl() argument 47 thread_name_(thread_name) {} in ProcessThreadImpl()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_report.cc | 77 const char *thread_name(char *buf, int tid) { in thread_name() function 160 thread_name(thrbuf, mop->tid)); in PrintMop() 186 thread_name(thrbuf, loc->tid)); in PrintLocation() 189 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation() 191 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation() 194 loc->fd, thread_name(thrbuf, loc->tid)); in PrintLocation() 238 thread_name(thrbuf, rt->parent_tid)); in PrintThread() 311 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
|
/external/lldb/source/Host/common/ |
D | Host.cpp | 98 char thread_name[256]; in StartMonitoringChildProcess() local 99 ::snprintf (thread_name, sizeof(thread_name), "<lldb.host.wait4(pid=%" PRIu64 ")>", pid); in StartMonitoringChildProcess() 100 thread = ThreadCreate (thread_name, in StartMonitoringChildProcess() 532 Host::ThreadCreated (const char *thread_name) in ThreadCreated() argument 553 std::string thread_name; member 558 thread_name (name ? name : ""), in HostThreadCreateInfo() 569 Host::ThreadCreated (info->thread_name.c_str()); in ThreadCreateTrampoline() 584 const char *thread_name, in ThreadCreate() argument 593 … HostThreadCreateInfo *info_ptr = new HostThreadCreateInfo (thread_name, thread_fptr, thread_arg); in ThreadCreate() 700 const char *thread_name, size_t len) in SetShortThreadName() argument [all …]
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | timeout_retry.py | 148 thread_name = 'TimeoutThread-%d-for-%s' % (num_try, 151 name=thread_name) 172 thread_name, desc, num_try, retries + 1, e)
|
/external/webrtc/webrtc/base/ |
D | platform_thread.cc | 96 const char* thread_name) in PlatformThread() argument 99 name_(thread_name ? thread_name : "webrtc"), in PlatformThread()
|
/external/lldb/source/Host/linux/ |
D | Host.cpp | 443 Host::ThreadCreated (const char *thread_name) in ThreadCreated() argument 445 if (!Host::SetThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name)) in ThreadCreated() 447 Host::SetShortThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name, 16); in ThreadCreated() 463 std::string thread_name(comm_str, length); in GetThreadName() local 464 return thread_name; in GetThreadName()
|
/external/libmicrohttpd/src/include/ |
D | w32functions.h | 199 static void W32_SetThreadName(const DWORD thread_id, const char *thread_name) in W32_SetThreadName() argument 207 void W32_SetThreadName(const DWORD thread_id, const char *thread_name);
|
/external/google-breakpad/src/client/mac/handler/ |
D | exception_handler.h | 99 mach_port_t thread_name); 193 mach_port_t thread_name,
|
D | minidump_generator.h | 101 mach_port_t thread_name) { in SetExceptionInformation() argument 105 exception_thread_ = thread_name; in SetExceptionInformation()
|
/external/lldb/source/Core/ |
D | Communication.cpp | 242 char thread_name[1024]; in StartReadThread() local 243 snprintf(thread_name, sizeof(thread_name), "<lldb.comm.%s>", m_broadcaster_name.AsCString()); in StartReadThread() 246 m_read_thread = Host::ThreadCreate (thread_name, Communication::ReadThread, this, error_ptr); in StartReadThread()
|
D | Log.cpp | 115 std::string thread_name (Host::GetThreadName (getpid(), Host::GetCurrentThreadID())); in PrintfWithFlagsVarArg() local 116 if (!thread_name.empty()) in PrintfWithFlagsVarArg() 117 header.Printf ("%s ", thread_name.c_str()); in PrintfWithFlagsVarArg()
|
/external/libchrome/base/ |
D | tracked_objects_unittest.cc | 52 void TallyABirth(const Location& location, const std::string& thread_name) { in TallyABirth() argument 55 if (!thread_name.empty()) in TallyABirth() 88 EXPECT_EQ(birth_thread, process_data_phase.tasks[0].birth.thread_name); in ExpectSimpleProcessData() 226 EXPECT_EQ(kWorkerThreadName, process_data_phase.tasks[0].birth.thread_name); in TEST_F() 534 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].birth.thread_name); in TEST_F() 558 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].birth.thread_name); in TEST_F() 651 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].birth.thread_name); in TEST_F() 675 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].birth.thread_name); in TEST_F() 699 EXPECT_EQ(kMainThreadName, process_data_phase2.tasks[0].birth.thread_name); in TEST_F() 756 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].birth.thread_name); in TEST_F() [all …]
|
/external/chromium-trace/catapult/tracing/test_data/ |
D | simple_trace_gz.gz | ... : 0, "ph": "M",
75 "name": "thread_name", "args": {"name": "threadA"}}, ... |
/external/lldb/source/Breakpoint/ |
D | BreakpointLocation.cpp | 155 BreakpointLocation::SetThreadName (const char *thread_name) in SetThreadName() argument 157 if (thread_name != NULL) in SetThreadName() 158 GetLocationOptions()->GetThreadSpec()->SetName(thread_name); in SetThreadName() 164 m_options_ap->GetThreadSpec()->SetName(thread_name); in SetThreadName()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | event_timer_posix.cc | 156 const char* thread_name = "WebRtc_event_timer_thread"; in StartTimer() local 157 timer_thread_.reset(new rtc::PlatformThread(Run, this, thread_name)); in StartTimer()
|
/external/libchrome/base/message_loop/ |
D | message_loop.h | 288 void set_thread_name(const std::string& thread_name) { in set_thread_name() argument 290 thread_name_ = thread_name; in set_thread_name() 292 const std::string& thread_name() const { return thread_name_; } in thread_name() function
|
/external/libmicrohttpd/src/platform/ |
D | w32functions.c | 676 void W32_SetThreadName(const DWORD thread_id, const char *thread_name) in W32_SetThreadName() argument 689 if (NULL == thread_name) in W32_SetThreadName() 693 thread_info.name = thread_name; in W32_SetThreadName()
|
/external/webrtc/webrtc/modules/utility/include/ |
D | process_thread.h | 32 static rtc::scoped_ptr<ProcessThread> Create(const char* thread_name);
|
/external/lldb/source/API/ |
D | SBBreakpointLocation.cpp | 208 SBBreakpointLocation::SetThreadName (const char *thread_name) in SetThreadName() argument 213 m_opaque_sp->SetThreadName (thread_name); in SetThreadName()
|