/third_party/grpc/include/grpcpp/impl/codegen/ |
D | sync.h | 71 explicit MutexLock(Mutex* mu) : mu_(mu->get()) { in MutexLock() 74 explicit MutexLock(gpr_mu* mu) : mu_(mu) { in MutexLock() 88 explicit ReleasableMutexLock(Mutex* mu) : mu_(mu->get()) { in ReleasableMutexLock() 91 explicit ReleasableMutexLock(gpr_mu* mu) : mu_(mu) { in ReleasableMutexLock() 129 int Wait(Mutex* mu) { in Wait() 133 int Wait(Mutex* mu, const gpr_timespec& deadline) { in Wait() 138 void WaitUntil(Mutex* mu, Predicate pred) { in WaitUntil()
|
/third_party/grpc/src/core/lib/gpr/ |
D | sync_abseil.cc | 43 void gpr_mu_init(gpr_mu* mu) { in gpr_mu_init() 49 void gpr_mu_destroy(gpr_mu* mu) { in gpr_mu_destroy() 53 void gpr_mu_lock(gpr_mu* mu) ABSL_NO_THREAD_SAFETY_ANALYSIS { in gpr_mu_lock() 58 void gpr_mu_unlock(gpr_mu* mu) ABSL_NO_THREAD_SAFETY_ANALYSIS { in gpr_mu_unlock() 63 int gpr_mu_trylock(gpr_mu* mu) { in gpr_mu_trylock() 81 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait()
|
D | sync_posix.cc | 40 void gpr_mu_init(gpr_mu* mu) { in gpr_mu_init() 50 void gpr_mu_destroy(gpr_mu* mu) { in gpr_mu_destroy() 59 void gpr_mu_lock(gpr_mu* mu) { in gpr_mu_lock() 71 void gpr_mu_unlock(gpr_mu* mu) { in gpr_mu_unlock() 80 int gpr_mu_trylock(gpr_mu* mu) { in gpr_mu_trylock() 119 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait()
|
D | sync_windows.cc | 30 void gpr_mu_init(gpr_mu* mu) { in gpr_mu_init() 35 void gpr_mu_destroy(gpr_mu* mu) { DeleteCriticalSection(&mu->cs); } in gpr_mu_destroy() 37 void gpr_mu_lock(gpr_mu* mu) { in gpr_mu_lock() 43 void gpr_mu_unlock(gpr_mu* mu) { in gpr_mu_unlock() 48 int gpr_mu_trylock(gpr_mu* mu) { in gpr_mu_trylock() 68 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait()
|
/third_party/grpc/src/core/lib/gprpp/ |
D | sync.h | 149 static void WaitUntil(CondVar* cv, Mutex* mu, Predicate pred) { in WaitUntil() 157 static bool WaitUntilWithTimeout(CondVar* cv, Mutex* mu, Predicate pred, in WaitUntilWithTimeout() 167 static bool WaitUntilWithDeadline(CondVar* cv, Mutex* mu, Predicate pred, in WaitUntilWithDeadline() 178 explicit MutexLockForGprMu(gpr_mu* mu) : mu_(mu) { gpr_mu_lock(mu_); } in MutexLockForGprMu() 191 explicit LockableAndReleasableMutexLock(Mutex* mu) in LockableAndReleasableMutexLock()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | mutex.h | 525 explicit MutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { in MutexLock() 532 explicit MutexLock(Mutex *mu, const Condition &cond) in MutexLock() 555 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() 559 explicit ReaderMutexLock(Mutex *mu, const Condition &cond) in ReaderMutexLock() 582 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock() 587 explicit WriterMutexLock(Mutex *mu, const Condition &cond) in WriterMutexLock() 876 explicit MutexLockMaybe(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in MutexLockMaybe() 883 explicit MutexLockMaybe(Mutex *mu, const Condition &cond) in MutexLockMaybe() 909 explicit ReleasableMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in ReleasableMutexLock() 914 explicit ReleasableMutexLock(Mutex *mu, const Condition &cond) in ReleasableMutexLock()
|
D | mutex_benchmark.cc | 30 static absl::Mutex* mu = new absl::Mutex; in BM_Mutex() local 49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() 58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() 103 absl::Mutex mu; in BM_MutexEnqueue() member 183 MutexType mu; in BM_Contended() member 275 absl::Mutex mu; in BM_ConditionWaiters() local
|
D | mutex.cc | 453 Mutex *mu = static_cast<Mutex *>(obj); in PostSynchEvent() local 513 Mutex *mu; // lock acquired member 542 static PerThreadSynch *Synch_GetPerThreadAnnotated(Mutex *mu) { in Synch_GetPerThreadAnnotated() 562 void Mutex::IncrementSynchSem(Mutex *mu, PerThreadSynch *w) { in IncrementSynchSem() 573 bool Mutex::DecrementSynchSem(Mutex *mu, PerThreadSynch *w, KernelTimeout t) { in DecrementSynchSem() 890 SynchWaitParams *waitp, intptr_t mu, int flags) { in Enqueue() 1161 static GraphId GetGraphIdLocked(Mutex *mu) in GetGraphIdLocked() 1171 static GraphId GetGraphId(Mutex *mu) ABSL_LOCKS_EXCLUDED(deadlock_graph_mu) { in GetGraphId() 1181 static void LockEnter(Mutex* mu, GraphId id, SynchLocksHeld *held_locks) { in LockEnter() 1205 static void LockLeave(Mutex* mu, GraphId id, SynchLocksHeld *held_locks) { in LockLeave() [all …]
|
/third_party/abseil-cpp/absl/synchronization/ |
D | mutex_benchmark.cc | 30 static absl::Mutex* mu = new absl::Mutex; in BM_Mutex() local 49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() 58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() 67 MutexType mu; in BM_Contended() member 189 absl::Mutex mu; in BM_ConditionWaiters() local
|
D | mutex.h | 540 explicit MutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { in MutexLock() 561 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() 582 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock() 867 explicit MutexLockMaybe(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in MutexLockMaybe() 891 explicit ReleasableMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in ReleasableMutexLock()
|
D | mutex.cc | 442 Mutex *mu = static_cast<Mutex *>(obj); in PostSynchEvent() local 502 Mutex *mu; // lock acquired member 531 static PerThreadSynch *Synch_GetPerThreadAnnotated(Mutex *mu) { in Synch_GetPerThreadAnnotated() 551 inline void Mutex::IncrementSynchSem(Mutex *mu, PerThreadSynch *w) { in IncrementSynchSem() 562 bool Mutex::DecrementSynchSem(Mutex *mu, PerThreadSynch *w, KernelTimeout t) { in DecrementSynchSem() 876 SynchWaitParams *waitp, intptr_t mu, int flags) { in Enqueue() 1152 static GraphId GetGraphIdLocked(Mutex *mu) in GetGraphIdLocked() 1162 static GraphId GetGraphId(Mutex *mu) ABSL_LOCKS_EXCLUDED(deadlock_graph_mu) { in GetGraphId() 1172 static void LockEnter(Mutex* mu, GraphId id, SynchLocksHeld *held_locks) { in LockEnter() 1196 static void LockLeave(Mutex* mu, GraphId id, SynchLocksHeld *held_locks) { in LockLeave() [all …]
|
/third_party/lwip/src/include/lwip/ |
D | sys.h | 63 #define sys_mutex_new(mu) ERR_OK argument 64 #define sys_mutex_lock(mu) argument 65 #define sys_mutex_unlock(mu) argument 66 #define sys_mutex_free(mu) argument 67 #define sys_mutex_valid(mu) 0 argument 68 #define sys_mutex_set_invalid(mu) argument
|
/third_party/mindspore/tests/ut/python/nn/probability/distribution/ |
D | test_logistic.py | 95 def construct(self, value, mu, s): argument 123 def construct(self, mu, s): argument 135 def construct(self, mu, s): argument 180 def construct(self, value, mu, s): argument
|
D | test_cauchy.py | 95 def construct(self, value, mu, s): argument 124 def construct(self, mu, s, mu_a, s_a): argument 216 def construct(self, value, mu, s): argument
|
/third_party/abseil-cpp/absl/synchronization/internal/ |
D | mutex_nonprod.cc | 95 void CondVarImpl::Wait(MutexImpl* mu) { in Wait() 100 bool CondVarImpl::WaitWithDeadline(MutexImpl* mu, absl::Time deadline) { in WaitWithDeadline() 163 void CondVarImpl::Wait(MutexImpl* mu) { in Wait() 169 bool CondVarImpl::WaitWithDeadline(MutexImpl* mu, absl::Time deadline) { in WaitWithDeadline() 269 void CondVar::Wait(Mutex* mu) { return impl()->Wait(mu->impl()); } in Wait() 271 bool CondVar::WaitWithDeadline(Mutex* mu, absl::Time deadline) { in WaitWithDeadline() 276 bool CondVar::WaitWithTimeout(Mutex* mu, absl::Duration timeout) { in WaitWithTimeout()
|
D | waiter.cc | 192 explicit PthreadMutexHolder(pthread_mutex_t *mu) : mu_(mu) { in PthreadMutexHolder() 406 explicit LockHolder(SRWLOCK* mu) : mu_(mu) { in LockHolder() 422 auto *mu = ::new (static_cast<void *>(&mu_storage_)) SRWLOCK; in Waiter() local 436 SRWLOCK *mu = WinHelper::GetLock(this); in Wait() local
|
/third_party/boost/boost/math/distributions/ |
D | lognormal.hpp | 98 RealType mu = dist.location(); in pdf() local 221 RealType mu = dist.location(); in mean() local 238 RealType mu = dist.location(); in variance() local 255 RealType mu = dist.location(); in mode() local 271 RealType mu = dist.location(); in median() local 335 RealType mu = dist.location(); in entropy() local
|
/third_party/re2/util/ |
D | mutex.h | 92 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() 104 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() 115 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock(); } in WriterMutexLock()
|
/third_party/grpc/test/cpp/microbenchmarks/ |
D | callback_unary_ping_pong.h | 42 std::mutex* mu, std::condition_variable* cv) { in SendCallbackUnaryPingPong() 80 std::mutex mu; in BM_CallbackUnaryPingPong() local
|
D | bm_pollset.cc | 52 gpr_mu* mu; in BM_CreateDestroyPollset() local 115 gpr_mu* mu; in BM_PollEmptyPollset() local 137 gpr_mu* mu; in BM_PollAddFd() local 217 gpr_mu* mu; in BM_SingleThreadPollOneFd() local
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
D | waiter.cc | 128 explicit PthreadMutexHolder(pthread_mutex_t *mu) : mu_(mu) { in PthreadMutexHolder() 342 explicit LockHolder(SRWLOCK* mu) : mu_(mu) { in LockHolder() 358 auto *mu = ::new (static_cast<void *>(&mu_storage_)) SRWLOCK; in Waiter() local 372 SRWLOCK *mu = WinHelper::GetLock(this); in Wait() local
|
/third_party/grpc/src/core/lib/iomgr/ |
D | pollset_custom.cc | 41 gpr_mu mu; member 50 static void pollset_init(grpc_pollset* pollset, gpr_mu** mu) { in pollset_init()
|
/third_party/grpc/test/core/iomgr/ |
D | pollset_windows_starvation_test.cc | 39 gpr_mu mu; member 75 gpr_mu* mu; in main() local
|
/third_party/boost/libs/accumulators/test/ |
D | median.cpp | 31 double mu = 1.; in test_stat() local 59 double mu = 1.; in test_persistency() local
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | mutex.h | 118 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock() 132 explicit MutexLockMaybe(Mutex *mu) : in MutexLockMaybe()
|