Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/tsan/rtl/
Dtsan_libdispatch_mac.cc135 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 …]
/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
/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
/external/cronet/base/mac/
Dscoped_block.h23 static B Retain(B block) { return Block_copy(block); } in Retain()
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/utilities/function.objects/
Dfunc.blocks.pass.cpp132 int (^block)(int) = Block_copy(^(int x) { return x + 1; }); in main()

12