Home
last modified time | relevance | path

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

12

/external/libchrome/base/threading/
Dplatform_thread_posix.cc65 PlatformThread::CurrentId()); in ThreadFunc()
71 PlatformThread::CurrentId()); in ThreadFunc()
127 PlatformThreadId PlatformThread::CurrentId() { in CurrentId() function in base::PlatformThread
180 return ThreadIdNameManager::GetInstance()->GetName(CurrentId()); in GetName()
229 << PlatformThread::CurrentId() << ") to " << nice_setting; in SetCurrentThreadPriority()
253 << PlatformThread::CurrentId() << ")"; in GetCurrentThreadPriority()
Dplatform_thread_unittest.cc89 thread_id_ = PlatformThread::CurrentId(); in ThreadMain()
93 EXPECT_EQ(thread_id_, PlatformThread::CurrentId()); in ThreadMain()
136 PlatformThreadId main_thread_id = PlatformThread::CurrentId(); in TEST()
152 EXPECT_EQ(main_thread_id, PlatformThread::CurrentId()); in TEST()
156 PlatformThreadId main_thread_id = PlatformThread::CurrentId(); in TEST()
187 EXPECT_EQ(main_thread_id, PlatformThread::CurrentId()); in TEST()
Dplatform_thread_linux.cc81 ThreadIdNameManager::GetInstance()->SetName(CurrentId(), name); in SetName()
89 if (PlatformThread::CurrentId() == getpid()) in SetName()
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()
Dthread.cc169 DCHECK_NE(GetThreadId(), PlatformThread::CurrentId()); in StopSoon()
217 id_ = PlatformThread::CurrentId(); in ThreadMain()
Dthread_collision_warner.cc17 const PlatformThreadId current_thread_id = PlatformThread::CurrentId(); in CurrentThread()
Dplatform_thread.h127 static PlatformThreadId CurrentId();
Dsequenced_worker_pool.cc636 threads_.find(PlatformThread::CurrentId()); in PostTask()
682 return ContainsKey(threads_, PlatformThread::CurrentId()); in RunsTasksOnCurrentThread()
688 ThreadMap::const_iterator found = threads_.find(PlatformThread::CurrentId()); in IsRunningSequenceOnCurrentThread()
706 ThreadMap::const_iterator found = threads_.find(PlatformThread::CurrentId()); in SetRunningTaskInfoForCurrentThread()
Dsimple_thread.cc57 tid_ = PlatformThread::CurrentId(); in ThreadMain()
Dworker_pool_posix.cc81 PlatformThread::CurrentId()); in ThreadMain()
Dworker_pool_posix_unittest.cc61 unique_threads->insert(PlatformThread::CurrentId()); in IncrementingTask()
Dplatform_thread_mac.mm48 ThreadIdNameManager::GetInstance()->SetName(CurrentId(), name);
/external/libchrome/base/
Dobserver_list_threadsafe.h121 PlatformThreadId thread_id = PlatformThread::CurrentId(); in AddObserver()
139 PlatformThreadId thread_id = PlatformThread::CurrentId(); in RemoveObserver()
224 observer_lists_.find(PlatformThread::CurrentId());
249 observer_lists_.find(PlatformThread::CurrentId());
/external/libchrome/dbus/
Ddbus_statistics.cc67 origin_thread_id_(base::PlatformThread::CurrentId()) { in DBusStatistics()
71 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in ~DBusStatistics()
87 if (base::PlatformThread::CurrentId() != origin_thread_id_) { in AddStat()
89 << base::PlatformThread::CurrentId(); in AddStat()
110 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in GetStat()
Dbus.cc189 origin_thread_id_(base::PlatformThread::CurrentId()), in Bus()
838 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in AssertOnOriginThread()
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner.cc22 valid_thread_id_ = PlatformThread::CurrentId(); in BindToCurrentThread()
43 return valid_thread_id_ == PlatformThread::CurrentId(); in RunsTasksOnCurrentThread()
Dmessage_pump_glib.cc148 thread_info->thread_id = PlatformThread::CurrentId(); in CheckThread()
150 DCHECK(thread_info->thread_id == PlatformThread::CurrentId()) << in CheckThread()
/external/libchrome/base/timer/
Dtimer.cc168 thread_id_ = static_cast<int>(PlatformThread::CurrentId()); in PostNewScheduledTask()
178 thread_id_ == static_cast<int>(PlatformThread::CurrentId())); in AbandonScheduledTask()
/external/libchrome/base/synchronization/
Dcancellation_flag.cc13 DCHECK_EQ(set_on_, PlatformThread::CurrentId()); in Set()
Dcancellation_flag.h24 set_on_ = PlatformThread::CurrentId(); in CancellationFlag()
/external/libchrome/base/trace_event/
Dtrace_log.cc314 "tracing/thread_%d", static_cast<int>(PlatformThread::CurrentId())); in OnMemoryDump()
1057 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
1087 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEventWithBindId()
1211 if (thread_id == static_cast<int>(PlatformThread::CurrentId())) { in AddTraceEventWithThreadIdAndTimestamp()
1371 trace_event ? trace_event->thread_id() : PlatformThread::CurrentId(); in EventToConsoleMessage()
1505 int current_thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddMetadataEventsWhileLocked()
1723 static_cast<int>(base::PlatformThread::CurrentId()), // thread_id in ScopedTraceBinaryEfficient()
Dtrace_event.h67 static_cast<int>(base::PlatformThread::CurrentId())
677 const int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
715 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
760 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
/external/v8/src/
Dv8threads.h85 ThreadId CurrentId();
Dv8threads.cc280 state->set_id(CurrentId()); in ArchiveThread()
348 ThreadId ThreadManager::CurrentId() { in CurrentId() function in v8::internal::ThreadManager
/external/v8/test/cctest/
Dtest-log.cc180 CHECK_GT(CcTest::i_isolate()->thread_manager()->CurrentId(), 0);
208 CHECK_GT(CcTest::i_isolate()->thread_manager()->CurrentId(), 0);

12