Lines Matching defs:GUARDED_BY
8 #define GUARDED_BY(x) __attribute__ ((guarded_by(x)))
103 int sls_guardby_var __attribute__((guarded_by(sls_mu))) = 0;
110 int x __attribute__((guarded_by(mu)));
385 int *pgb_field __attribute__((guarded_by(sls_mu2)))
401 int gb_field __attribute__((guarded_by(sls_mu)));
413 GBFoo GlobalGBFoo __attribute__((guarded_by(sls_mu)));
499 int a __attribute__((guarded_by(mu)));
513 int c __attribute__((guarded_by(mu)));
520 int a_ __attribute__((guarded_by(mu1_)));
834 static int b_ GUARDED_BY(mu1_);
836 static int a_ GUARDED_BY(mu1_);
852 // Test various usage of GUARDED_BY and PT_GUARDED_BY annotations, especially
858 int a_ GUARDED_BY(mu1_);
865 int *p GUARDED_BY(mu) PT_GUARDED_BY(mu);
866 int res GUARDED_BY(mu) = 5;
956 int a_ GUARDED_BY(foo_->mu_);
1052 int data GUARDED_BY(mu1);
1095 T count_ GUARDED_BY(mu_);
1186 int g GUARDED_BY(mu1);
1187 int w GUARDED_BY(mu2);
1195 int a_ GUARDED_BY(mu_);
1248 int a_ GUARDED_BY(mu1_);
1270 // Test various usage of GUARDED_BY and PT_GUARDED_BY annotations, especially
1276 int a_ GUARDED_BY(mu1_);
1283 int *p GUARDED_BY(mu) PT_GUARDED_BY(mu);
1285 int res GUARDED_BY(mu) = 5;
1313 int a_ GUARDED_BY(lock_);
1352 int a_ GUARDED_BY(lock_);
1392 int x GUARDED_BY(mu1) GUARDED_BY(mu2);
1393 int y GUARDED_BY(mu2);
1459 int data GUARDED_BY(mu1);
1537 int myVar GUARDED_BY(fooMu);
1557 S *s GUARDED_BY(this->m);
1564 } *u GUARDED_BY(m);
1581 V *p GUARDED_BY(this->m);
1598 int a __attribute__((guarded_by(mu1)));
1599 int b __attribute__((guarded_by(mu2)));
1641 int a GUARDED_BY(mu_);
1662 int a GUARDED_BY(mu);
1792 int a GUARDED_BY(mu_);
1797 int a GUARDED_BY(mu_);
1846 // Test dependent guarded_by
1847 T data GUARDED_BY(mu_);
1899 // Test dependent guarded_by
1900 T data GUARDED_BY(mu_);
1901 static T static_data GUARDED_BY(static_mu_);
1944 int a GUARDED_BY(mu_);
2011 int a GUARDED_BY(mu_);
2020 T a GUARDED_BY(mu_);
2112 int foo GUARDED_BY(this);
2138 int foo GUARDED_BY(this);
2156 // on reference to mutex_ in guarded_by attribute.
2162 int foo __attribute__((guarded_by(mutex_)));
2190 int GUARDED_BY(mu_) a;
2191 int GUARDED_BY(mu_) b, c;
2227 int a GUARDED_BY(mu_);
2343 int a GUARDED_BY(mu_);
2388 int b GUARDED_BY(getMu());
2453 int a GUARDED_BY(mu_);
2536 int a GUARDED_BY(mu_);
2590 int a GUARDED_BY(mu_);
2645 int a GUARDED_BY(getMutexPtr().get());
2670 int a GUARDED_BY(mu_);
2671 int b GUARDED_BY(mu_.get());
2672 int c GUARDED_BY(*mu_);
2835 int a GUARDED_BY(mu1_);
2836 int b GUARDED_BY(mu2_);
2837 int c GUARDED_BY(mu3_);
2999 int a GUARDED_BY(mu_);
3093 int a GUARDED_BY(&Graph::mu_);
3217 int a GUARDED_BY(mu_);
3239 int a GUARDED_BY(mu_);
3316 int a GUARDED_BY(mutex_);
3598 int a GUARDED_BY(mu1_);
3599 int b GUARDED_BY(mu2_);
3600 int c GUARDED_BY(mu1_) GUARDED_BY(mu2_);
3805 Data data_ GUARDED_BY(mu_);
3806 Data* datap1_ GUARDED_BY(mu_);
3828 Cell c GUARDED_BY(cell_mu_);
3840 Foo foo GUARDED_BY(mu_);
3983 int a GUARDED_BY(mu_);
4084 int a GUARDED_BY(mu);
4183 int* a GUARDED_BY(mu1) PT_GUARDED_BY(mu2);
4184 Cell* c GUARDED_BY(mu1) PT_GUARDED_BY(mu2);
4185 int sa[10] GUARDED_BY(mu1);
4186 Cell sc[10] GUARDED_BY(mu1);
4270 SmartPtr<int> sp GUARDED_BY(mu1) PT_GUARDED_BY(mu2);
4271 SmartPtr<Cell> sq GUARDED_BY(mu1) PT_GUARDED_BY(mu2);