HomeSort by relevance Sort by last modified time
    Searched refs:mu (Results 1 - 25 of 218) sorted by null

1 2 3 4 5 6 7 8 9

  /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...]
  /system/extras/libpagemap/
pm_memusage.c 40 void pm_memusage_zero(pm_memusage_t *mu) {
41 mu->vss = mu->rss = mu->pss = mu->uss = mu->swap = 0;
42 mu->p_swap = NULL;
43 SIMPLEQ_INIT(&mu->swap_offset_list);
46 void pm_memusage_pswap_init_handle(pm_memusage_t *mu, pm_proportional_swap_t *p_swap) {
47 mu->p_swap = p_swap
    [all...]
  /bionic/libc/private/
ScopedPthreadMutexLocker.h 26 explicit ScopedPthreadMutexLocker(pthread_mutex_t* mu) : mu_(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/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/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...]
  /frameworks/av/media/libstagefright/codecs/amrwb/src/
preemph_amrwb_dec.cpp 48 int16 mu, (i) Q15 : preemphasis coefficient
116 int16 mu, /* (i) Q15 : preemphasis coefficient */
125 L_tmp = msu_16by16_from_int32((int32)x[i] << 16, x[i - 1], mu);
deemphasis_32.cpp 50 int16 mu, (i) Q15 : deemphasis factor
57 32-bits filtering through 1/(1-mu z^-1)
69 Deemphasis H(z) = 1/(1 - 0.68z^(-1)) where mu = 0.67999 in Q15
124 int16 mu, /* (i) Q15 : deemphasis factor */
137 L_tmp = fxp_mac_16by16(*mem, mu, L_tmp),
149 L_tmp = fxp_mac_16by16(y[i - 1], mu, L_tmp),
158 L_tmp = fxp_mac_16by16(y[i - 1], mu, L_tmp),
  /art/runtime/
linear_alloc.cc 27 MutexLock mu(self, lock_);
32 MutexLock mu(self, lock_);
37 MutexLock mu(Thread::Current(), lock_);
42 MutexLock mu(Thread::Current(), lock_);
47 MutexLock mu(Thread::Current(), lock_);
barrier.cc 33 MutexLock mu(self, lock_);
42 MutexLock mu(self, lock_);
47 MutexLock mu(self, lock_);
63 MutexLock mu(self, lock_);
  /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);
  /external/regex-re2/util/
atomicops.h 49 re2::Mutex mu; local
50 re2::MutexLock l(&mu);
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
deemph.c 20 * Description:filtering through 1/(1-mu z^ -1) *
32 Word16 mu, /* (i) Q15 : deemphasis factor */
41 L_tmp = L_mac(L_tmp, *mem, mu);
47 L_tmp = L_mac(L_tmp, x[i - 1], mu);
59 Word16 mu, /* (i) Q15 : deemphasis factor */
67 i = L_mult(*mem, mu);
74 tmp = (x[i - 1] * mu)<<1;
87 Word16 mu, /* (i) Q15 : deemphasis factor */
95 fac = mu >> 1; /* Q15 --> Q14 */
preemph.c 30 Word16 mu, /* (i) Q15 : preemphasis coefficient */
43 L_tmp -= (x[i - 1] * mu)<<1;
48 L_tmp -= ((*mem) * mu)<<1;
59 Word16 mu, /* (i) Q15 : preemphasis coefficient */
72 L_tmp -= (x[i - 1] * mu)<<1; // only called with mu == 22282, so this won't overflow
84 L_tmp -= ((*mem) * mu)<<1;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
TTest.java 52 * <code>mu = 0</code> and the sample array consisting of the (signed)
82 * {@link #tTest(double, double[])} with <code>mu = 0</code> and the sample
152 * @param mu comparison constant
157 double t(double mu, double[] observed)
162 * <code>sampleStats</code> to <code>mu</code>.
170 * @param mu comparison constant
175 double t(double mu, StatisticalSummary sampleStats)
319 * comparing the mean of the input array with the constant <code>mu</code>.
323 * <code>mu</code> in favor of the two-sided alternative that the mean
324 * is different from <code>mu</code>. For a one-sided test, divide th
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
Tnaf.java 77 * @param mu The parameter <code>&mu;</code> of the elliptic curve.
82 public static BigInteger norm(final byte mu, ZTauElement lambda)
95 if (mu == 1)
99 else if (mu == -1)
105 throw new IllegalArgumentException("mu must be 1 or -1");
116 * @param mu The parameter <code>&mu;</code> of the elliptic curve.
123 public static SimpleBigDecimal norm(final byte mu, SimpleBigDecimal u,
137 if (mu == 1
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
mutex.h 81 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
84 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); }
95 // MutexLockMaybe is like MutexLock, but is a no-op when mu is NULL.
98 explicit MutexLockMaybe(Mutex *mu) :
99 mu_(mu) { if (this->mu_ != NULL) { this->mu_->Lock(); } }
  /art/runtime/gc/
task_processor.cc 38 MutexLock mu(self, *lock_);
45 MutexLock mu(self, *lock_);
75 MutexLock mu(self, *lock_);
97 MutexLock mu(Thread::Current(), *lock_);
102 MutexLock mu(Thread::Current(), *lock_);
107 MutexLock mu(self, *lock_);
114 MutexLock mu(self, *lock_);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
SaddlePointExpansion.java 142 * @param mu the average.
145 static double getDeviancePart(double x, double mu) {
147 if (FastMath.abs(x - mu) < 0.1 * (x + mu)) {
148 double d = x - mu;
149 double v = d / (x + mu);
163 ret = x * FastMath.log(x / mu) + mu - x;
  /external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/
moments_demo.cpp 64 vector<Moments> mu(contours.size() );
66 { mu[i] = moments( contours[i], false ); }
71 { mc[i] = Point2f( static_cast<float>(mu[i].m10/mu[i].m00) , static_cast<float>(mu[i].m01/mu[i].m00) ); }
90 printf(" * Contour[%d] - Area (M_00) = %.2f - Area OpenCV: %.2f - Length: %.2f \n", (int)i, mu[i].m00, contourArea(contours[i]), arcLength( contours[i], true ) );
  /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 = &mu;. */
60 /** Exponential random deviates with mean = &mu;. */
63 /** Gaussian random deviates with mean = &mu;, std dev = &sigma;. */
66 /** Always return mu */
76 private double mu = 0.0; field in class:ValueServer
122 case CONSTANT_MODE: return mu;
    [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...]
  /art/compiler/dex/
verification_results.cc 42 WriterMutexLock mu(self, verified_methods_lock_);
57 WriterMutexLock mu(Thread::Current(), verified_methods_lock_);
78 ReaderMutexLock mu(Thread::Current(), verified_methods_lock_);
85 WriterMutexLock mu(Thread::Current(), rejected_classes_lock_);
92 ReaderMutexLock mu(Thread::Current(), rejected_classes_lock_);

Completed in 535 milliseconds

1 2 3 4 5 6 7 8 9