Home
last modified time | relevance | path

Searched refs:aBlock (Results 1 – 14 of 14) sorted by relevance

/external/compiler-rt/BlocksRuntime/
Druntime.c180 static void _Block_do_nothing(const void *aBlock) { } in _Block_do_nothing() argument
286 struct Block_layout *aBlock; in _Block_copy_internal() local
294 aBlock = (struct Block_layout *)arg; in _Block_copy_internal()
295 if (aBlock->flags & BLOCK_NEEDS_FREE) { in _Block_copy_internal()
297 latching_incr_int(&aBlock->flags); in _Block_copy_internal()
298 return aBlock; in _Block_copy_internal()
300 else if (aBlock->flags & BLOCK_IS_GC) { in _Block_copy_internal()
302 if (wantsOne && ((latching_incr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK) == 1)) { in _Block_copy_internal()
304 _Block_setHasRefcount(aBlock, true); in _Block_copy_internal()
306 return aBlock; in _Block_copy_internal()
[all …]
DBlock.h44 BLOCK_EXPORT void *_Block_copy(const void *aBlock);
47 BLOCK_EXPORT void _Block_release(const void *aBlock);
DBlock_private.h154 BLOCK_EXPORT void *_Block_copy_collectable(const void *aBlock);
/external/compiler-rt/BlocksRuntime/tests/
Dcast.c24 void (^aBlock)(void); in main() local
29 ip = (int *)aBlock; in main()
30 cp = (char *)aBlock; in main()
31 dp = (double *)aBlock; in main()
32 aBlock = (void (^)(void))ip; in main()
33 aBlock = (void (^)(void))cp; in main()
34 aBlock = (void (^)(void))dp; in main()
Dsizeof.c21 void (^aBlock)(void) = ^{ printf("hellow world\n"); }; in main()
23 printf("the size of a block is %ld\n", sizeof(*aBlock)); in main()
/external/clang/test/SemaObjC/
Dwarn-retain-block-property.m11 void (^aBlock)(void); field
13 @property (retain) void (^aBlock)(void); // expected-warning {{retain'ed block property does not co…
22 @synthesize aBlock;
28 t.aBlock = ^{ doSomething(); };
/external/clang/test/CodeGenCXX/
Dcxx-block-objects.cpp5 extern "C" void *_Block_copy(const void *aBlock);
6 extern "C" void _Block_release(const void *aBlock);
/external/clang/test/Rewriter/
Drewrite-byref-vars.mm7 void (^aBlock)(void) = ^ {
13 void (^aBlock)(void) = ^ {
22 void (^aBlock)(void) = ^ {
Drewrite-modern-extern-c-func-decl.mm8 void (^aBlock)(void) = ^ {
23 void (^aBlock)(void) = ^ {
43 void (^aBlock)(void) = ^ {
Drewrite-function-decl.mm5 void (^aBlock)(void) = ^ {
20 void (^aBlock)(void) = ^ {
Drewrite-typeof.mm5 extern "C" void *_Block_copy(const void *aBlock);
6 extern "C" void _Block_release(const void *aBlock);
Drewrite-modern-typeof.mm7 extern "C" void *_Block_copy(const void *aBlock);
8 extern "C" void _Block_release(const void *aBlock);
Dinner-block-helper-funcs.mm9 extern "C" dispatch_block_t Block_copy(dispatch_block_t aBlock);
Drewrite-block-pointer.mm38 void *_Block_copy(const void *aBlock);