Searched refs:Block_copy (Results 1 – 25 of 28) sorted by relevance
12
135 dispatch_block_t heap_block = Block_copy(block); \150 dispatch_block_t heap_block = Block_copy(block); \204 dispatch_block_t heap_block = Block_copy(block); in DISPATCH_INTERCEPT_B()334 dispatch_block_t heap_block = Block_copy(^(void) { in TSAN_INTERCEPTOR()364 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR()393 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR()424 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR()495 dispatch_block_t heap_block = Block_copy(destructor); in DECLARE_REAL_AND_INTERCEPTOR()514 fd_handler_t new_h = Block_copy(^(dispatch_data_t data, int error) { in TSAN_INTERCEPTOR()531 fd_handler_t new_h = Block_copy(^(dispatch_data_t data, int error) { in TSAN_INTERCEPTOR()[all …]
19 Block_copy(^{ in main()24 Block_copy(b); in main()
26 bumpi = Block_copy(^{ ++i; }); in setClosures()27 geti = Block_copy(^{ return i; }); in setClosures()
27 dispatch_call_Block_with_release2(Block_copy(b1)); in main()28 dispatch_call_Block_with_release2(Block_copy(b2)); in main()
22 void (^gblockcopy)(int) = Block_copy(gblock); in main()33 gblockcopy = Block_copy(gblock); in main()
47 void (^other_copied_block)(int) = Block_copy(^(int i) { in main()61 recursive_copy_block = Block_copy(^(int i) { in main()
11 void (^bbb)(void) = Block_copy(^ { in foo()
29 recursive_copy_block = Block_copy(^(int i) { in main()
22 dispatch_block_t block = Block_copy(^{ c = i; }); in main()
30 void (^blockcopy)(void) = Block_copy(block); in main()
24 void (^blockcopy)(void) = Block_copy(block); in main()
47 void (^vvcopy)(void) = Block_copy(vv); in main()
29 _b = Block_copy(b); // make a new copy each time in main()
50 voidVoid copy = Block_copy(dummy); in testRoutine()
40 voidVoid result = Block_copy(outer); in testFunction()
53 void (*Block_copy)(void *dst, void *src); member
71 void (^b2)(void) = Block_copy(b); in test()
10 blk c = Block_copy(b);15 id c = Block_copy(b);
109 #define Block_copy(...) ((__typeof(__VA_ARGS__))_Block_copy((const void *)(__VA_ARGS__))) macro
9 extern "C" dispatch_block_t Block_copy(dispatch_block_t aBlock);24 dispatch_block_t copiedBlock = Block_copy(wrapperBlock); function
214 The copy operation ``Block_copy()`` is styled as a function that takes234 a Block_copy of a referencing Block. Such variables may be mutated as240 (that it is the result of a ``Block_copy`` operation). Despite this241 there is no provision to do a ``Block_copy`` or a ``Block_release`` if280 The :block-term:`Block_copy` operator retains all objects held in299 ``Block_copy()``). The initial Apple implementation does in fact301 only as a result of a ``Block_copy()`` operation.338 calling ``Block_copy()`` on a Block allocated on the stack. In both349 to the heap as a result of a ``Block_copy()`` operation. When copied
55 #define Block_copy(...) ((__typeof(__VA_ARGS__))_Block_copy((const void *)(__VA_ARGS__))) macro
168 void (*Block_copy)(void *dst, void *src); /* iff BLOCK_HAS_COPY_DISPOSE */ member
23 static B Retain(B block) { return Block_copy(block); } in Retain()
132 int (^block)(int) = Block_copy(^(int x) { return x + 1; }); in main()