Searched refs:Block_copy (Results 1 – 25 of 25) sorted by relevance
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
119 ``Block_copy()`` and ``Block_release()`` operations, in which case the362 Variables of certain types require helper functions for when ``Block_copy()``376 // helper functions called via Block_copy() and Block_release()552 Because ``Blocks`` referencing ``__block`` variables may have ``Block_copy()``725 ``Block_copy()`` operation, and the flags work marked with the (1<<26) bit in
99 provides a ``Block_copy`` function which, given a block pointer, either copies177 ``Block_copy``.1766 ``Block_copy``. The optimizer may remove such copies when it sees that the
1186 result. The returned block is first copied (with ``Block_copy``) and then
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