HomeSort by relevance Sort by last modified time
    Searched defs:mu2 (Results 1 - 9 of 9) sorted by null

  /external/compiler-rt/test/tsan/
mutex_cycle2.c 13 pthread_mutex_t mu1, mu2; local
15 pthread_mutex_init(&mu2, NULL);
17 // mu1 => mu2
19 pthread_mutex_lock(&mu2);
20 pthread_mutex_unlock(&mu2);
23 // mu2 => mu1
24 pthread_mutex_lock(&mu2);
30 pthread_mutex_unlock(&mu2);
33 pthread_mutex_destroy(&mu2);
must_deadlock.cc 12 pthread_mutex_t mu1, mu2; variable
16 // mu2 => mu1
17 pthread_mutex_lock(&mu2);
22 pthread_mutex_unlock(&mu2);
28 pthread_mutex_init(&mu2, NULL);
37 // mu1 => mu2
40 pthread_mutex_lock(&mu2);
41 pthread_mutex_unlock(&mu2);
47 pthread_mutex_destroy(&mu2);
  /external/clang/test/Misc/
ast-dump-color.cpp 25 } mu1, mu2; variable in typeref:class:Mutex
86 //CHECK: {{^}}[[Blue]]|-[[RESET]][[GREEN]]VarDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:18:1[[RESET]], [[Yellow]]line:25:8[[RESET]]> [[Yellow]]col:8[[RESET]][[CYAN]] mu2[[RESET]] [[Green]]'class Mutex':'class Mutex'[[RESET]]
ast-dump-attr.cpp 45 } mu1, mu2; variable in typeref:class:Mutex
51 class Mutex TestVariadicExpr __attribute__((acquired_after(mu1, mu2)));
55 // CHECK-NEXT: DeclRefExpr{{.*}}mu2
  /external/opencv/cv/src/
cvthresh.cpp 258 double p_i, q2, mu2, val_i, sigma; local
274 mu2 = (mu - q1*mu1)/q2;
275 sigma = q1*q2*(mu1 - mu2)*(mu1 - mu2);
  /external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
tree_utils.cc 394 // Given lambda3, returns the distance from (mu1, mu2) to the surface.
396 const std::vector<float>& mu2) {
406 // y = (lambda_2 1 + 2 mu2) / (2 + 2 lambda_3)
411 diff = (lambda2 + 2.0 * mu2[i]) / (2.0 + 2.0 * lambda3) - mu2[i];
417 // Returns the distance between (mu1, mu2) and (x, y), where (x, y) is the
421 const std::vector<float>& mu2) {
423 // We are trying to minimize d = |mu1 - x|^2 + |mu2 - y|^2 over the surface.
426 // partial d / partial y = -2 mu2 + 2 y = lambda_2 1 - 2 lambda_3 y
429 // y = (lambda_2 1 + 2 mu2) / (2 + 2 lambda_3
526 std::vector<float> mu2; local
    [all...]
  /external/clang/test/SemaCXX/
warn-thread-safety-parsing.cpp 65 Mutex mu2; variable
312 int gb_var_args __attribute__((guarded_by(mu1, mu2))); // \
383 int *pgb_ptr_var_args __attribute__((pt_guarded_by(mu1, mu2))); // \
574 void elf_function_args() EXCLUSIVE_LOCK_FUNCTION(mu1, mu2);
646 void slf_function_args() SHARED_LOCK_FUNCTION(mu1, mu2);
720 void etf_function_args() EXCLUSIVE_TRYLOCK_FUNCTION(1, mu2);
793 void stf_function_args() SHARED_TRYLOCK_FUNCTION(1, mu2);
    [all...]
warn-thread-safety-analysis.cpp 70 DoubleMutexLock(Mutex *mu1, Mutex *mu2)
71 __attribute__((exclusive_lock_function(mu1, mu2)));
931 Mutex mu2 ACQUIRED_AFTER(mu1);
935 int method1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1);
943 int foo(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1);
957 mu2.Lock();
960 mu2.Unlock();
1093 int method1(int i) SHARED_LOCKS_REQUIRED(mu1, mu, mu2);
1096 Mutex *mu2; member in class:thread_annot_lock_66_modified::Foo
1108 a.mu2->Lock()
1226 Mutex mu2; member in namespace:thread_annot_lock_13
1433 Mutex mu1, mu2, mu3; member in class:thread_annot_lock_42::Foo
1503 Mutex *mu2; member in class:thread_annot_lock_67_modified::Foo
1639 Mutex mu2; member in struct:test_scoped_lockable::TestScopedLockable
4239 Mutex mu2; member in class:PtGuardedByTest::PtGuardedBySanityTest
4326 Mutex mu2; member in class:PtGuardedByTest::SmartPtr_PtGuardedBy_Test
4858 Mutex mu2; member in class:AcquiredBeforeAfterText::Foo
4938 Mutex mu2; member in class:AcquiredBeforeAfterText::Foo3
    [all...]
  /external/valgrind/drd/tests/
tsan_unittest.cpp 977 // 4. MU2.Lock() d. MU2.Lock()
979 // 6. ANNOTATE_CONDVAR_SIGNAL(MU2) ---->V .
980 // 7. MU2.Await(COND == 0) <------------+------ f. ANNOTATE_CONDVAR_SIGNAL(MU2)
981 // 8. MU2.Unlock() V-----> g. MU2.Await(COND == 0)
982 // 9. read(GLOB) h. MU2.Unlock()
994 Mutex MU2;
1001 MU2.Lock();
6693 Mutex mu2; \/\/ This Mutex is not related to var. member in namespace:test301
6990 Mutex mu2; \/\/ Unrelated to PTR. member in namespace:test310
7049 Mutex mu2; \/\/ Unrelated to PTR. member in namespace:test311
    [all...]

Completed in 159 milliseconds