/system/extras/libpagemap/ |
pm_memusage.c | 19 void pm_memusage_zero(pm_memusage_t *mu) { 20 mu->vss = mu->rss = mu->pss = mu->uss = mu->swap = 0;
|
/art/runtime/base/ |
mutex_test.cc | 26 static void AssertDepth(Mutex& mu, uint32_t expected_depth) { 27 ASSERT_EQ(expected_depth, mu.GetDepth()); 31 mu.AssertNotHeld(Thread::Current()); 33 mu.AssertHeld(Thread::Current()); 39 Mutex mu("test mutex"); 40 MutexTester::AssertDepth(mu, 0U); 41 mu.Lock(Thread::Current()); 42 MutexTester::AssertDepth(mu, 1U); 43 mu.Unlock(Thread::Current()); 44 MutexTester::AssertDepth(mu, 0U) 111 Mutex mu; member in struct:art::RecursiveLockWait [all...] |
/external/chromium_org/third_party/leveldatabase/src/util/ |
mutexlock.h | 25 explicit MutexLock(port::Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu) 26 : mu_(mu) {
|
/external/skia/bench/ |
MutexBench.cpp | 22 SK_DECLARE_STATIC_MUTEX(mu); 24 mu.acquire(); 25 mu.release();
|
/external/valgrind/main/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/unittest/ |
libstdc++_tests.cc | 60 pthread_mutex_t mu; member in namespace:LibStdCPlusPlus_basic_string_Test 67 pthread_mutex_lock(&mu); 70 pthread_mutex_unlock(&mu); 88 pthread_mutex_init(&mu, 0); 95 pthread_mutex_lock(&mu); 97 pthread_cond_wait(&cv, &mu); 98 pthread_mutex_unlock(&mu); 124 pthread_mutex_t mu; member in namespace:LibStdCPlusPlus_shared_ptr_Test 131 pthread_mutex_lock(&mu); 134 pthread_mutex_unlock(&mu); [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...] |
/bionic/libc/private/ |
ScopedPthreadMutexLocker.h | 24 explicit ScopedPthreadMutexLocker(pthread_mutex_t* mu) : mu_(mu) {
|
/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),
|
/frameworks/ex/variablespeed/jni/ |
no_synchronization.h | 42 explicit MutexLock(Mutex* mu) : mu_(mu) {}
|
/external/chromium_org/third_party/re2/util/ |
atomicops.h | 49 re2::Mutex mu; local 50 re2::MutexLock l(&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 L_tmp += ((*mem) * mu)<<1; 72 L_tmp += (x[i - 1] * mu)<<1; 84 Word16 mu, /* (i) Q15 : deemphasis factor */ 92 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; 78 L_tmp -= ((*mem) * mu)<<1;
|
/external/dropbear/libtommath/ |
bn_mp_add_d.c | 23 mp_digit *tmpa, *tmpc, mu; local 67 mu = *tmpc >> DIGIT_BIT; 72 *tmpc = *tmpa++ + mu; 73 mu = *tmpc >> DIGIT_BIT; 78 *tmpc++ = mu;
|
bn_mp_dr_reduce.c | 37 mp_digit mu, *tmpx1, *tmpx2; local 61 mu = 0; 65 r = ((mp_word)*tmpx2++) * ((mp_word)k) + *tmpx1 + mu; 67 mu = (mp_digit)(r >> ((mp_word)DIGIT_BIT)); 71 *tmpx1++ = mu;
|
bn_s_mp_exptmod.c | 25 mp_int M[TAB_SIZE], res, mu; local 71 /* create mu, used for Barrett reduction */ 72 if ((err = mp_init (&mu)) != MP_OKAY) { 77 if ((err = mp_reduce_setup (&mu, P)) != MP_OKAY) { 82 if ((err = mp_reduce_2k_setup_l (P, &mu)) != MP_OKAY) { 115 if ((err = redux (&M[1 << (winsize - 1)], P, &mu)) != MP_OKAY) { 127 if ((err = redux (&M[x], P, &mu)) != MP_OKAY) { 176 if ((err = redux (&res, P, &mu)) != MP_OKAY) { 193 if ((err = redux (&res, P, &mu)) != MP_OKAY) { 202 if ((err = redux (&res, P, &mu)) != MP_OKAY) [all...] |
bn_mp_reduce.c | 18 /* reduces x mod m, assumes 0 < x < m**2, mu is 22 int mp_reduce (mp_int * x, mp_int * m, mp_int * mu) 37 if ((res = mp_mul (&q, mu, &q)) != MP_OKAY) { 42 if ((res = s_mp_mul_high_digs (&q, mu, &q, um)) != MP_OKAY) { 46 if ((res = fast_s_mp_mul_high_digs (&q, mu, &q, um)) != MP_OKAY) {
|
bn_mp_sub_d.c | 22 mp_digit *tmpa, *tmpc, mu; local 70 mu = *tmpc >> (sizeof(mp_digit) * CHAR_BIT - 1); 75 *tmpc = *tmpa++ - mu; 76 mu = *tmpc >> (sizeof(mp_digit) * CHAR_BIT - 1);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
Tnaf.java | 77 * @param mu The parameter <code>μ</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>μ</code> of the elliptic curve. 123 public static SimpleBigDecimal norm(final byte mu, SimpleBigDecimal u, 137 if (mu == 1 [all...] |
/art/runtime/ |
barrier.cc | 31 MutexLock mu(self, lock_); 40 MutexLock mu(self, lock_); 45 MutexLock mu(self, lock_);
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ltc_ecc_mulmod_timing.c | 41 void *mu, *mp; local 54 if ((err = mp_init(&mu)) != CRYPT_OK) { 58 if ((err = mp_montgomery_normalization(mu, modulus)) != CRYPT_OK) { 59 mp_clear(mu); 71 mp_clear(mu); 82 if ((err = mp_mulmod(G->x, mu, modulus, tG->x)) != CRYPT_OK) { goto done; } 83 if ((err = mp_mulmod(G->y, mu, modulus, tG->y)) != CRYPT_OK) { goto done; } 84 if ((err = mp_mulmod(G->z, mu, modulus, tG->z)) != CRYPT_OK) { goto done; } 85 mp_clear(mu); 86 mu = NULL [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_mutex.h | 85 explicit GenericScopedLock(MutexType *mu) 86 : mu_(mu) { 104 explicit GenericScopedReadLock(MutexType *mu) 105 : mu_(mu) {
|