OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dispatch_once
(Results
1 - 3
of
3
) sorted by null
/external/clang/test/CodeGenCXX/
block-in-ctor-dtor.cpp
5
void
dispatch_once
(dispatch_block_t);
14
dispatch_once
(^{});
15
dispatch_once
(^{});
19
dispatch_once
(^{});
20
dispatch_once
(^{});
29
dispatch_once
(^{});
30
dispatch_once
(^{});
34
dispatch_once
(^{});
35
dispatch_once
(^{});
/external/clang/test/Analysis/
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); // expected-warning{{Call to '
dispatch_once
' uses the local variable 'pred' for the predicate value}}
66
do { if (__builtin_expect(*(&pred), ~0l) != ~0l)
dispatch_once
((&pred), (^() {})); } while (0); // no-warning
172
// Test
dispatch_once
being a macro that wraps a call to _dispatch_once, which in turn
173
// calls the real
dispatch_once
.
177
dispatch_once
(predicate, block);
180
#define
dispatch_once
_dispatch_once
macro
184
dispatch_once
(&pred, ^(){}); // expected-warning {{Call to '
dispatch_once
' uses the local variable 'pred' for the predicate value}
[
all
...]
weak-functions.c
88
// unix-fns.c :
dispatch_once
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); // expected-warning{{Call to '
dispatch_once
' uses the local variable 'pred' for the predicate value}}
100
do { if (__builtin_expect(*(&pred), ~0l) != ~0l)
dispatch_once
((&pred), (^() {})); } while (0); // no-warning
Completed in 75 milliseconds