Searched refs:thread_ref (Results 1 – 2 of 2) sorted by relevance
160 ThreadRef thread_ref; in ForThread() local161 thread_ref.as_id = 0; // Zero the union in case other is smaller. in ForThread()163 thread_ref.as_tid = ::GetThreadId(handle.platform_handle()); in ForThread()165 thread_ref.as_handle = handle.platform_handle(); in ForThread()167 return ForThread(thread_ref.as_id); in ForThread()620 ThreadRef thread_ref; member711 sizeof(header_->thread_ref) == sizeof(header_->thread_ref.as_id), in ThreadActivityTracker()725 DCHECK_EQ(0, header_->thread_ref.as_id); in ThreadActivityTracker()737 header_->thread_ref.as_tid = PlatformThread::CurrentId(); in ThreadActivityTracker()739 header_->thread_ref.as_handle = in ThreadActivityTracker()[all …]
1206 base::PlatformThreadRef thread_ref; in TEST_F() local1207 auto self_unregister_from_another_thread = [&mdp, &thread_ref]( in TEST_F()1209 thread_ref = PlatformThread::CurrentRef(); in TEST_F()1225 .WillOnce(Invoke([&thread_ref]() { in TEST_F()1226 EXPECT_EQ(thread_ref, PlatformThread::CurrentRef()); in TEST_F()