Home
last modified time | relevance | path

Searched defs:mu (Results 1 – 25 of 206) sorted by relevance

123456789

/third_party/grpc/include/grpcpp/impl/codegen/
Dsync.h71 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/
Dsync_abseil.cc43 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()
Dsync_posix.cc40 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()
Dsync_windows.cc30 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/
Dsync.h149 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/
Dmutex.h525 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()
Dmutex_benchmark.cc30 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
Dmutex.cc453 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/
Dmutex_benchmark.cc30 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
Dmutex.h540 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()
Dmutex.cc442 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/
Dsys.h63 #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/
Dtest_logistic.py95 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
Dtest_cauchy.py95 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/
Dmutex_nonprod.cc95 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()
Dwaiter.cc192 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/
Dlognormal.hpp98 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/
Dmutex.h92 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/
Dcallback_unary_ping_pong.h42 std::mutex* mu, std::condition_variable* cv) { in SendCallbackUnaryPingPong()
80 std::mutex mu; in BM_CallbackUnaryPingPong() local
Dbm_pollset.cc52 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/
Dwaiter.cc128 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/
Dpollset_custom.cc41 gpr_mu mu; member
50 static void pollset_init(grpc_pollset* pollset, gpr_mu** mu) { in pollset_init()
/third_party/grpc/test/core/iomgr/
Dpollset_windows_starvation_test.cc39 gpr_mu mu; member
75 gpr_mu* mu; in main() local
/third_party/boost/libs/accumulators/test/
Dmedian.cpp31 double mu = 1.; in test_stat() local
59 double mu = 1.; in test_persistency() local
/third_party/protobuf/src/google/protobuf/stubs/
Dmutex.h118 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock()
132 explicit MutexLockMaybe(Mutex *mu) : in MutexLockMaybe()

123456789