Home
last modified time | relevance | path

Searched refs:PlatformThreadRef (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/rtc_base/
Dplatform_thread_types.h37 typedef DWORD PlatformThreadRef; typedef
40 typedef zx_handle_t PlatformThreadRef;
43 typedef pthread_t PlatformThreadRef;
52 PlatformThreadRef CurrentThreadRef();
55 bool IsThreadRefEqual(const PlatformThreadRef& a, const PlatformThreadRef& b);
Dplatform_thread_types.cc51 PlatformThreadRef CurrentThreadRef() { in CurrentThreadRef()
61 bool IsThreadRefEqual(const PlatformThreadRef& a, const PlatformThreadRef& b) { in IsThreadRefEqual()
Drace_checker.cc26 const PlatformThreadRef current_thread = CurrentThreadRef(); in Acquire()
33 const PlatformThreadRef accessing_thread = accessing_thread_; in Acquire()
Drace_checker.h37 mutable volatile PlatformThreadRef accessing_thread_;
Dplatform_thread.h66 PlatformThreadRef GetThreadRef() const;
Dplatform_thread.cc100 PlatformThreadRef PlatformThread::GetThreadRef() const { in GetThreadRef()
Dthread.h161 const PlatformThreadRef main_thread_ref_;
/external/webrtc/rtc_base/synchronization/
Dmutex.h43 rtc::PlatformThreadRef current = CurrentThreadRefAssertingNotBeingHolder(); in Lock()
49 rtc::PlatformThreadRef current = CurrentThreadRefAssertingNotBeingHolder(); in TryLock()
67 rtc::PlatformThreadRef CurrentThreadRefAssertingNotBeingHolder() { in CurrentThreadRefAssertingNotBeingHolder()
68 rtc::PlatformThreadRef holder = holder_.load(std::memory_order_relaxed); in CurrentThreadRefAssertingNotBeingHolder()
69 rtc::PlatformThreadRef current = rtc::CurrentThreadRef(); in CurrentThreadRefAssertingNotBeingHolder()
90 std::atomic<rtc::PlatformThreadRef> holder_ = {0};
Dsequence_checker.cc49 const rtc::PlatformThreadRef current_thread = rtc::CurrentThreadRef(); in IsCurrent()
78 const rtc::PlatformThreadRef current_thread = rtc::CurrentThreadRef(); in ExpectationToString()
Dsequence_checker.h48 mutable rtc::PlatformThreadRef valid_thread_ RTC_GUARDED_BY(lock_);
/external/libchrome/base/threading/
Dplatform_thread.h51 class PlatformThreadRef {
58 constexpr PlatformThreadRef() : id_(0) {} in PlatformThreadRef() function
60 explicit constexpr PlatformThreadRef(RefType id) : id_(id) {} in PlatformThreadRef() function
62 bool operator==(PlatformThreadRef other) const {
66 bool operator!=(PlatformThreadRef other) const { return id_ != other.id_; }
137 static PlatformThreadRef CurrentRef();
Dplatform_thread_posix.cc162 PlatformThreadRef PlatformThread::CurrentRef() { in CurrentRef()
163 return PlatformThreadRef(pthread_self()); in CurrentRef()
Dthread_checker_impl.h43 mutable PlatformThreadRef thread_id_;
Dthread_checker_impl.cc42 thread_id_ = PlatformThreadRef(); in DetachFromThread()
/external/webrtc/rtc_base/deprecated/
Drecursive_critical_section.h79 mutable PlatformThreadRef owning_thread_;
83 mutable PlatformThreadRef thread_; // Only used by RTC_DCHECKs.
Drecursive_critical_section.cc78 PlatformThreadRef self = CurrentThreadRef(); in Enter()
/external/libchrome/base/task_scheduler/
Dscheduler_single_thread_task_runner_manager_unittest.cc79 void CaptureThreadRef(PlatformThreadRef* thread_ref) { in CaptureThreadRef()
111 PlatformThreadRef thread_ref_1; in TEST_F()
114 PlatformThreadRef thread_ref_2; in TEST_F()
137 PlatformThreadRef thread_ref_1; in TEST_F()
140 PlatformThreadRef thread_ref_2; in TEST_F()
524 PlatformThreadRef thread_ref_1; in TEST_F()
527 PlatformThreadRef thread_ref_2; in TEST_F()
Dscheduler_worker_pool_impl_unittest.cc379 void TaskPostedBeforeStart(PlatformThreadRef* platform_thread_ref, in TaskPostedBeforeStart()
392 PlatformThreadRef task_1_thread_ref; in TEST_F()
393 PlatformThreadRef task_2_thread_ref; in TEST_F()
684 PlatformThreadRef thread_ref; in TEST_F()
687 [](PlatformThreadRef* thread_ref) { in TEST_F()
694 [](PlatformThreadRef* thread_ref) { in TEST_F()
705 [](PlatformThreadRef* thread_ref, in TEST_F()
749 [](PlatformThreadRef thread_ref, in TEST_F()
Dscheduler_single_thread_task_runner_manager.cc72 PlatformThreadRef thread_ref_;
/external/libchrome/base/synchronization/
Dlock.cc28 owning_thread_ref_ = PlatformThreadRef(); in CheckHeldAndUnmark()
Dlock.h98 base::PlatformThreadRef owning_thread_ref_;
/external/libchrome/base/task/sequence_manager/test/
Dlazy_thread_controller_for_test.h42 PlatformThreadRef thread_ref_;
/external/webrtc/api/test/
Dtest_dependency_factory.cc25 const rtc::PlatformThreadRef main_thread = rtc::CurrentThreadRef(); in IsValidTestDependencyFactoryThread()
/external/libchrome/base/test/
Dtest_simple_task_runner.h77 const PlatformThreadRef thread_ref_ = PlatformThread::CurrentRef();
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbind_task_runner_unittest.cc110 const base::PlatformThreadRef thread_id_;

12