/external/clang/test/SemaCXX/ |
D | warn-thread-safety-parsing.cpp | 63 Mutex mu1; variable 70 Mutex& muRef = mu1; 308 int gb_var_arg GUARDED_BY(mu1); 310 int gb_var_args __attribute__((guarded_by(mu1, mu2))); // \ 320 int gb_field_args GUARDED_BY(mu1); 323 class GUARDED_BY(mu1) GB { // \ in GUARDED_BY() argument 327 void gb_function() GUARDED_BY(mu1); // \ 330 void gb_function_params(int gv_lvar GUARDED_BY(mu1)); // \ 334 int x GUARDED_BY(mu1) = y; // \ in gb_testfn() 346 int gb_var_arg_5 GUARDED_BY(&mu1); [all …]
|
D | warn-thread-safety-analysis.cpp | 887 Mutex mu1; variable 888 Mutex mu2 ACQUIRED_AFTER(mu1); 892 int method1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1); 900 int foo(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1); 905 static int bar(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1); 913 mu1.Lock(); in main() 919 mu1.Unlock(); in main() 1050 int method1(int i) SHARED_LOCKS_REQUIRED(mu1, mu, mu2); 1051 int data GUARDED_BY(mu1); 1052 Mutex *mu1; member in thread_annot_lock_66_modified::Foo [all …]
|
/external/clang/test/Sema/ |
D | warn-thread-safety-analysis.c | 45 struct Mutex mu1; variable 46 struct Mutex mu2 ACQUIRED_AFTER(mu1); 47 struct Foo foo_ = {&mu1}; 54 int Foo_fun1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1) { in Foo_fun1() 58 int Foo_fun2(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1) { in Foo_fun2() 62 int Foo_func3(int i) LOCKS_EXCLUDED(mu1, mu2) { in Foo_func3() 66 static int Bar_fun1(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1) { in Bar_fun1() 83 mutex_exclusive_lock(&mu1); in main() 87 mutex_shared_lock(&mu1); // expected-warning{{locking 'mu1' that is already locked}} in main() 88 mutex_unlock(&mu1); in main() [all …]
|
/external/valgrind/unittest/ |
D | deadlock_unittest.cc | 163 Mutex mu1, mu2; variable 165 mu1.Lock(); in Worker1() 168 mu1.Unlock(); in Worker1() 173 mu1.Lock(); in Worker2() 174 mu1.Unlock(); in Worker2() 188 Mutex mu1, mu2, mu3, mu4; variable 190 mu1.Lock(); mu2.Lock(); in Worker1() 191 mu2.Unlock(); mu1.Unlock(); in Worker1() 205 mu4.Lock(); mu1.Lock(); in Worker4() 206 mu1.Unlock(); mu4.Unlock(); in Worker4()
|
D | demo_tests.cc | 42 Mutex mu1; // This Mutex guards var. variable 47 MutexLock lock(&mu1); // Correct Mutex. in Thread1() 330 Mutex mu1; // Protects PTR. variable 336 MutexLock lock1(&mu1); // Protect PTR. in Writer1() 342 MutexLock lock1(&mu1); // Protect PTR. in Writer2() 388 Mutex mu1; // Protects PTR. variable 394 MutexLock lock1(&mu1); // Protect PTR. in GoodWriter1() 400 MutexLock lock1(&mu1); // Protect PTR. in GoodWriter2() 405 MutexLock lock1(&mu1); // Protect PTR. in GoodReader()
|
D | racecheck_unittest.cc | 5052 Mutex mu1; variable 5067 mu1.Lock(); in Worker() 5071 mu1.Unlock(); in Worker()
|
/external/clang/test/Misc/ |
D | ast-dump-attr.cpp | 45 } mu1, mu2; variable 46 int TestExpr __attribute__((guarded_by(mu1))); 51 class Mutex TestVariadicExpr __attribute__((acquired_after(mu1, mu2)));
|
D | ast-dump-color.cpp | 25 } mu1, mu2; variable 26 int TestExpr __attribute__((guarded_by(mu1)));
|
/external/valgrind/unittest/output_tests/ |
D | output_test1.cc | 2 Mutex mu1; // This Mutex guards var. variable 7 MutexLock lock(&mu1); // Correct Mutex. in Thread1()
|
/external/opencv/cv/src/ |
D | cvthresh.cpp | 211 double mu1 = 0, q1 = 0; in icvGetThreshVal_Otsu() local 253 mu1 = 0; in icvGetThreshVal_Otsu() 261 mu1 *= q1; in icvGetThreshVal_Otsu() 273 mu1 = (mu1 + val_i*p_i)/q1; in icvGetThreshVal_Otsu() 274 mu2 = (mu - q1*mu1)/q2; in icvGetThreshVal_Otsu() 275 sigma = q1*q2*(mu1 - mu2)*(mu1 - mu2); in icvGetThreshVal_Otsu()
|
/external/valgrind/main/drd/tests/ |
D | tsan_unittest.cpp | 5382 Mutex mu1; variable 5397 mu1.Lock(); in Worker() 5401 mu1.Unlock(); in Worker() 6688 Mutex mu1; // This Mutex guards var. variable 6693 MutexLock lock(&mu1); // Correct Mutex. in Thread1() 6985 Mutex mu1; // Protects PTR. variable 6991 MutexLock lock1(&mu1); // Protect PTR. in Writer1() 6997 MutexLock lock1(&mu1); // Protect PTR. in Writer2() 7044 Mutex mu1; // Protects PTR. variable 7050 MutexLock lock1(&mu1); // Protect PTR. in GoodWriter1() [all …]
|
/external/icu4c/data/translit/ |
D | Latin_Bopomofo.txt | 198 mu1 ← ㄇㄨ;
|