/external/clang/test/Rewriter/ |
D | inner-block-helper-funcs.mm | 5 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/ |
D | inner-block-helper-funcs.mm | 5 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/ |
D | tsan_libdispatch_mac.cc | 121 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/ |
D | tsan_interceptors_libdispatch.cpp | 149 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 …]
|
D | tsan_dispatch_defs.h | 30 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/ |
D | stack-capture-leak-arc.mm | 4 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) {
|
D | stack-capture-leak-no-arc.mm | 4 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() {
|
D | incorrect-checker-names.mm | 132 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() {
|
D | unix-fns.c | 38 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()
|
D | weak-functions.c | 90 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/ |
D | asan_mac_test_helpers.mm | 94 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/ |
D | asan_mac_test_helpers.mm | 94 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/ |
D | bugprone-no-escape.m | 6 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/ |
D | block-in-ctor-dtor.cpp | 3 typedef void (^dispatch_block_t)(void); typedef 5 void dispatch_once(dispatch_block_t);
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | block-in-ctor-dtor.cpp | 3 typedef void (^dispatch_block_t)(void); typedef 5 void dispatch_once(dispatch_block_t);
|
/external/clang/test/Analysis/ |
D | unix-fns.c | 36 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()
|
D | weak-functions.c | 90 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/ |
D | arc-jump-block.m | 6 typedef void (^dispatch_block_t)(void); 8 void dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
|
/external/llvm-project/clang/test/SemaObjC/ |
D | arc-jump-block.m | 6 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/ |
D | dispatch.mm | 28 dispatch_block_t block = ^{ 41 dispatch_block_t block = ^{
|
/external/llvm-project/compiler-rt/test/BlocksRuntime/ |
D | rdar6414583.c | 21 dispatch_block_t block = Block_copy(^{ c = i; }); in main()
|
/external/compiler-rt/test/BlocksRuntime/ |
D | rdar6414583.c | 22 dispatch_block_t block = Block_copy(^{ c = i; }); in main()
|
/external/llvm-project/clang/test/CodeGenObjC/ |
D | arc-captured-block-var-inlined-layout.m | 101 typedef void (^dispatch_block_t)(void); 109 dispatch_block_t block2 = ^{
|
/external/webrtc/sdk/objc/helpers/ |
D | RTCDispatcher.h | 37 + (void)dispatchAsyncOnType:(RTCDispatcherQueueType)dispatchType block:(dispatch_block_t)block;
|
/external/llvm-project/compiler-rt/test/tsan/libdispatch/ |
D | async_and_wait.c | 12 DISPATCH_NOESCAPE dispatch_block_t block);
|