Searched refs:dispatch_once (Results 1 – 6 of 6) sorted by relevance
/external/clang/test/CodeGenCXX/ |
D | block-in-ctor-dtor.cpp | 5 void dispatch_once(dispatch_block_t); 14 dispatch_once(^{}); in Zone() 15 dispatch_once(^{}); in Zone() 19 dispatch_once(^{}); in ~Zone() 20 dispatch_once(^{}); in ~Zone() 29 dispatch_once(^{}); in X() 30 dispatch_once(^{}); in X() 34 dispatch_once(^{}); in ~X() 35 dispatch_once(^{}); in ~X()
|
/external/clang/test/Analysis/ |
D | unix-fns.c | 39 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block); 62 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once() 66 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once_neg() 177 dispatch_once(predicate, block); in _dispatch_once() 180 #define dispatch_once _dispatch_once macro 184 …dispatch_once(&pred, ^(){}); // expected-warning {{Call to 'dispatch_once' uses the local variabl… in test_dispatch_once_in_macro() 201 dispatch_once(&pred, ^(void) { in test_inline_dispatch_once()
|
D | weak-functions.c | 92 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block) __attribute__((weak_import)); 96 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once() 100 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once_neg()
|
D | blocks.m | 16 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block); function 56 // via IPA 'logQueue' and 'client' should be updated after the call to 'dispatch_once'. 63 dispatch_once(&pred, ^{
|
/external/clang/test/SemaObjCXX/ |
D | arc-type-conversion.mm | 28 void dispatch_once(dispatch_block_t block); 31 dispatch_once(block);
|
/external/clang/test/Analysis/inlining/ |
D | path-notes.m | 10 // Note: The real dispatch_once has all parameters marked nonnull. 13 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block); function 160 dispatch_once(&token, ^{}); 167 dispatch_once(&token, ^{}); // don't crash, don't warn here 174 dispatch_once(0, ^{}); // no-warning, don't crash
|