Lines Matching defs:pred
41 dispatch_once_t pred = 0;
42 do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); // expected-warning{{Call to 'dispatch_once' uses the local variable 'pred' for the predicate value}}
45 static dispatch_once_t pred = 0;
46 do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); // no-warning
52 pthread_once_t pred = {0x30B1BCBA, {0}};
53 pthread_once(&pred, test_pthread_once_aux); // expected-warning{{Call to 'pthread_once' uses the local variable 'pred' for the "control" value}}
56 static pthread_once_t pred = {0x30B1BCBA, {0}};
57 pthread_once(&pred, test_pthread_once_aux); // no-warning