/external/regex-re2/util/ |
atomicops.h | 49 re2::Mutex mu; local 50 re2::MutexLock l(&mu);
|
/external/valgrind/helgrind/tests/ |
tc05_simple_race.c | 11 pthread_mutex_t mu = PTHREAD_MUTEX_INITIALIZER; variable 16 pthread_mutex_lock( &mu ); 18 pthread_mutex_unlock( &mu ); 34 pthread_mutex_lock( &mu ); 36 pthread_mutex_unlock( &mu );
|
tc06_two_races.c | 10 pthread_mutex_t mu = PTHREAD_MUTEX_INITIALIZER; variable 15 pthread_mutex_lock( &mu ); 17 pthread_mutex_unlock( &mu ); 32 pthread_mutex_lock( &mu ); 34 pthread_mutex_unlock( &mu );
|
/external/valgrind/memcheck/tests/ |
reach_thread_register.c | 14 pthread_mutex_t mu = PTHREAD_MUTEX_INITIALIZER; variable 23 pthread_mutex_lock(&mu); 33 pthread_mutex_unlock(&mu); 35 pthread_mutex_lock(&mu); 37 pthread_mutex_unlock(&mu);
|
/art/runtime/base/ |
mutex_test.cc | 27 static void AssertDepth(Mutex& mu, uint32_t expected_depth) { 28 ASSERT_EQ(expected_depth, mu.GetDepth()); 32 mu.AssertNotHeld(Thread::Current()); 34 mu.AssertHeld(Thread::Current()); 40 Mutex mu("test mutex"); 41 MutexTester::AssertDepth(mu, 0U); 42 mu.Lock(Thread::Current()); 43 MutexTester::AssertDepth(mu, 1U); 44 mu.Unlock(Thread::Current()); 45 MutexTester::AssertDepth(mu, 0U) 104 Mutex mu; member in struct:art::RecursiveLockWait [all...] |
/external/iproute2/netem/ |
stats.c | 24 double mu=0.0, sigma=0.0, sumsquare=0.0, sum=0.0, top=0.0, rho=0.0; local 43 mu = sum/(double)n; 44 sigma = sqrt((sumsquare - (double)n*mu*mu)/(double)(n-1)); 47 top += ((double)x[i]-mu)*((double)x[i-1]-mu); 48 sigma2 += ((double)x[i-1] - mu)*((double)x[i-1] - mu); 53 printf("mu = %12.6f\n", mu); [all...] |
maketable.c | 51 arraystats(double *x, int limit, double *mu, double *sigma, double *rho) 62 *mu = sum/(double)n; 63 *sigma = sqrt((sumsquare - (double)n*(*mu)*(*mu))/(double)(n-1)); 66 top += ((double)x[i]- *mu)*((double)x[i-1]- *mu); 67 sigma2 += ((double)x[i-1] - *mu)*((double)x[i-1] - *mu); 93 makedist(double *x, int limit, double mu, double sigma) 107 input = (x[i]-mu)/sigma 200 double mu, sigma, rho; local [all...] |
/build/soong/third_party/zip/ |
register.go | 42 mu sync.Mutex // guards Close and Write 47 w.mu.Lock() 48 defer w.mu.Unlock() 56 w.mu.Lock() 57 defer w.mu.Unlock() 80 mu sync.Mutex // guards Close and Read 85 r.mu.Lock() 86 defer r.mu.Unlock() 94 r.mu.Lock() 95 defer r.mu.Unlock( 105 mu sync.RWMutex \/\/ guards compressor and decompressor maps var [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
SplineInterpolator.java | 88 double mu[] = new double[n]; local 90 mu[0] = 0d; 94 g = 2d * (x[i+1] - x[i - 1]) - h[i - 1] * mu[i -1]; 95 mu[i] = h[i] / g; 109 c[j] = z[j] - mu[j] * c[j + 1];
|
/prebuilts/go/darwin-x86/misc/linkcheck/ |
linkcheck.go | 37 mu sync.Mutex 82 mu.Lock() 83 defer mu.Unlock() 36 mu sync.Mutex var
|
/prebuilts/go/darwin-x86/src/archive/zip/ |
register.go | 42 mu sync.Mutex // guards Close and Write 47 w.mu.Lock() 48 defer w.mu.Unlock() 56 w.mu.Lock() 57 defer w.mu.Unlock() 80 mu sync.Mutex // guards Close and Read 85 r.mu.Lock() 86 defer r.mu.Unlock() 94 r.mu.Lock() 95 defer r.mu.Unlock( 105 mu sync.RWMutex \/\/ guards compressor and decompressor maps var [all...] |
/prebuilts/go/linux-x86/misc/linkcheck/ |
linkcheck.go | 37 mu sync.Mutex 82 mu.Lock() 83 defer mu.Unlock() 36 mu sync.Mutex var
|
/prebuilts/go/linux-x86/src/archive/zip/ |
register.go | 42 mu sync.Mutex // guards Close and Write 47 w.mu.Lock() 48 defer w.mu.Unlock() 56 w.mu.Lock() 57 defer w.mu.Unlock() 80 mu sync.Mutex // guards Close and Read 85 r.mu.Lock() 86 defer r.mu.Unlock() 94 r.mu.Lock() 95 defer r.mu.Unlock( 105 mu sync.RWMutex \/\/ guards compressor and decompressor maps var [all...] |
/external/clang/test/Sema/ |
warn-thread-safety-analysis.c | 35 void mutex_exclusive_lock(struct Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu); variable 36 void mutex_shared_lock(struct Mutex *mu) SHARED_LOCK_FUNCTION(mu); variable 37 void mutex_unlock(struct Mutex *mu) UNLOCK_FUNCTION(mu); variable 38 void mutex_shared_unlock(struct Mutex *mu) __attribute__((release_shared_capability(mu))); 39 void mutex_exclusive_unlock(struct Mutex *mu) __attribute__((release_capability(mu))); [all...] |
/external/clang/test/SemaCXX/ |
warn-thread-safety-negative.cpp | 50 Mutex mu; member in class:SimpleTest::Bar 51 int a GUARDED_BY(mu); 54 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) { 55 mu.Lock(); 57 mu.Unlock(); 63 Mutex mu; member in class:SimpleTest::Foo 64 int a GUARDED_BY(mu); 68 mu.Lock(); // expected-warning {{acquiring mutex 'mu' requires negative capability '!mu'}} [all...] |
warn-thread-safety-verbose.cpp | 45 Mutex mu; member in class:Test 46 int a GUARDED_BY(mu); // expected-note3 {{Guarded_by declared here.}} 48 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mu); 49 void foo2() SHARED_LOCKS_REQUIRED(mu); 50 void foo3() LOCKS_EXCLUDED(mu); 53 a = 0; // expected-warning {{writing variable 'a' requires holding mutex 'mu' exclusively}} 57 int b = a; // expected-warning {{reading variable 'a' requires holding mutex 'mu'}} 61 foo1(); // expected-warning {{calling function 'foo1' requires holding mutex 'mu' exclusively}} 65 foo2(); // expected-warning {{calling function 'foo2' requires holding mutex 'mu'}} 69 mu.ReaderLock() [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
EventCount.h | 174 std::mutex mu; member in class:Eigen::EventCount::Waiter 205 std::unique_lock<std::mutex> lock(w->mu); 218 std::unique_lock<std::mutex> lock(w->mu);
|
/external/openssh/ |
sc25519.c | 18 static const crypto_uint32 mu[33] = {0x1B, 0x13, 0x2C, 0x0A, 0xA3, 0xE5, 0x9C, 0xED, 0xA7, 0x29, 0x63, 0x08, 0x5D, 0x21, 0x06, 0x21, variable 68 if(i+j >= 31) q2[i+j] += mu[i]*x[j+31];
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
ValueServer.java | 38 * mean = <code>mu</code> </li> 40 * with mean = <code>mu</code></li> 42 * mean = <code>mu</code> and 44 * <li> CONSTANT_MODE -- returns <code>mu</code> every time.</li></ul></p> 57 /** Uniform random deviates with mean = μ. */ 60 /** Exponential random deviates with mean = μ. */ 63 /** Gaussian random deviates with mean = μ, std dev = σ. */ 66 /** Always return mu */ 76 private double mu = 0.0; field in class:ValueServer 122 case CONSTANT_MODE: return mu; [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
example-bind.cpp | 274 // mu 278 mu(Bound& bound_arg, const tuple<Args&...>& args) { function 283 inline T& mu(reference_wrapper<T>& bound_arg, const tuple<Args&...>&) { function 296 mu(Bound& bound_arg, const tuple<Args&...>& args) { function 316 mu(Bound& bound_arg, const tuple<Args&...>&) { function 324 return f(mu(get<Indexes>(bound_args), args)...);
|
/external/clang/test/PCH/ |
thread-safety-attrs.cpp | 45 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 51 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 57 ReleasableMutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu); 108 Mutex mu; member in class:MutexWrapper 109 int x __attribute__((guarded_by(mu))); 110 void MyLock() __attribute__((exclusive_lock_function(mu))); 118 sls_mw.mu.Lock() [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common.h | 201 StaticSpinMutex *mu; member in struct:__sanitizer::ReportFile
|
/external/icu/icu4c/source/test/iotest/ |
stream.cpp | 56 const UChar mu[] = { 0x6D, 0x75, 0}; local 69 str4.append((UChar32)0x03BC); /* mu */ 113 if (inStr2.compare(mu) != 0) { 116 log_err("Got: \"%s\", Expected: \"mu\"\n", inStrC);
|
/external/opencv/cv/src/ |
cvthresh.cpp | 207 double sum = 0, mu = 0; local 245 mu += (i*delta + low)*h[i]; 247 mu += (nu_thresh[i*2] + nu_thresh[i*2+1])*0.5*h[i]; 251 mu *= sum; 274 mu2 = (mu - q1*mu1)/q2;
|
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
aecm_core_c.c | 319 int16_t mu; local 433 mu = WebRtcAecm_CalcStepSize(aecm); 445 mu,
|