Home
last modified time | relevance | path

Searched refs:thread_ref (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/debug/
Dactivity_tracker.cc160 ThreadRef thread_ref; in ForThread() local
161 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; member
711 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 …]
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc1206 base::PlatformThreadRef thread_ref; in TEST_F() local
1207 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()