Lines Matching refs:pred
61 dispatch_once_t pred = 0; in test_dispatch_once() local
62 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once()
65 static dispatch_once_t pred = 0; in test_dispatch_once_neg() local
66 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once_neg()
72 pthread_once_t pred = {0x30B1BCBA, {0}}; in test_pthread_once() local
73 …pthread_once(&pred, test_pthread_once_aux); // expected-warning{{Call to 'pthread_once' uses the l… in test_pthread_once()
76 static pthread_once_t pred = {0x30B1BCBA, {0}}; in test_pthread_once_neg() local
77 pthread_once(&pred, test_pthread_once_aux); // no-warning in test_pthread_once_neg()
183 dispatch_once_t pred = 0; in test_dispatch_once_in_macro() local
184 …dispatch_once(&pred, ^(){}); // expected-warning {{Call to 'dispatch_once' uses the local variabl… in test_dispatch_once_in_macro()
199 static dispatch_once_t pred; in test_inline_dispatch_once() local
201 dispatch_once(&pred, ^(void) { in test_inline_dispatch_once()