/external/clang/test/Misc/ |
ast-dump-color.cpp | 25 } mu1, mu2; variable in typeref:class:Mutex 26 int TestExpr __attribute__((guarded_by(mu1))); 80 //CHECK: {{^}}[[Blue]]|-[[RESET]][[GREEN]]VarDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:1[[RESET]], [[Yellow]]line:25:3[[RESET]]>[[CYAN]] mu1[[RESET]] [[Green]]'class Mutex':'class Mutex'[[RESET]]{{$}} 86 //CHECK: {{^}}[[Blue]] `-[[RESET]][[MAGENTA]]DeclRefExpr[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:40[[RESET]]> [[Green]]'class Mutex':'class Mutex'[[RESET]][[Cyan]] lvalue[[RESET]][[Cyan]][[RESET]] [[GREEN]]Var[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]][[CYAN]] 'mu1'[[RESET]] [[Green]]'class Mutex':'class Mutex'[[RESET]]{{$}}
|
ast-dump-attr.cpp | 45 } mu1, mu2; variable in typeref:class:Mutex 46 int TestExpr __attribute__((guarded_by(mu1))); 49 // CHECK-NEXT: DeclRefExpr{{.*}}mu1 51 class Mutex TestVariadicExpr __attribute__((acquired_after(mu1, mu2))); 54 // CHECK-NEXT: DeclRefExpr{{.*}}mu1
|
/external/clang/test/Sema/ |
warn-thread-safety-analysis.c | 45 struct Mutex mu1; variable in typeref:struct:Mutex 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) { 58 int Foo_fun2(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1) { 62 int Foo_func3(int i) LOCKS_EXCLUDED(mu1, mu2) { 66 static int Bar_fun1(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1) { 81 expected-warning{{calling function 'Foo_fun1' requires exclusive lock on 'mu1'}} 83 mutex_exclusive_lock(&mu1); 87 mutex_shared_lock(&mu1); // expected-warning{{locking 'mu1' that is already locked} [all...] |
/external/valgrind/unittest/output_tests/ |
output_test1.cc | 2 Mutex mu1; // This Mutex guards var. variable 4 int var; // GUARDED_BY(mu1) 7 MutexLock lock(&mu1); // Correct Mutex.
|
/external/valgrind/unittest/ |
deadlock_unittest.cc | 163 Mutex mu1, mu2; member in namespace:test01 165 mu1.Lock(); 168 mu1.Unlock(); 173 mu1.Lock(); 174 mu1.Unlock(); 188 Mutex mu1, mu2, mu3, mu4; member in namespace:test02 190 mu1.Lock(); mu2.Lock(); 191 mu2.Unlock(); mu1.Unlock(); 205 mu4.Lock(); mu1.Lock(); 206 mu1.Unlock(); mu4.Unlock() [all...] |
demo_tests.cc | 42 Mutex mu1; // This Mutex guards var. member in namespace:RaceReportDemoTest 44 int var; // GUARDED_BY(mu1) 47 MutexLock lock(&mu1); // Correct Mutex. 74 Mutex MU1; 81 MU1.Lock(); CHECK(GLOB >= 0); MU1.Unlock(); 89 MU1.Lock(); CHECK(GLOB >= 0); MU1.Unlock(); 93 MU1.Lock(); GLOB++; MU1.Unlock() 330 Mutex mu1; \/\/ Protects PTR. member in namespace:test310 388 Mutex mu1; \/\/ Protects PTR. member in namespace:test311 [all...] |
racecheck_unittest.cc | 5052 Mutex mu1; member in namespace:test112 [all...] |
/external/clang/test/SemaCXX/ |
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 { // \ 327 void gb_function() GUARDED_BY(mu1); // \ variable 330 void gb_function_params(int gv_lvar GUARDED_BY(mu1)); // \ 334 int x GUARDED_BY(mu1) = y; // \ 346 int gb_var_arg_5 GUARDED_BY(&mu1); variable 398 void pgb_function() PT_GUARDED_BY(mu1); \/\/ \\ variable 417 int * pgb_var_arg_5 PT_GUARDED_BY(&mu1); variable 460 void aa_function() ACQUIRED_AFTER(mu1); \/\/ \\ variable 478 Mutex aa_var_arg_5 ACQUIRED_AFTER(&mu1); variable 520 void ab_function() ACQUIRED_BEFORE(mu1); \/\/ \\ variable 541 Mutex ab_var_arg_5 ACQUIRED_BEFORE(&mu1); variable 606 int elf_function_5() EXCLUSIVE_LOCK_FUNCTION(&mu1); variable 678 int slf_function_5() SHARED_LOCK_FUNCTION(&mu1); variable 762 int etf_function_bad_1() EXCLUSIVE_TRYLOCK_FUNCTION(mu1); \/\/ \\ variable 836 int stf_function_bad_1() SHARED_TRYLOCK_FUNCTION(mu1); \/\/ \\ variable 897 int uf_function_5() UNLOCK_FUNCTION(&mu1); variable 936 void lr_function_arg() LOCK_RETURNED(mu1); variable 941 int lr_testfn(int y) LOCK_RETURNED(mu1); variable 973 int lr_function_5() LOCK_RETURNED(&mu1); variable 1004 void le_function_arg() LOCKS_EXCLUDED(mu1); variable 1008 int le_testfn(int y) LOCKS_EXCLUDED(mu1); variable 1040 int le_function_5() LOCKS_EXCLUDED(&mu1); variable 1071 void elr_function_arg() EXCLUSIVE_LOCKS_REQUIRED(mu1); variable 1075 int elr_testfn(int y) EXCLUSIVE_LOCKS_REQUIRED(mu1); variable 1107 int elr_function_5() EXCLUSIVE_LOCKS_REQUIRED(&mu1); variable 1139 void slr_function_arg() SHARED_LOCKS_REQUIRED(mu1); variable 1143 int slr_testfn(int y) SHARED_LOCKS_REQUIRED(mu1); variable 1175 int slr_function_5() SHARED_LOCKS_REQUIRED(&mu1); variable [all...] |
warn-thread-safety-analysis.cpp | 887 Mutex mu1; member in namespace:thread_annot_lock_27_modified 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(); 919 mu1.Unlock(); 1050 int method1(int i) SHARED_LOCKS_REQUIRED(mu1, mu, mu2); 1051 int data GUARDED_BY(mu1); 1052 Mutex *mu1; member in class:thread_annot_lock_66_modified::Foo 1182 Mutex mu1; member in namespace:thread_annot_lock_13 1390 Mutex mu1, mu2, mu3; member in class:thread_annot_lock_42::Foo 1459 Mutex *mu1; member in class:thread_annot_lock_67_modified::Foo 1595 Mutex mu1; member in struct:test_scoped_lockable::TestScopedLockable [all...] |
/external/opencv/cv/src/ |
cvthresh.cpp | 211 double mu1 = 0, q1 = 0; local 253 mu1 = 0; 261 mu1 *= q1; 273 mu1 = (mu1 + val_i*p_i)/q1; 274 mu2 = (mu - q1*mu1)/q2; 275 sigma = q1*q2*(mu1 - mu2)*(mu1 - mu2);
|
/external/valgrind/main/drd/tests/ |
tsan_unittest.cpp | 5382 Mutex mu1; member in namespace:test112 6688 Mutex mu1; \/\/ This Mutex guards var. member in namespace:test301 6985 Mutex mu1; \/\/ Protects PTR. member in namespace:test310 7044 Mutex mu1; \/\/ Protects PTR. member in namespace:test311 [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
pdfjs.js | [all...] |