/third_party/boost/boost/asio/detail/ |
D | conditionally_enabled_mutex.hpp | 44 : mutex_(m), in scoped_lock() 51 : mutex_(m) in scoped_lock() 55 mutex_.mutex_.lock(); in scoped_lock() 66 mutex_.mutex_.unlock(); in ~scoped_lock() 72 if (mutex_.enabled_ && !locked_) in lock() 74 mutex_.mutex_.lock(); in lock() 84 mutex_.unlock(); in unlock() 98 return mutex_.mutex_; in mutex() 103 conditionally_enabled_mutex& mutex_; member in boost::asio::detail::conditionally_enabled_mutex::scoped_lock 128 mutex_.lock(); in lock() [all …]
|
D | scoped_lock.hpp | 37 : mutex_(m), in scoped_lock() 44 : mutex_(m) in scoped_lock() 46 mutex_.lock(); in scoped_lock() 54 mutex_.unlock(); in ~scoped_lock() 62 mutex_.lock(); in lock() 72 mutex_.unlock(); in unlock() 86 return mutex_; in mutex() 91 Mutex& mutex_; member in boost::asio::detail::scoped_lock
|
D | conditionally_enabled_event.hpp | 49 if (lock.mutex_.enabled_) in signal() 56 if (lock.mutex_.enabled_) in signal_all() 64 if (lock.mutex_.enabled_) in unlock_and_signal_one() 72 if (lock.mutex_.enabled_) in unlock_and_signal_one_for_destruction() 80 if (lock.mutex_.enabled_) in maybe_unlock_and_signal_one() 89 if (lock.mutex_.enabled_) in clear() 96 if (lock.mutex_.enabled_) in wait() 106 if (lock.mutex_.enabled_) in wait_for_usec()
|
/third_party/boost/libs/asio/include/boost/asio/detail/ |
D | conditionally_enabled_mutex.hpp | 44 : mutex_(m), in scoped_lock() 51 : mutex_(m) in scoped_lock() 55 mutex_.mutex_.lock(); in scoped_lock() 66 mutex_.mutex_.unlock(); in ~scoped_lock() 72 if (mutex_.enabled_ && !locked_) in lock() 74 mutex_.mutex_.lock(); in lock() 84 mutex_.unlock(); in unlock() 98 return mutex_.mutex_; in mutex() 103 conditionally_enabled_mutex& mutex_; member in boost::asio::detail::conditionally_enabled_mutex::scoped_lock 128 mutex_.lock(); in lock() [all …]
|
D | scoped_lock.hpp | 37 : mutex_(m), in scoped_lock() 44 : mutex_(m) in scoped_lock() 46 mutex_.lock(); in scoped_lock() 54 mutex_.unlock(); in ~scoped_lock() 62 mutex_.lock(); in lock() 72 mutex_.unlock(); in unlock() 86 return mutex_; in mutex() 91 Mutex& mutex_; member in boost::asio::detail::scoped_lock
|
D | conditionally_enabled_event.hpp | 49 if (lock.mutex_.enabled_) in signal() 56 if (lock.mutex_.enabled_) in signal_all() 64 if (lock.mutex_.enabled_) in unlock_and_signal_one() 72 if (lock.mutex_.enabled_) in unlock_and_signal_one_for_destruction() 80 if (lock.mutex_.enabled_) in maybe_unlock_and_signal_one() 89 if (lock.mutex_.enabled_) in clear() 96 if (lock.mutex_.enabled_) in wait() 106 if (lock.mutex_.enabled_) in wait_for_usec()
|
/third_party/node/src/ |
D | node_mutex.h | 40 , scoped_lock_(shared->mutex_) in Scoped() 45 , scoped_lock_(exclusive_access->mutex_) in Scoped() 62 MutexT mutex_; variable 92 const MutexBase& mutex_; variable 105 const MutexBase& mutex_; variable 110 mutable typename Traits::MutexT mutex_; variable 194 Traits::cond_wait(&cond_, &scoped_lock.mutex_.mutex_); in Wait() 199 CHECK_EQ(0, Traits::mutex_init(&mutex_)); in MutexBase() 204 Traits::mutex_destroy(&mutex_); in ~MutexBase() 209 Traits::mutex_lock(&mutex_); in Lock() [all …]
|
D | histogram-inl.h | 13 Mutex::ScopedLock lock(mutex_); in Reset() 20 Mutex::ScopedLock lock(mutex_); in Min() 25 Mutex::ScopedLock lock(mutex_); in Max() 30 Mutex::ScopedLock lock(mutex_); in Mean() 35 Mutex::ScopedLock lock(mutex_); in Stddev() 40 Mutex::ScopedLock lock(mutex_); in Percentile() 49 Mutex::ScopedLock lock(mutex_); in Percentiles() 60 Mutex::ScopedLock lock(mutex_); in Record() 65 Mutex::ScopedLock lock(mutex_); in RecordDelta() 80 Mutex::ScopedLock lock(mutex_); in GetMemorySize()
|
/third_party/abseil-cpp/absl/synchronization/ |
D | notification.cc | 28 MutexLock l(&this->mutex_); in Notify() 45 MutexLock l(&this->mutex_); in ~Notification() 50 this->mutex_.LockWhen(Condition(&HasBeenNotifiedInternal, in WaitForNotification() 52 this->mutex_.Unlock(); in WaitForNotification() 60 notified = this->mutex_.LockWhenWithTimeout( in WaitForNotificationWithTimeout() 62 this->mutex_.Unlock(); in WaitForNotificationWithTimeout() 70 notified = this->mutex_.LockWhenWithDeadline( in WaitForNotificationWithDeadline() 72 this->mutex_.Unlock(); in WaitForNotificationWithDeadline()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | notification.cc | 28 MutexLock l(&this->mutex_); in Notify() 45 MutexLock l(&this->mutex_); in ~Notification() 50 this->mutex_.LockWhen(Condition(&HasBeenNotifiedInternal, in WaitForNotification() 52 this->mutex_.Unlock(); in WaitForNotification() 60 notified = this->mutex_.LockWhenWithTimeout( in WaitForNotificationWithTimeout() 62 this->mutex_.Unlock(); in WaitForNotificationWithTimeout() 70 notified = this->mutex_.LockWhenWithDeadline( in WaitForNotificationWithDeadline() 72 this->mutex_.Unlock(); in WaitForNotificationWithDeadline()
|
/third_party/flutter/engine/flutter/fml/synchronization/ |
D | waitable_event.cc | 58 std::scoped_lock locker(mutex_); in Signal() 64 std::scoped_lock locker(mutex_); in Reset() 69 std::unique_lock<std::mutex> locker(mutex_); in Wait() 76 std::unique_lock<std::mutex> locker(mutex_); in WaitWithTimeout() 113 std::scoped_lock locker(mutex_); in IsSignaledForTest() 120 std::scoped_lock locker(mutex_); in Signal() 127 std::scoped_lock locker(mutex_); in Reset() 132 std::unique_lock<std::mutex> locker(mutex_); in Wait() 144 std::unique_lock<std::mutex> locker(mutex_); in WaitWithTimeout() 163 std::scoped_lock locker(mutex_); in IsSignaledForTest()
|
/third_party/re2/util/ |
D | mutex.h | 50 MutexType mutex_; 66 Mutex::Mutex() { SAFE_PTHREAD(pthread_rwlock_init(&mutex_, NULL)); } in Mutex() 67 Mutex::~Mutex() { SAFE_PTHREAD(pthread_rwlock_destroy(&mutex_)); } in ~Mutex() 68 void Mutex::Lock() { SAFE_PTHREAD(pthread_rwlock_wrlock(&mutex_)); } in Lock() 69 void Mutex::Unlock() { SAFE_PTHREAD(pthread_rwlock_unlock(&mutex_)); } in Unlock() 70 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } in ReaderLock() 71 void Mutex::ReaderUnlock() { SAFE_PTHREAD(pthread_rwlock_unlock(&mutex_)); } in ReaderUnlock() 79 void Mutex::Lock() { mutex_.lock(); } in Lock() 80 void Mutex::Unlock() { mutex_.unlock(); } in Unlock()
|
/third_party/boost/boost/container/detail/ |
D | node_pool.hpp | 89 scoped_lock<default_mutex> guard(mutex_); in allocate_node() 98 scoped_lock<default_mutex> guard(mutex_); in deallocate_node() 108 scoped_lock<default_mutex> guard(mutex_); in allocate_nodes() 116 scoped_lock<default_mutex> guard(mutex_); in deallocate_nodes() 125 scoped_lock<default_mutex> guard(mutex_); in deallocate_free_blocks() 134 scoped_lock<default_mutex> guard(mutex_); in purge_blocks() 142 scoped_lock<default_mutex> guard(mutex_); in num_free_nodes() 148 default_mutex mutex_; member in boost::container::dtl::shared_node_pool
|
/third_party/flutter/engine/flutter/lib/ui/plugins/ |
D | callback_cache.h | 33 FML_LOCKS_EXCLUDED(mutex_); 35 static Dart_Handle GetCallback(int64_t handle) FML_LOCKS_EXCLUDED(mutex_); 38 int64_t handle) FML_LOCKS_EXCLUDED(mutex_); 40 static void LoadCacheFromDisk() FML_LOCKS_EXCLUDED(mutex_); 47 static void SaveCacheToDisk() FML_EXCLUSIVE_LOCKS_REQUIRED(mutex_); 49 static std::mutex mutex_; variable 53 FML_GUARDED_BY(mutex_);
|
/third_party/boost/boost/thread/ |
D | latch.hpp | 74 boost::unique_lock<boost::mutex> lk(mutex_); in wait() 83 boost::unique_lock<boost::mutex> lk(mutex_); in try_wait() 92 boost::unique_lock<boost::mutex> lk(mutex_); in wait_for() 105 boost::unique_lock<boost::mutex> lk(mutex_); in wait_until() 117 boost::unique_lock<boost::mutex> lk(mutex_); in count_down() 124 boost::unique_lock<boost::mutex> lk(mutex_); in try_count_down() 137 boost::unique_lock<boost::mutex> lk(mutex_); in count_down_and_wait() 154 boost::lock_guard<boost::mutex> lk(mutex_); in reset() 160 mutex mutex_; member in boost::latch
|
D | completion_latch.hpp | 112 boost::unique_lock<boost::mutex> lk(mutex_); in wait() 120 boost::unique_lock<boost::mutex> lk(mutex_); in try_wait() 130 boost::unique_lock<boost::mutex> lk(mutex_); in wait_for() 142 boost::unique_lock<boost::mutex> lk(mutex_); in wait_until() 153 unique_lock<mutex> lk(mutex_); in count_down() 166 boost::unique_lock<boost::mutex> lk(mutex_); in count_down_and_wait() 183 boost::lock_guard<boost::mutex> lk(mutex_); in reset() 199 boost::lock_guard<boost::mutex> lk(mutex_); in then() 207 boost::lock_guard<boost::mutex> lk(mutex_); in then() 214 mutex mutex_; member in boost::completion_latch
|
/third_party/flutter/engine/flutter/lib/ui/isolate_name_server/ |
D | isolate_name_server.h | 27 FML_LOCKS_EXCLUDED(mutex_); 32 FML_LOCKS_EXCLUDED(mutex_); 37 FML_LOCKS_EXCLUDED(mutex_); 41 FML_EXCLUSIVE_LOCKS_REQUIRED(mutex_); 43 mutable std::mutex mutex_; variable 44 std::map<std::string, Dart_Port> port_mapping_ FML_GUARDED_BY(mutex_);
|
/third_party/boost/boost/smart_ptr/detail/ |
D | atomic_count_pt.hpp | 65 BOOST_VERIFY( pthread_mutex_init( &mutex_, 0 ) == 0 ); in atomic_count() 70 BOOST_VERIFY( pthread_mutex_destroy( &mutex_ ) == 0 ); in ~atomic_count() 75 scoped_lock lock(mutex_); in operator ++() 81 scoped_lock lock(mutex_); in operator --() 87 scoped_lock lock(mutex_); in operator long() 96 mutable pthread_mutex_t mutex_; member in boost::detail::atomic_count
|
/third_party/boost/boost/asio/detail/impl/ |
D | strand_executor_service.ipp | 29 mutex_(), 39 boost::asio::detail::mutex::scoped_lock lock(mutex_); 44 impl->mutex_->lock(); 48 impl->mutex_->unlock(); 60 boost::asio::detail::mutex::scoped_lock lock(mutex_); 70 new_impl->mutex_ = mutexes_[mutex_index].get(); 85 boost::asio::detail::mutex::scoped_lock lock(service_->mutex_); 99 impl->mutex_->lock(); 102 impl->mutex_->unlock(); 110 impl->mutex_->unlock(); [all …]
|
D | strand_service.ipp | 35 impl_->mutex_.lock(); 38 impl_->mutex_.unlock(); 49 mutex_(), 58 boost::asio::detail::mutex::scoped_lock lock(mutex_); 72 boost::asio::detail::mutex::scoped_lock lock(mutex_); 102 impl_->mutex_.lock(); 105 impl_->mutex_.unlock(); 117 impl->mutex_.lock(); 122 impl->mutex_.unlock(); 139 impl->mutex_.unlock(); [all …]
|
/third_party/boost/libs/asio/include/boost/asio/detail/impl/ |
D | strand_executor_service.ipp | 29 mutex_(), 39 boost::asio::detail::mutex::scoped_lock lock(mutex_); 44 impl->mutex_->lock(); 48 impl->mutex_->unlock(); 60 boost::asio::detail::mutex::scoped_lock lock(mutex_); 70 new_impl->mutex_ = mutexes_[mutex_index].get(); 85 boost::asio::detail::mutex::scoped_lock lock(service_->mutex_); 99 impl->mutex_->lock(); 102 impl->mutex_->unlock(); 110 impl->mutex_->unlock(); [all …]
|
D | strand_service.ipp | 35 impl_->mutex_.lock(); 38 impl_->mutex_.unlock(); 49 mutex_(), 58 boost::asio::detail::mutex::scoped_lock lock(mutex_); 72 boost::asio::detail::mutex::scoped_lock lock(mutex_); 102 impl_->mutex_.lock(); 105 impl_->mutex_.unlock(); 117 impl->mutex_.lock(); 122 impl->mutex_.unlock(); 139 impl->mutex_.unlock(); [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cordz_info.h | 132 void Lock(MethodIdentifier method) ABSL_EXCLUSIVE_LOCK_FUNCTION(mutex_); 137 void Unlock() ABSL_UNLOCK_FUNCTION(mutex_); 140 void AssertHeld() ABSL_ASSERT_EXCLUSIVE_LOCK(mutex_); 154 CordRep* RefCordRep() const ABSL_LOCKS_EXCLUDED(mutex_); 242 mutable absl::Mutex mutex_; variable 243 CordRep* rep_ ABSL_GUARDED_BY(mutex_); 276 inline void CordzInfo::AssertHeld() ABSL_ASSERT_EXCLUSIVE_LOCK(mutex_) { in AssertHeld() 278 mutex_.AssertHeld(); in AssertHeld() 289 inline CordRep* CordzInfo::RefCordRep() const ABSL_LOCKS_EXCLUDED(mutex_) { in RefCordRep() 290 MutexLock lock(&mutex_); in RefCordRep()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | thread_utils.c | 54 pthread_mutex_t mutex_; member 209 pthread_mutex_lock(&impl->mutex_); in ThreadLoop() 211 pthread_cond_wait(&impl->condition_, &impl->mutex_); in ThreadLoop() 224 pthread_mutex_unlock(&impl->mutex_); in ThreadLoop() 238 pthread_mutex_lock(&impl->mutex_); in ChangeState() 242 pthread_cond_wait(&impl->condition_, &impl->mutex_); in ChangeState() 251 pthread_mutex_unlock(&impl->mutex_); in ChangeState() 256 pthread_mutex_unlock(&impl->mutex_); in ChangeState() 287 if (pthread_mutex_init(&impl->mutex_, NULL)) { in Reset() 291 pthread_mutex_destroy(&impl->mutex_); in Reset() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/ |
D | thread_utils.c | 54 pthread_mutex_t mutex_; member 209 pthread_mutex_lock(&impl->mutex_); in ThreadLoop() 211 pthread_cond_wait(&impl->condition_, &impl->mutex_); in ThreadLoop() 224 pthread_mutex_unlock(&impl->mutex_); in ThreadLoop() 238 pthread_mutex_lock(&impl->mutex_); in ChangeState() 242 pthread_cond_wait(&impl->condition_, &impl->mutex_); in ChangeState() 251 pthread_mutex_unlock(&impl->mutex_); in ChangeState() 256 pthread_mutex_unlock(&impl->mutex_); in ChangeState() 287 if (pthread_mutex_init(&impl->mutex_, NULL)) { in Reset() 291 pthread_mutex_destroy(&impl->mutex_); in Reset() [all …]
|