/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
H A D | mutex_test.cc | 72 absl::Mutex mu; member 95 absl::MutexLock l(&cxt->mu); in TestMu() 106 } while (!cxt->mu.TryLock()); in TestTry() 110 cxt->mu.Unlock(); in TestTry() 116 absl::ReaderMutexLock l(&cxt->mu); in TestR20ms() 118 cxt->mu.AssertReaderHeld(); in TestR20ms() 125 absl::WriterMutexLock l(&cxt->mu); in TestRW() 128 cxt->mu.AssertHeld(); in TestRW() 129 cxt->mu.AssertReaderHeld(); in TestRW() 133 absl::ReaderMutexLock l(&cxt->mu); in TestRW() 344 EndTest(int *c0, int *c1, absl::Mutex *mu, absl::CondVar *cv, const std::function<void(int)>& cb) EndTest() argument 410 absl::Mutex mu; global() member 536 absl::Mutex mu; global() member 625 absl::Mutex mu; global() member 711 absl::Mutex mu; TEST() local 761 absl::Mutex mu; global() member 862 auto mu = absl::make_unique<absl::Mutex[]>(kNumLocks); global() variable 884 ReaderForReaderOnCondVar(absl::Mutex *mu, absl::CondVar *cv, int *running) ReaderForReaderOnCondVar() argument 954 absl::Mutex mu; TEST() local 1429 absl::Mutex mu; global() local 1463 absl::Mutex mu; global() local 1498 absl::Mutex mu; global() local 1534 absl::Mutex mu; global() local [all...] |
H A D | mutex.h | 150 // ABSL_CONST_INIT absl::Mutex mu(absl::kConstInit); 460 static void IncrementSynchSem(Mutex *mu, base_internal::PerThreadSynch *w); 461 static bool DecrementSynchSem(Mutex *mu, base_internal::PerThreadSynch *w, 522 // Calls `mu->Lock()` and returns when that call returns. That is, `*mu` is 524 // `mu` be dereferenceable. 525 explicit MutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { in ABSL_EXCLUSIVE_LOCK_FUNCTION() 529 // Like above, but calls `mu [all...] |
H A D | mutex_benchmark.cc | 30 static absl::Mutex* mu = new absl::Mutex; in BM_Mutex() local 32 absl::MutexLock lock(mu); in BM_Mutex() 49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() argument 58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() argument 103 absl::Mutex mu; in BM_MutexEnqueue() member 137 absl::MutexLock l(&shared->mu); in BM_MutexEnqueue() 183 MutexType mu; in BM_Contended() member 200 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended() 275 absl::Mutex mu; BM_ConditionWaiters() local [all...] |
H A D | mutex.cc | 108 static inline bool EvalConditionAnnotated(const Condition *cond, Mutex *mu, 453 Mutex *mu = static_cast<Mutex *>(obj); in PostSynchEvent() local 457 EvalConditionAnnotated(&cond, mu, locking, trylock, read_lock); in PostSynchEvent() 513 Mutex *mu; // lock acquired member 542 static PerThreadSynch *Synch_GetPerThreadAnnotated(Mutex *mu) { in Synch_GetPerThreadAnnotated() argument 543 if (mu) { in Synch_GetPerThreadAnnotated() 544 ABSL_TSAN_MUTEX_PRE_DIVERT(mu, 0); in Synch_GetPerThreadAnnotated() 547 if (mu) { in Synch_GetPerThreadAnnotated() 548 ABSL_TSAN_MUTEX_POST_DIVERT(mu, 0); in Synch_GetPerThreadAnnotated() 562 void Mutex::IncrementSynchSem(Mutex *mu, PerThreadSync argument 573 DecrementSynchSem(Mutex *mu, PerThreadSynch *w, KernelTimeout t) DecrementSynchSem() argument 889 Enqueue(PerThreadSynch *head, SynchWaitParams *waitp, intptr_t mu, int flags) Enqueue() argument 1181 LockEnter(Mutex* mu, GraphId id, SynchLocksHeld *held_locks) LockEnter() argument 1205 LockLeave(Mutex* mu, GraphId id, SynchLocksHeld *held_locks) LockLeave() argument 1241 DebugOnlyLockEnter(Mutex *mu) DebugOnlyLockEnter() argument 1251 DebugOnlyLockEnter(Mutex *mu, GraphId id) DebugOnlyLockEnter() argument 1261 DebugOnlyLockLeave(Mutex *mu) DebugOnlyLockLeave() argument 1324 DeadlockCheck(Mutex *mu) DeadlockCheck() argument 1412 DebugOnlyDeadlockCheck(Mutex *mu) DebugOnlyDeadlockCheck() argument 1454 TryAcquireWithSpinning(std::atomic<intptr_t>* mu) TryAcquireWithSpinning() argument 1774 EvalConditionAnnotated(const Condition *cond, Mutex *mu, bool locking, bool trylock, bool read_lock) EvalConditionAnnotated() argument 1824 EvalConditionIgnored(Mutex *mu, const Condition *cond) EvalConditionIgnored() argument 2585 WaitWithTimeout(Mutex *mu, absl::Duration timeout) WaitWithTimeout() argument 2589 WaitWithDeadline(Mutex *mu, absl::Time deadline) WaitWithDeadline() argument 2593 Wait(Mutex *mu) Wait() argument 2605 Mutex *mu = w->waitp->cvmu; Wakeup() local [all...] |
/third_party/python/Modules/clinic/ |
H A D | _statisticsmodule.c.h | 6 "_normal_dist_inv_cdf($module, p, mu, sigma, /)\n" 14 _statistics__normal_dist_inv_cdf_impl(PyObject *module, double p, double mu, 22 double mu; in _statistics__normal_dist_inv_cdf() local 40 mu = PyFloat_AS_DOUBLE(args[1]); in _statistics__normal_dist_inv_cdf() 44 mu = PyFloat_AsDouble(args[1]); in _statistics__normal_dist_inv_cdf() 45 if (mu == -1.0 && PyErr_Occurred()) { in _statistics__normal_dist_inv_cdf() 59 _return_value = _statistics__normal_dist_inv_cdf_impl(module, p, mu, sigma); in _statistics__normal_dist_inv_cdf()
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/ |
H A D | log.go | 70 mu sync.Mutex 85 m.mu.Lock() 86 defer m.mu.Unlock() 95 m.mu.Lock() 96 defer m.mu.Unlock() 105 m.mu.Lock() 106 defer m.mu.Unlock() 111 m.mu.Lock() 112 defer m.mu.Unlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
H A D | log.go | 70 mu sync.Mutex 85 m.mu.Lock() 86 defer m.mu.Unlock() 95 m.mu.Lock() 96 defer m.mu.Unlock() 105 m.mu.Lock() 106 defer m.mu.Unlock() 111 m.mu.Lock() 112 defer m.mu.Unlock()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
H A D | waiter.cc | 128 explicit PthreadMutexHolder(pthread_mutex_t *mu) : mu_(mu) { in PthreadMutexHolder() argument 342 explicit LockHolder(SRWLOCK* mu) : mu_(mu) { in LockHolder() argument 358 auto *mu = ::new (static_cast<void *>(&mu_storage_)) SRWLOCK; in Waiter() local 360 InitializeSRWLock(mu); in Waiter() 372 SRWLOCK *mu = WinHelper::GetLock(this); in Wait() local 375 LockHolder h(mu); in Wait() 385 if (!SleepConditionVariableSRW(cv, mu, t.InMillisecondsFromNow(), 0)) { in Wait()
|
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/ |
H A D | log.go | 70 mu sync.Mutex 85 m.mu.Lock() 86 defer m.mu.Unlock() 95 m.mu.Lock() 96 defer m.mu.Unlock() 105 m.mu.Lock() 106 defer m.mu.Unlock() 111 m.mu.Lock() 112 defer m.mu.Unlock()
|
/third_party/ffmpeg/libavcodec/ |
H A D | aacps_tablegen.h | 159 float alpha, gamma, mu, rho; in ps_tableinit() local 163 mu = c + 1.0f / c; in ps_tableinit() 164 mu = sqrtf(1 + (4 * rho * rho - 4)/(mu * mu)); in ps_tableinit() 165 gamma = atanf(sqrtf((1.0f - mu)/(1.0f + mu))); in ps_tableinit()
|
H A D | twinvq.h | 191 static inline float twinvq_mulawinv(float y, float clip, float mu) in twinvq_mulawinv() argument 194 return clip * FFSIGN(y) * (exp(log(1 + mu) * fabs(y)) - 1) / mu; in twinvq_mulawinv()
|
H A D | texturedspenc.c | 248 int mu[3], min[3], max[3]; in optimize_colors() local 267 mu[ch] = (muv + 8) >> 4; in optimize_colors() 275 int r = block[x * 4 + stride * y + 0] - mu[0]; in optimize_colors() 276 int g = block[x * 4 + stride * y + 1] - mu[1]; in optimize_colors() 277 int b = block[x * 4 + stride * y + 2] - mu[2]; in optimize_colors()
|
/third_party/lwip/src/include/lwip/ |
H A D | sys.h | 63 #define sys_mutex_new(mu) ERR_OK 64 #define sys_mutex_lock(mu) 65 #define sys_mutex_unlock(mu) 66 #define sys_mutex_free(mu) 67 #define sys_mutex_valid(mu) 0 68 #define sys_mutex_set_invalid(mu)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | low_level_alloc.cc | 205 base_internal::SpinLock mu; member 207 AllocList freelist ABSL_GUARDED_BY(mu); 209 int32_t allocation_count ABSL_GUARDED_BY(mu); 219 uint32_t random ABSL_GUARDED_BY(mu); 283 ABSL_EXCLUSIVE_LOCK_FUNCTION(arena->mu) 292 arena_->mu.Lock(); in arena_() 296 arena_->mu.Unlock(); in ABSL_UNLOCK_FUNCTION() 351 : mu(base_internal::SCHEDULE_KERNEL_ONLY), in Arena() 366 // L < meta_data_arena->mu 382 // L < arena->mu, [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | mutex.h | 115 // MutexLock(mu) acquires mu when constructed and releases it when destroyed. 118 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock() argument 129 // MutexLockMaybe is like MutexLock, but is a no-op when mu is nullptr. 132 explicit MutexLockMaybe(Mutex *mu) : in MutexLockMaybe() argument 133 mu_(mu) { if (this->mu_ != nullptr) { this->mu_->Lock(); } } in MutexLockMaybe()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_anlms.c | 44 float mu; member 68 { "mu", "set the filter mu", OFFSET(mu), AV_OPT_TYPE_FLOAT, {.dbl=0.75}, 0, 2, AT }, 121 const float mu = s->mu; in process_sample() local 122 const float a = 1.f - leakage * mu; in process_sample() 134 b = mu * e / norm; in process_sample()
|
H A D | vf_dblur.c | 169 float mu, nu, R1, R2, w1, w2; in set_params() local 174 mu = cosf(angle); in set_params() 176 R1 = (mu * r) * (mu * r); in set_params() 178 s->R3 = mu * nu * r * r; in set_params()
|
/third_party/python/Lib/ |
H A D | random.py | 544 def normalvariate(self, mu=0.0, sigma=1.0): 547 mu is the mean, and sigma is the standard deviation. 563 return mu + z * sigma 565 def gauss(self, mu=0.0, sigma=1.0): 568 mu is the mean, and sigma is the standard deviation. This is 581 # (mu = 0, sigma = 1). 601 return mu + z * sigma 603 def lognormvariate(self, mu, sigma): 607 normal distribution with mean mu and standard deviation sigma. 608 mu ca [all...] |
H A D | statistics.py | 71 >>> mu = mean(data) 72 >>> pvariance(data, mu) 866 def pvariance(data, mu=None): 870 value. The optional argument mu, if given, should be the mean of 886 >>> mu = mean(data) 887 >>> pvariance(data, mu) 901 T, ss, c, n = _ss(data, mu) 925 def pstdev(data, mu=None): 934 T, ss, c, n = _ss(data, mu) 1089 def _normal_dist_inv_cdf(p, mu, sigm [all...] |
/third_party/python/Modules/ |
H A D | _statisticsmodule.c | 23 mu: double 29 _statistics__normal_dist_inv_cdf_impl(PyObject *module, double p, double mu, in _statistics__normal_dist_inv_cdf_impl() argument 62 return mu + (x * sigma); in _statistics__normal_dist_inv_cdf_impl() 115 return mu + (x * sigma); in _statistics__normal_dist_inv_cdf_impl()
|
/third_party/python/Include/ |
H A D | dynamic_annotations.h | 137 /* Instruct the tool to create a happens-before arc between mu->Unlock() and 138 mu->Lock(). This annotation may slow down the race detector and hide real 144 #define _Py_ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX(mu) \ 145 AnnotateMutexIsUsedAsCondVar(__FILE__, __LINE__, mu) 353 #define _Py_ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX(mu) /* empty */ 354 #define _Py_ANNOTATE_MUTEX_IS_USED_AS_CONDVAR(mu) /* empty */ 427 const volatile void *mu);
|
/third_party/backends/backend/ |
H A D | kvs40xx.c | 80 pthread_mutex_init(&b->mu, NULL); in buf_init() 114 pthread_mutex_lock(&b->mu); in buf_set_st() 118 pthread_mutex_unlock(&b->mu); in buf_set_st() 123 pthread_mutex_lock(&b->mu); in push_buf() 127 pthread_mutex_unlock(&b->mu); in push_buf() 136 pthread_mutex_lock(&b->mu); in get_buf() 138 pthread_cond_wait(&b->cond, &b->mu); in get_buf() 145 pthread_mutex_unlock(&b->mu); in get_buf()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | libtommath.c | 184 static int mp_reduce(mp_int * x, mp_int * m, mp_int * mu); 1885 mp_int M[TAB_SIZE], res, mu; in s_mp_exptmod() local 1931 /* create mu, used for Barrett reduction */ in s_mp_exptmod() 1932 if ((err = mp_init (&mu)) != MP_OKAY) { in s_mp_exptmod() 1937 if ((err = mp_reduce_setup (&mu, P)) != MP_OKAY) { in s_mp_exptmod() 1942 if ((err = mp_reduce_2k_setup_l (P, &mu)) != MP_OKAY) { in s_mp_exptmod() 1975 if ((err = redux (&M[1 << (winsize - 1)], P, &mu)) != MP_OKAY) { in s_mp_exptmod() 1987 if ((err = redux (&M[x], P, &mu)) != MP_OKAY) { in s_mp_exptmod() 2036 if ((err = redux (&res, P, &mu)) != MP_OKAY) { in s_mp_exptmod() 2053 if ((err = redux (&res, P, &mu)) ! in s_mp_exptmod() 2258 mp_reduce(mp_int * x, mp_int * m, mp_int * mu) mp_reduce() argument 2750 register mp_digit mu; fast_mp_montgomery_reduce() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | libtommath.c | 184 static int mp_reduce(mp_int * x, mp_int * m, mp_int * mu); 1885 mp_int M[TAB_SIZE], res, mu; in s_mp_exptmod() local 1931 /* create mu, used for Barrett reduction */ in s_mp_exptmod() 1932 if ((err = mp_init (&mu)) != MP_OKAY) { in s_mp_exptmod() 1937 if ((err = mp_reduce_setup (&mu, P)) != MP_OKAY) { in s_mp_exptmod() 1942 if ((err = mp_reduce_2k_setup_l (P, &mu)) != MP_OKAY) { in s_mp_exptmod() 1975 if ((err = redux (&M[1 << (winsize - 1)], P, &mu)) != MP_OKAY) { in s_mp_exptmod() 1987 if ((err = redux (&M[x], P, &mu)) != MP_OKAY) { in s_mp_exptmod() 2036 if ((err = redux (&res, P, &mu)) != MP_OKAY) { in s_mp_exptmod() 2053 if ((err = redux (&res, P, &mu)) ! in s_mp_exptmod() 2258 mp_reduce(mp_int * x, mp_int * m, mp_int * mu) mp_reduce() argument 2750 register mp_digit mu; fast_mp_montgomery_reduce() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_wolfssl.c | 1543 mp_int mu; in crypto_ec_point_add() local 1552 ret = mp_init(&mu); in crypto_ec_point_add() 1556 ret = mp_montgomery_calc_normalization(&mu, modulus); in crypto_ec_point_add() 1558 mp_clear(&mu); in crypto_ec_point_add() 1562 if (!mp_isone(&mu)) { in crypto_ec_point_add() 1565 mp_clear(&mu); in crypto_ec_point_add() 1571 mp_clear(&mu); in crypto_ec_point_add() 1575 if (mp_mulmod(pa->x, &mu, modulus, ta->x) != MP_OKAY || in crypto_ec_point_add() 1576 mp_mulmod(pa->y, &mu, modulus, ta->y) != MP_OKAY || in crypto_ec_point_add() 1577 mp_mulmod(pa->z, &mu, modulu in crypto_ec_point_add() [all...] |