Home
last modified time | relevance | path

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

/external/compiler-rt/test/BlocksRuntime/
Dbyrefcopyinner.c19 Block_copy(^{ in main()
24 Block_copy(b); in main()
Dbyrefcopystack.c26 bumpi = Block_copy(^{ ++i; }); in setClosures()
27 geti = Block_copy(^{ return i; }); in setClosures()
Ddispatch_call_Block_with_release.c27 dispatch_call_Block_with_release2(Block_copy(b1)); in main()
28 dispatch_call_Block_with_release2(Block_copy(b2)); in main()
Dglobalexpression.c22 void (^gblockcopy)(int) = Block_copy(gblock); in main()
33 gblockcopy = Block_copy(gblock); in main()
Drecursive-test.c47 void (^other_copied_block)(int) = Block_copy(^(int i) { in main()
61 recursive_copy_block = Block_copy(^(int i) { in main()
Dmacro.c11 void (^bbb)(void) = Block_copy(^ { in foo()
Drecursiveassign.c29 recursive_copy_block = Block_copy(^(int i) { in main()
Drdar6414583.c22 dispatch_block_t block = Block_copy(^{ c = i; }); in main()
Dbyrefcopy.c30 void (^blockcopy)(void) = Block_copy(block); in main()
Dcopynull.c24 void (^blockcopy)(void) = Block_copy(block); in main()
Dblockimport.c47 void (^vvcopy)(void) = Block_copy(vv); in main()
Dbyrefcopycopy.c29 _b = Block_copy(b); // make a new copy each time in main()
Dbyrefcopyint.c50 voidVoid copy = Block_copy(dummy); in testRoutine()
Drecursive-block.c40 voidVoid result = Block_copy(outer); in testFunction()
Dbyrefsanity.c53 void (*Block_copy)(void *dst, void *src); member
Dreference.C71 void (^b2)(void) = Block_copy(b); in test()
/external/clang/test/ARCMT/
Dblock_copy_release.m10 blk c = Block_copy(b);
15 id c = Block_copy(b);
DCommon.h109 #define Block_copy(...) ((__typeof(__VA_ARGS__))_Block_copy((const void *)(__VA_ARGS__))) macro
/external/clang/test/Rewriter/
Dinner-block-helper-funcs.mm9 extern "C" dispatch_block_t Block_copy(dispatch_block_t aBlock);
24 dispatch_block_t copiedBlock = Block_copy(wrapperBlock); function
/external/clang/docs/
DBlockLanguageSpec.rst214 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
DBlock-ABI-Apple.rst119 ``Block_copy()`` and ``Block_release()`` operations, in which case the
362 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
DAutomaticReferenceCounting.rst99 provides a ``Block_copy`` function which, given a block pointer, either copies
177 ``Block_copy``.
1766 ``Block_copy``. The optimizer may remove such copies when it sees that the
DLanguageExtensions.rst1186 result. The returned block is first copied (with ``Block_copy``) and then
/external/compiler-rt/lib/BlocksRuntime/
DBlock.h55 #define Block_copy(...) ((__typeof(__VA_ARGS__))_Block_copy((const void *)(__VA_ARGS__))) macro
DBlock_private.h168 void (*Block_copy)(void *dst, void *src); /* iff BLOCK_HAS_COPY_DISPOSE */ member