Home
last modified time | relevance | path

Searched refs:dispatch_block_t (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/test/Rewriter/
Dinner-block-helper-funcs.mm5 typedef void (^dispatch_block_t)(void);
9 extern "C" dispatch_block_t Block_copy(dispatch_block_t aBlock);
13 dispatch_block_t innerBlock = ^{printf("argc = %d\n", argc); };
18 dispatch_block_t wrapperBlock = ^{
24 dispatch_block_t copiedBlock = Block_copy(wrapperBlock);
/external/llvm-project/clang/test/Rewriter/
Dinner-block-helper-funcs.mm5 typedef void (^dispatch_block_t)(void);
9 extern "C" dispatch_block_t Block_copy(dispatch_block_t aBlock);
13 dispatch_block_t innerBlock = ^{printf("argc = %d\n", argc); };
18 dispatch_block_t wrapperBlock = ^{
24 dispatch_block_t copiedBlock = Block_copy(wrapperBlock);
/external/compiler-rt/lib/tsan/rtl/
Dtsan_libdispatch_mac.cc121 dispatch_block_t block = (dispatch_block_t)param; in invoke_block()
126 dispatch_block_t block = (dispatch_block_t)param; in invoke_and_release_block()
132 TSAN_INTERCEPTOR(void, name, dispatch_queue_t q, dispatch_block_t block) { \
135 dispatch_block_t heap_block = Block_copy(block); \
147 TSAN_INTERCEPTOR(void, name, dispatch_queue_t q, dispatch_block_t block) { \
150 dispatch_block_t heap_block = Block_copy(block); \
201 dispatch_queue_t queue, dispatch_block_t block) { in DISPATCH_INTERCEPT_B()
204 dispatch_block_t heap_block = Block_copy(block); in DISPATCH_INTERCEPT_B()
237 dispatch_block_t block) { in TSAN_INTERCEPTOR()
299 dispatch_queue_t queue, dispatch_block_t block) { in TSAN_INTERCEPTOR()
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_libdispatch.cpp149 dispatch_block_t block = (dispatch_block_t)param; in invoke_block()
154 dispatch_block_t block = (dispatch_block_t)param; in invoke_and_release_block()
160 TSAN_INTERCEPTOR(void, name, dispatch_queue_t q, dispatch_block_t block) { \
163 dispatch_block_t heap_block = Block_copy(block); \
176 DISPATCH_NOESCAPE dispatch_block_t block) { \
235 dispatch_queue_t queue, DISPATCH_NOESCAPE dispatch_block_t block);
239 dispatch_queue_t queue, DISPATCH_NOESCAPE dispatch_block_t block);
254 dispatch_queue_t queue, dispatch_block_t block) { in DISPATCH_INTERCEPT_SYNC_F()
257 dispatch_block_t heap_block = Block_copy(block); in DISPATCH_INTERCEPT_SYNC_F()
290 DISPATCH_NOESCAPE dispatch_block_t block) { in TSAN_INTERCEPTOR()
[all …]
Dtsan_dispatch_defs.h30 typedef void (^dispatch_block_t)(void); typedef
45 extern const dispatch_block_t _dispatch_data_destructor_free;
46 extern const dispatch_block_t _dispatch_data_destructor_munmap;
/external/llvm-project/clang/test/Analysis/
Dstack-capture-leak-arc.mm4 typedef void (^dispatch_block_t)(void);
5 void dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
7 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block);
9 void dispatch_after(dispatch_time_t when, dispatch_queue_t queue, dispatch_block_t block);
10 void dispatch_barrier_sync(dispatch_queue_t queue, dispatch_block_t block);
78 dispatch_block_t get_leaking_block() {
140 dispatch_block_t accept_and_pass_back_block(dispatch_block_t block) {
Dstack-capture-leak-no-arc.mm4 typedef void (^dispatch_block_t)(void);
5 void dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
24 dispatch_block_t test_block_inside_block_async_leak() {
Dincorrect-checker-names.mm132 typedef void (^dispatch_block_t)(void);
133 void dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
135 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block);
137 void dispatch_after(dispatch_time_t when, dispatch_queue_t queue, dispatch_block_t block);
138 void dispatch_barrier_sync(dispatch_queue_t queue, dispatch_block_t block);
144 dispatch_block_t get_leaking_block() {
Dunix-fns.c38 typedef void (^dispatch_block_t)(void); typedef
40 void dispatch_sync(dispatch_queue_t queue, dispatch_block_t block);
48 __attribute__((__noescape__)) dispatch_block_t block);
58 __attribute__((__noescape__)) dispatch_block_t block) in _dispatch_once()
Dweak-functions.c90 typedef void (^dispatch_block_t)(void); typedef
92 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block) __attribute__((weak_import));
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test_helpers.mm94 dispatch_block_t block = ^{ worker_do_crash(1024); };
104 dispatch_block_t block = ^{ worker_do_crash(1024); };
116 dispatch_block_t block_alloc = ^{ worker_do_alloc(1024); };
117 dispatch_block_t block_crash = ^{ worker_do_crash(1024); };
132 dispatch_block_t block_alloc = ^{ worker_do_alloc(1024); };
133 dispatch_block_t block_crash = ^{ worker_do_crash(1024); };
143 dispatch_block_t block_crash = ^{ worker_do_crash(1024); };
157 dispatch_block_t block_dealloc = ^{ worker_do_deallocate(tsd); };
/external/llvm-project/compiler-rt/lib/asan/tests/
Dasan_mac_test_helpers.mm94 dispatch_block_t block = ^{ worker_do_crash(1024); };
104 dispatch_block_t block = ^{ worker_do_crash(1024); };
116 dispatch_block_t block_alloc = ^{ worker_do_alloc(1024); };
117 dispatch_block_t block_crash = ^{ worker_do_crash(1024); };
132 dispatch_block_t block_alloc = ^{ worker_do_alloc(1024); };
133 dispatch_block_t block_crash = ^{ worker_do_crash(1024); };
143 dispatch_block_t block_crash = ^{ worker_do_crash(1024); };
157 dispatch_block_t block_dealloc = ^{ worker_do_deallocate(tsd); };
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-no-escape.m6 typedef void (^dispatch_block_t)(void);
7 void dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
8 void dispatch_after(dispatch_time_t when, dispatch_queue_t queue, dispatch_block_t block);
/external/clang/test/CodeGenCXX/
Dblock-in-ctor-dtor.cpp3 typedef void (^dispatch_block_t)(void); typedef
5 void dispatch_once(dispatch_block_t);
/external/llvm-project/clang/test/CodeGenCXX/
Dblock-in-ctor-dtor.cpp3 typedef void (^dispatch_block_t)(void); typedef
5 void dispatch_once(dispatch_block_t);
/external/clang/test/Analysis/
Dunix-fns.c36 typedef void (^dispatch_block_t)(void); typedef
39 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block);
40 void dispatch_sync(dispatch_queue_t queue, dispatch_block_t block);
175 static inline void _dispatch_once(dispatch_once_t *predicate, dispatch_block_t block) in _dispatch_once()
Dweak-functions.c90 typedef void (^dispatch_block_t)(void); typedef
92 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block) __attribute__((weak_import));
/external/clang/test/SemaObjC/
Darc-jump-block.m6 typedef void (^dispatch_block_t)(void);
8 void dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
/external/llvm-project/clang/test/SemaObjC/
Darc-jump-block.m6 typedef void (^dispatch_block_t)(void);
8 void dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
/external/llvm-project/compiler-rt/test/lsan/TestCases/Darwin/
Ddispatch.mm28 dispatch_block_t block = ^{
41 dispatch_block_t block = ^{
/external/llvm-project/compiler-rt/test/BlocksRuntime/
Drdar6414583.c21 dispatch_block_t block = Block_copy(^{ c = i; }); in main()
/external/compiler-rt/test/BlocksRuntime/
Drdar6414583.c22 dispatch_block_t block = Block_copy(^{ c = i; }); in main()
/external/llvm-project/clang/test/CodeGenObjC/
Darc-captured-block-var-inlined-layout.m101 typedef void (^dispatch_block_t)(void);
109 dispatch_block_t block2 = ^{
/external/webrtc/sdk/objc/helpers/
DRTCDispatcher.h37 + (void)dispatchAsyncOnType:(RTCDispatcherQueueType)dispatchType block:(dispatch_block_t)block;
/external/llvm-project/compiler-rt/test/tsan/libdispatch/
Dasync_and_wait.c12 DISPATCH_NOESCAPE dispatch_block_t block);

12