| /llvm-project-15.0.7/compiler-rt/test/BlocksRuntime/ |
| H A D | byrefcopyinner.c | 18 Block_copy(^{ in main() 23 Block_copy(b); in main()
|
| H A D | byrefcopystack.c | 25 bumpi = Block_copy(^{ ++i; }); in setClosures() 26 geti = Block_copy(^{ return i; }); in setClosures()
|
| H A D | dispatch_call_Block_with_release.c | 26 dispatch_call_Block_with_release2(Block_copy(b1)); in main() 27 dispatch_call_Block_with_release2(Block_copy(b2)); in main()
|
| H A D | globalexpression.c | 21 void (^gblockcopy)(int) = Block_copy(gblock); in main() 32 gblockcopy = Block_copy(gblock); in main()
|
| H A D | recursive-test.c | 46 void (^other_copied_block)(int) = Block_copy(^(int i) { in main() 60 recursive_copy_block = Block_copy(^(int i) { in main()
|
| H A D | macro.c | 10 void (^bbb)(void) = Block_copy(^ { in foo()
|
| H A D | recursiveassign.c | 28 recursive_copy_block = Block_copy(^(int i) { in main()
|
| H A D | rdar6414583.c | 21 dispatch_block_t block = Block_copy(^{ c = i; }); in main()
|
| H A D | byrefcopy.c | 29 void (^blockcopy)(void) = Block_copy(block); in main()
|
| H A D | copynull.c | 23 void (^blockcopy)(void) = Block_copy(block); in main()
|
| H A D | blockimport.c | 46 void (^vvcopy)(void) = Block_copy(vv); in main()
|
| H A D | byrefcopycopy.c | 28 _b = Block_copy(b); // make a new copy each time in main()
|
| H A D | byrefcopyint.c | 49 voidVoid copy = Block_copy(dummy); in testRoutine()
|
| H A D | recursive-block.c | 39 voidVoid result = Block_copy(outer); in testFunction()
|
| H A D | byrefsanity.c | 52 void (*Block_copy)(void *dst, void *src); member
|
| H A D | reference.C | 70 void (^b2)(void) = Block_copy(b); in test()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_interceptors_libdispatch.cpp | 257 dispatch_block_t heap_block = Block_copy(block); in DISPATCH_INTERCEPT_SYNC_F() 393 dispatch_block_t heap_block = Block_copy(^(void) { in DECLARE_REAL() 423 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() 452 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() 483 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() 575 dispatch_block_t heap_block = Block_copy(destructor); in DECLARE_REAL_AND_INTERCEPTOR() 629 Block_copy(^(bool done, dispatch_data_t data, int error) { in TSAN_INTERCEPTOR() 667 dispatch_block_t new_block = Block_copy(^(void) { in TSAN_INTERCEPTOR() 685 cleanup_handler_t new_h = Block_copy(^(int error) { in TSAN_INTERCEPTOR() 710 cleanup_handler_t new_h = Block_copy(^(int error) { in TSAN_INTERCEPTOR() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_libdispatch.cpp | 257 dispatch_block_t heap_block = Block_copy(block); in DISPATCH_INTERCEPT_SYNC_F() 393 dispatch_block_t heap_block = Block_copy(^(void) { in DECLARE_REAL() 423 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() 452 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() 483 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() 575 dispatch_block_t heap_block = Block_copy(destructor); in DECLARE_REAL_AND_INTERCEPTOR() 629 Block_copy(^(bool done, dispatch_data_t data, int error) { in TSAN_INTERCEPTOR() 667 dispatch_block_t new_block = Block_copy(^(void) { in TSAN_INTERCEPTOR() 685 cleanup_handler_t new_h = Block_copy(^(int error) { in TSAN_INTERCEPTOR() 710 cleanup_handler_t new_h = Block_copy(^(int error) { in TSAN_INTERCEPTOR() [all …]
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | block_copy_release.m | 10 blk c = Block_copy(b); 15 id c = Block_copy(b);
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | inner-block-helper-funcs.mm | 9 extern "C" dispatch_block_t Block_copy(dispatch_block_t aBlock); 24 dispatch_block_t copiedBlock = Block_copy(wrapperBlock); function
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | BlockLanguageSpec.rst | 214 The copy operation ``Block_copy()`` is styled as a function that takes 234 a Block_copy of a referencing Block. Such variables may be mutated as 240 (that it is the result of a ``Block_copy`` operation). Despite this 241 there is no provision to do a ``Block_copy`` or a ``Block_release`` if 280 The :block-term:`Block_copy` operator retains all objects held in 299 ``Block_copy()``). The initial Apple implementation does in fact 301 only as a result of a ``Block_copy()`` operation. 338 calling ``Block_copy()`` on a Block allocated on the stack. In both 349 to the heap as a result of a ``Block_copy()`` operation. When copied
|
| /llvm-project-15.0.7/compiler-rt/lib/BlocksRuntime/ |
| H A D | Block.h | 55 #define Block_copy(...) ((__typeof(__VA_ARGS__))_Block_copy((const void *)(__VA_ARGS__))) macro
|
| H A D | Block_private.h | 168 void (*Block_copy)(void *dst, void *src); /* iff BLOCK_HAS_COPY_DISPOSE */ member
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | stack-capture-leak-no-arc.mm | 15 // Block_copy(...) copies the captured block ("inner") too,
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/function.objects/ |
| H A D | func.blocks.pass.cpp | 132 int (^block)(int) = Block_copy(^(int x) { return x + 1; }); in main()
|