/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()
|
D | must_deadlock.cc | 12 pthread_mutex_t mu1, mu2; variable 17 pthread_mutex_lock(&mu2); in Thread() 22 pthread_mutex_unlock(&mu2); in Thread() 28 pthread_mutex_init(&mu2, NULL); in main() 40 pthread_mutex_lock(&mu2); in main() 41 pthread_mutex_unlock(&mu2); in main() 47 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 | 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(); in main() 960 mu2.Unlock(); in main() 1093 int method1(int i) SHARED_LOCKS_REQUIRED(mu1, mu, mu2); 1096 Mutex *mu2; member in thread_annot_lock_66_modified::Foo 1108 a.mu2->Lock(); in main() [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 | 196 Mutex mu1, mu2; 198 int b GUARDED_BY(mu2); 200 void foo() REQUIRES(mu1, mu2) { 207 foo(); // Warning! Requires mu2.
|
/external/valgrind/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()
|
/external/hyphenation-patterns/hu/ |
D | hyph-hu.pat.txt | 11034 dámu2 57273 vámu2
|