Searched defs:thread_name (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dthread.cc23 const char* thread_name) {
25 return new ThreadWindows(func, obj, prio, thread_name);
27 return ThreadPosix::Create(func, obj, prio, thread_name);
21 CreateThread(ThreadRunFunction func, ThreadObj obj, ThreadPriority prio, const char* thread_name) argument
H A Dthread_win.cc24 ThreadPriority prio, const char* thread_name)
39 if (thread_name != NULL) {
42 strncpy(name_, thread_name, kThreadMaxNameLength);
23 ThreadWindows(ThreadRunFunction func, ThreadObj obj, ThreadPriority prio, const char* thread_name) argument
H A Devent_posix.cc204 const char* thread_name = "WebRtc_event_timer_thread"; local
206 thread_name);
H A Dthread_posix.cc102 const char* thread_name) {
103 ThreadPosix* ptr = new ThreadPosix(func, obj, prio, thread_name);
116 ThreadPriority prio, const char* thread_name)
131 if (thread_name != NULL) {
133 strncpy(name_, thread_name, kThreadMaxNameLength);
100 Create(ThreadRunFunction func, ThreadObj obj, ThreadPriority prio, const char* thread_name) argument
115 ThreadPosix(ThreadRunFunction func, ThreadObj obj, ThreadPriority prio, const char* thread_name) argument
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/fakes/
H A Dfake_external_transport.cc28 const char* thread_name = "external_thread"; local
32 Run, this, webrtc::kHighPriority, thread_name);
/external/valgrind/main/drd/tests/
H A Dthread_name.c23 char thread_name[32]; local
25 snprintf(thread_name, sizeof(thread_name),
27 ANNOTATE_THREAD_NAME(thread_name);
36 fprintf(stderr, "\n%s\n\n", thread_name);
/external/bluetooth/bluedroid/osi/src/
H A Dthread.c135 const char *thread_name(const thread_t *thread) { function
/external/chromium_org/components/metrics/profiler/
H A Dprofiler_metrics_provider.cc57 std::string MapThreadName(const std::string& thread_name) { argument
58 size_t i = thread_name.length();
60 while (i > 0 && isdigit(thread_name[i - 1])) {
64 if (i == thread_name.length())
65 return thread_name;
67 return thread_name.substr(0, i) + '*';
90 MetricsLog::Hash(MapThreadName(it->birth.thread_name)));
/external/chromium_org/mojo/application_manager/
H A Dbackground_shell_application_loader.cc38 const std::string& thread_name,
42 thread_name_(thread_name),
36 BackgroundShellApplicationLoader( scoped_ptr<ApplicationLoader> real_loader, const std::string& thread_name, base::MessageLoop::Type message_loop_type) argument
/external/chromium_org/ppapi/shared_impl/
H A Dppb_trace_event_impl.cc99 void TraceEventImpl::SetThreadName(const char* thread_name) { argument
100 base::PlatformThread::SetName(thread_name);
/external/chromium_org/base/metrics/
H A Dstats_table_unittest.cc31 std::string thread_name = "mainThread"; local
32 int slot_id = table.RegisterThread(thread_name);
H A Dstats_table.cc38 // If the first character of the thread_name is '\0', then that column is
117 char* thread_name(int slot_id) const { function in class:base::StatsTable::Internal
358 std::string thread_name = name; local
360 thread_name = kUnknownName;
361 strlcpy(internal_->thread_name(slot), thread_name.c_str(),
383 char* name = internal_->thread_name(index);
504 char* name = internal_->thread_name(data->slot);
537 char* name = internal_->thread_name(index);
/external/chromium_org/base/threading/
H A Dthread.h163 const std::string& thread_name() const { return name_; } function in class:base::Thread
/external/chromium_org/media/audio/
H A Daudio_device_thread.cc31 const char* thread_name,
72 const char* thread_name,
77 callback, socket, thread_name, synchronized_buffers);
97 const char* thread_name,
102 thread_name_(thread_name),
70 Start(AudioDeviceThread::Callback* callback, base::SyncSocket::Handle socket, const char* thread_name, bool synchronized_buffers) argument
95 Thread(AudioDeviceThread::Callback* callback, base::SyncSocket::Handle socket, const char* thread_name, bool synchronized_buffers) argument
/external/chromium_org/base/android/
H A Djni_android.cc88 JNIEnv* AttachCurrentThreadWithName(const std::string& thread_name) { argument
92 args.name = thread_name.c_str();
/external/chromium_org/base/
H A Dtracked_objects_unittest.cc49 // Simulate a birth on the thread named |thread_name|, at the given
51 void TallyABirth(const Location& location, const std::string& thread_name) { argument
52 // If the |thread_name| is empty, we don't initialize system with a thread
54 if (!thread_name.empty())
81 EXPECT_EQ(birth_thread, process_data.tasks[0].birth.thread_name);
226 EXPECT_EQ(kWorkerThreadName, process_data.tasks[0].birth.thread_name);
244 process_data.descendants[0].parent.thread_name);
250 EXPECT_EQ(kWorkerThreadName, process_data.descendants[0].child.thread_name);
519 process_data_post_reset.tasks[0].birth.thread_name);
617 EXPECT_EQ(kMainThreadName, process_data.tasks[0].birth.thread_name);
[all...]
H A Dtracked_objects.h228 std::string thread_name; member in struct:tracked_objects::BirthOnThreadSnapshot
428 const std::string& thread_name() const { return thread_name_; } function in class:tracked_objects::ThreadData
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.cc59 const char *thread_name(char *buf, int tid) { function in namespace:__tsan
135 thread_name(thrbuf, mop->tid));
153 loc->size, loc->addr, thread_name(thrbuf, loc->tid));
156 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid));
158 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid));
161 loc->fd, thread_name(thrbuf, loc->tid));
205 thread_name(thrbuf, rt->parent_tid));
263 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i]));
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/
H A Dsched-migration.py31 def thread_name(pid): function
51 return "%s gone to sleep" % thread_name(self.sleeper)
62 return "%s woke up" % thread_name(self.wakee)
73 return "new forked task %s" % thread_name(self.child)
84 return "task migrated in %s" % thread_name(self.new)
95 return "task migrated out %s" % thread_name(self.old)
276 raw += "%s \n" % thread_name(t)
/external/lldb/source/API/
H A DSBBreakpointLocation.cpp208 SBBreakpointLocation::SetThreadName (const char *thread_name) argument
213 m_opaque_sp->SetThreadName (thread_name);
/external/lldb/source/Core/
H A DCommunication.cpp242 char thread_name[1024]; local
243 snprintf(thread_name, sizeof(thread_name), "<lldb.comm.%s>", m_broadcaster_name.AsCString());
246 m_read_thread = Host::ThreadCreate (thread_name, Communication::ReadThread, this, error_ptr);
/external/lldb/source/Host/freebsd/
H A DHost.cpp51 FreeBSDThread(const char *thread_name) argument
53 Host::SetThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name);
71 Host::ThreadCreated (const char *thread_name) argument
76 ::pthread_setspecific (g_thread_create_key, new FreeBSDThread(thread_name));
79 Host::SetShortThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name, 16);
85 std::string thread_name; local
86 return thread_name;
/external/chromium_org/base/message_loop/
H A Dmessage_loop.h291 void set_thread_name(const std::string& thread_name) { argument
293 thread_name_ = thread_name;
295 const std::string& thread_name() const { return thread_name_; } function in class:base::MessageLoop
/external/chromium_org/chrome/browser/metrics/
H A Dthread_watcher.h77 const std::string& thread_name; member in struct:ThreadWatcher::WatchingParams
92 thread_name(thread_name_in),
102 // will create ThreadWatcher object for the given |thread_id|, |thread_name|.
120 std::string thread_name() const { return thread_name_; } function in class:ThreadWatcher
455 const std::string& thread_name,
/external/lldb/source/Breakpoint/
H A DBreakpointLocation.cpp155 BreakpointLocation::SetThreadName (const char *thread_name) argument
157 if (thread_name != NULL)
158 GetLocationOptions()->GetThreadSpec()->SetName(thread_name);
164 m_options_ap->GetThreadSpec()->SetName(thread_name);

Completed in 689 milliseconds

12