Lines Matching refs:STATIC
76 static inline void IGNORE_RETURN_VALUE(T v)
198 static bool ArgIsOne(int *arg) { return *arg == 1; };
199 static bool ArgIsZero(int *arg) { return *arg == 0; };
200 static bool ArgIsTrue(bool *arg) { return *arg == true; };
280 static const int kSize = 5;
1515 static int GLOB[N];
1568 static int GLOB[N];
1681 static int ARR[N];
1733 static int ARR[N];
1734 static Mutex *MUs[Nlog];
3461 static int64_t ARR1[N];
3462 static int64_t ARR2[N];
3547 static uint64_union ARR1[N];
3553 static uint32_union ARR2[N];
3734 static void Annotate_MU() {
3751 static Mutex MU; // protects ref_
4014 static void check(volatile FOO *foo) {
4023 static volatile FOO *foo[N];
4063 volatile static int *ptr = NULL;
4095 static int s_x = 0;
4097 static char s_dummy[512] = {0};
4098 static int s_y;
4822 static void Thread1() {
4831 static void Thread2() {
5083 static pthread_once_t once = PTHREAD_ONCE_INIT;
5123 // test108: TN. initialization of static object. {{{1
5125 // Here we have a function-level static object.
5145 static const Foo *foo = new Foo();
5160 printf("test108: negative, initialization of static object\n");
5176 static int GLOB[N];
5214 static int STATIC;
5232 STATIC++;
5270 FAST_MODE_INIT(&STATIC);
5271 ANNOTATE_EXPECT_RACE(&STATIC, "real race on a static global object");
5300 CHECK(STATIC <= 3);
5329 static bool ArgIsTrue(bool *arg) {
5477 static int bar = 1;
5481 static int foo = Bar();
5485 static int x = Foo();
5596 // test117: TN. Many calls to function-scope static init. {{{1
5606 static int foo = Foo();
5715 static Mutex mu;
5716 static Foo *foo;
6137 static __thread int per_thread_global[10] = {0};
6439 static Container container;
6923 static int is_inited = 0;
6924 static Mutex lock;
6925 static Foo *foo;
7170 static Mutex mu;
7171 static vector<int> *vec; // GUARDED_BY(mu);
7243 static vector<int> *vec;
7244 static int ref_count;