Searched refs:mu2 (Results 1 – 9 of 9) sorted by relevance
/external/compiler-rt/test/tsan/ |
D | mutex_cycle2.c | 13 pthread_mutex_t mu1, mu2; in main() local 15 pthread_mutex_init(&mu2, NULL); in main() 19 pthread_mutex_lock(&mu2); in main() 20 pthread_mutex_unlock(&mu2); in main() 24 pthread_mutex_lock(&mu2); in main() 30 pthread_mutex_unlock(&mu2); in main() 33 pthread_mutex_destroy(&mu2); in main()
|
/external/clang/test/Sema/ |
D | warn-thread-safety-analysis.c | 43 struct Mutex mu2 ACQUIRED_AFTER(mu1); 51 int Foo_fun1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1) { in Foo_fun1() 55 int Foo_fun2(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1) { in Foo_fun2() 59 int Foo_func3(int i) LOCKS_EXCLUDED(mu1, mu2) { in Foo_func3() 81 mutex_shared_lock(&mu2); in main() 86 mutex_unlock(&mu2); in main() 88 mutex_exclusive_lock(&mu2); in main() 91 mutex_unlock(&mu2); in main()
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-analysis.cpp | 889 Mutex mu2 ACQUIRED_AFTER(mu1); 893 int method1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1); 901 int foo(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1); 915 mu2.Lock(); in main() 918 mu2.Unlock(); in main() 1051 int method1(int i) SHARED_LOCKS_REQUIRED(mu1, mu, mu2); 1054 Mutex *mu2; member in thread_annot_lock_66_modified::Foo 1066 a.mu2->Lock(); in main() 1072 a.mu2->Unlock(); in main() 1184 Mutex mu2; variable [all …]
|
D | 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); 865 void uf_function_args() UNLOCK_FUNCTION(mu1, mu2); 940 void lr_function_args() __attribute__((lock_returned(mu1, mu2))); // \ 1008 void le_function_args() LOCKS_EXCLUDED(mu1, mu2); [all …]
|
/external/clang/test/Misc/ |
D | ast-dump-attr.cpp | 45 } mu1, mu2; variable 51 class Mutex TestVariadicExpr __attribute__((acquired_after(mu1, mu2)));
|
D | ast-dump-color.cpp | 25 } mu1, mu2; variable
|
/external/opencv/cv/src/ |
D | cvthresh.cpp | 258 double p_i, q2, mu2, val_i, sigma; in icvGetThreshVal_Otsu() local 274 mu2 = (mu - q1*mu1)/q2; in icvGetThreshVal_Otsu() 275 sigma = q1*q2*(mu1 - mu2)*(mu1 - mu2); in icvGetThreshVal_Otsu()
|
/external/clang/docs/ |
D | ThreadSafetyAnalysis.rst | 189 Mutex mu1, mu2; 191 int b GUARDED_BY(mu2); 193 void foo() EXCLUSIVE_LOCKS_REQUIRED(mu1, mu2) { 200 foo(); // Warning! Requires mu2.
|
/external/valgrind/main/drd/tests/ |
D | tsan_unittest.cpp | 6689 Mutex mu2; // This Mutex is not related to var. variable 6698 MutexLock lock(&mu2); // Wrong Mutex. in Thread2() 6986 Mutex mu2; // Unrelated to PTR. variable 6996 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in Writer2() 7006 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! in Reader() 7045 Mutex mu2; // Unrelated to PTR. variable 7055 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in GoodWriter2() 7066 MutexLock lock2(&mu2); // Wrong mutex! in BuggyWriter()
|