/external/valgrind/unittest/output_tests/ |
output_test1.cc | 3 Mutex mu2; // This Mutex is not related to var. variable 12 MutexLock lock(&mu2); // Wrong Mutex.
|
/external/clang/test/Misc/ |
ast-dump-color.cpp | 25 } mu1, mu2; variable in typeref:class:Mutex 82 //CHECK: {{^}}[[Blue]]|-[[RESET]][[GREEN]]VarDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:18:1[[RESET]], [[Yellow]]line:25: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/valgrind/unittest/ |
deadlock_unittest.cc | 163 Mutex mu1, mu2; member in namespace:test01 166 mu2.Lock(); 167 mu2.Unlock(); 172 mu2.Lock(); 175 mu2.Unlock(); 188 Mutex mu1, mu2, mu3, mu4; member in namespace:test02 190 mu1.Lock(); mu2.Lock(); 191 mu2.Unlock(); mu1.Unlock(); 195 mu2.Lock(); mu3.Lock(); 196 mu3.Unlock(); mu2.Unlock() [all...] |
demo_tests.cc | 43 Mutex mu2; // This Mutex is not related to var. member in namespace:RaceReportDemoTest 52 MutexLock lock(&mu2); // Wrong Mutex. 75 Mutex MU2; 85 MU2.Lock(); CHECK(GLOB >= 0); MU2.Unlock(); 175 // In this test GLOB is protected by MU1 and MU2, but inconsistently. 185 Mutex MU2; 186 void Worker1() { MU1.Lock(); MU2.Lock(); GLOB=1; MU2.Unlock(); MU1.Unlock(); } 188 void Worker3() { MU1.Lock(); MU2.Lock(); GLOB=3; MU2.Unlock(); MU1.Unlock(); 331 Mutex mu2; \/\/ Unrelated to PTR. member in namespace:test310 389 Mutex mu2; \/\/ Unrelated to PTR. member in namespace:test311 [all...] |
/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/clang/test/SemaCXX/ |
warn-thread-safety-parsing.cpp | 65 Mutex mu2; variable 310 int gb_var_args __attribute__((guarded_by(mu1, mu2))); // \ 381 int *pgb_ptr_var_args __attribute__((pt_guarded_by(mu1, mu2))); // \ 572 void elf_function_args() EXCLUSIVE_LOCK_FUNCTION(mu1, mu2); 644 void slf_function_args() SHARED_LOCK_FUNCTION(mu1, mu2); 718 void etf_function_args() EXCLUSIVE_TRYLOCK_FUNCTION(1, mu2); 791 void stf_function_args() SHARED_TRYLOCK_FUNCTION(1, mu2); [all...] |
warn-thread-safety-analysis.cpp | 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); 914 mu2.Lock(); 917 mu2.Unlock(); 1050 int method1(int i) SHARED_LOCKS_REQUIRED(mu1, mu, mu2); 1053 Mutex *mu2; member in class:thread_annot_lock_66_modified::Foo 1065 a.mu2->Lock(); 1071 a.mu2->Unlock(); 1183 Mutex mu2; member in namespace:thread_annot_lock_13 1390 Mutex mu1, mu2, mu3; member in class:thread_annot_lock_42::Foo 1460 Mutex *mu2; member in class:thread_annot_lock_67_modified::Foo 1596 Mutex mu2; member in struct:test_scoped_lockable::TestScopedLockable [all...] |
/external/valgrind/main/drd/tests/ |
tsan_unittest.cpp | 973 // 4. MU2.Lock() d. MU2.Lock() 975 // 6. ANNOTATE_CONDVAR_SIGNAL(MU2) ---->V . 976 // 7. MU2.Await(COND == 0) <------------+------ f. ANNOTATE_CONDVAR_SIGNAL(MU2) 977 // 8. MU2.Unlock() V-----> g. MU2.Await(COND == 0) 978 // 9. read(GLOB) h. MU2.Unlock() 990 Mutex MU2; 997 MU2.Lock(); 6689 Mutex mu2; \/\/ This Mutex is not related to var. member in namespace:test301 6986 Mutex mu2; \/\/ Unrelated to PTR. member in namespace:test310 7045 Mutex mu2; \/\/ Unrelated to PTR. member in namespace:test311 [all...] |