Home
last modified time | relevance | path

Searched refs:CurrentId (Results 1 – 24 of 24) sorted by relevance

/external/libchrome/base/threading/
Dplatform_thread_posix.cc74 PlatformThread::CurrentId()); in ThreadFunc()
80 PlatformThread::CurrentId()); in ThreadFunc()
136 PlatformThreadId PlatformThread::CurrentId() { in CurrentId() function in base::PlatformThread
193 return ThreadIdNameManager::GetInstance()->GetName(CurrentId()); in GetName()
271 << PlatformThread::CurrentId() << ") to " << nice_setting; in SetCurrentThreadPriority()
295 << PlatformThread::CurrentId() << ")"; in GetCurrentThreadPriority()
Dplatform_thread_unittest.cc118 thread_id_ = PlatformThread::CurrentId(); in ThreadMain()
122 EXPECT_EQ(thread_id_, PlatformThread::CurrentId()); in ThreadMain()
165 PlatformThreadId main_thread_id = PlatformThread::CurrentId(); in TEST()
181 EXPECT_EQ(main_thread_id, PlatformThread::CurrentId()); in TEST()
185 PlatformThreadId main_thread_id = PlatformThread::CurrentId(); in TEST()
216 EXPECT_EQ(main_thread_id, PlatformThread::CurrentId()); in TEST()
Dthread_id_name_manager_unittest.cc68 base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); in TEST_F()
80 base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); in TEST_F()
Dplatform_thread_linux.cc102 SetThreadCgroupsForThreadPriority(PlatformThread::CurrentId(), priority); in SetCurrentThreadPriorityForPlatform()
136 if (PlatformThread::CurrentId() == getpid()) in SetName()
Dthread_collision_warner.cc17 const PlatformThreadId current_thread_id = PlatformThread::CurrentId(); in CurrentThread()
Dthread.cc253 DCHECK_EQ(id_, PlatformThread::CurrentId()); in Run()
293 id_ = PlatformThread::CurrentId(); in ThreadMain()
Dthread.h231 (id_event_.IsSignaled() && id_ == PlatformThread::CurrentId()) || in task_runner()
Dplatform_thread.h133 static PlatformThreadId CurrentId();
Dthread_id_name_manager.cc63 PlatformThreadId id = PlatformThread::CurrentId(); in SetName()
Dsimple_thread.cc70 tid_ = PlatformThread::CurrentId(); in ThreadMain()
/external/libchrome/dbus/
Ddbus_statistics.cc47 origin_thread_id_(base::PlatformThread::CurrentId()) { in DBusStatistics()
51 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in ~DBusStatistics()
66 if (base::PlatformThread::CurrentId() != origin_thread_id_) { in AddStat()
68 << base::PlatformThread::CurrentId(); in AddStat()
89 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in GetStats()
Dbus.cc163 origin_thread_id_(base::PlatformThread::CurrentId()), in Bus()
804 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in AssertOnOriginThread()
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner.cc24 valid_thread_id_ = PlatformThread::CurrentId(); in BindToCurrentThread()
46 return valid_thread_id_ == PlatformThread::CurrentId(); in RunsTasksInCurrentSequence()
Dmessage_pump_glib.cc144 thread_info->thread_id = PlatformThread::CurrentId(); in CheckThread()
146 DCHECK(thread_info->thread_id == PlatformThread::CurrentId()) << in CheckThread()
Dmessage_loop.cc355 thread_id_ = PlatformThread::CurrentId(); in BindToCurrentThread()
/external/libchrome/base/task/sequence_manager/
Dthread_controller_with_message_pump_impl.cc18 : main_thread_id_(PlatformThread::CurrentId()), in ThreadControllerWithMessagePumpImpl()
84 return main_thread_id_ == PlatformThread::CurrentId(); in RunsTasksInCurrentSequence()
Dtask_queue.cc18 thread_id_(PlatformThread::CurrentId()), in TaskQueue()
274 return thread_id_ == PlatformThread::CurrentId(); in IsOnMainThread()
Dtask_queue_impl.cc47 thread_id_(PlatformThread::CurrentId()), in TaskQueueImpl()
183 return PlatformThread::CurrentId() == thread_id_; in RunsTasksInCurrentSequence()
218 if (PlatformThread::CurrentId() == thread_id_) { in PostDelayedTaskImpl()
463 if (PlatformThread::CurrentId() != thread_id_) in TraceQueueSize()
613 if (PlatformThread::CurrentId() == thread_id_) in GetTimeDomain()
/external/libchrome/base/debug/
Dstack_trace.cc159 bool is_main_thread = GetCurrentProcId() == PlatformThread::CurrentId(); in GetStackEnd()
183 if (GetCurrentProcId() == PlatformThread::CurrentId()) { in GetStackEnd()
Dactivity_tracker.cc738 header_->thread_ref.as_tid = PlatformThread::CurrentId(); in ThreadActivityTracker()
/external/libchrome/base/trace_event/
Dtrace_event.h105 static_cast<int>(base::PlatformThread::CurrentId())
929 const int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
970 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
988 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
1035 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
1055 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
1075 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
1095 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
/external/v8/src/
Dv8threads.h82 ThreadId CurrentId();
Dv8threads.cc281 state->set_id(CurrentId()); in ArchiveThread()
346 ThreadId ThreadManager::CurrentId() { in CurrentId() function in v8::internal::ThreadManager
/external/libchrome/base/
Dlogging.cc884 stream_ << base::PlatformThread::CurrentId() << ':'; in Init()