Home
last modified time | relevance | path

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

/external/compiler-rt/lib/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/test/BlocksRuntime/
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/
Dblock-type-safety.m165 void (^aBlock)();
166 id anId = aBlock; // OK
168 id<P1,P2> anQualId = aBlock; // expected-error {{initializing 'id<P1,P2>' with an expression of in…
170 NSArray* anArray = aBlock; // expected-error {{initializing 'NSArray *' with an expression of incom…
172 aBlock = anId; // OK
175 aBlock = anQualId1; // expected-error {{assigning to 'void (^)()' from incompatible type 'id<P1,P2>…
178 aBlock = anArray1; // expected-error {{assigning to 'void (^)()' from incompatible type 'NSArray *'…
182 void (^aBlock)();
183 id<NSObject> anQualId1 = aBlock; // Ok
184 id<NSObject, NSCopying> anQualId2 = aBlock; // Ok
[all …]
Dwarn-retain-block-property.m12 void (^aBlock)(void); field
14 @property (retain) void (^aBlock)(void);
23 @synthesize aBlock;
29 t.aBlock = ^{ doSomething(); };
35 // CHECK-ARC: @property (retain) void (^aBlock)(void);
52 // CHECK: @property (retain) void (^aBlock)(void);
/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);
/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/ARCMT/
DCommon.h107 void *_Block_copy(const void *aBlock);
108 void _Block_release(const void *aBlock);
/external/sqlite/dist/
Dsqlite3.c150185 char *aBlock = 0;
150189 rc = sqlite3Fts3ReadBlock(p, reader.iChild, &aBlock, &nBlock, 0);
150192 memcpy(pNode->block.a, aBlock, nBlock);
150195 sqlite3_free(aBlock);
150513 char *aBlock = 0;
150517 rc = sqlite3Fts3ReadBlock(p, iBlock, &aBlock, &nBlock, 0);
150519 rc = fts3TruncateNode(aBlock, nBlock, &block, zTerm, nTerm, &iBlock);
150524 sqlite3_free(aBlock);
/external/sqlite/dist/orig/
Dsqlite3.c150155 char *aBlock = 0;
150159 rc = sqlite3Fts3ReadBlock(p, reader.iChild, &aBlock, &nBlock, 0);
150162 memcpy(pNode->block.a, aBlock, nBlock);
150165 sqlite3_free(aBlock);
150483 char *aBlock = 0;
150487 rc = sqlite3Fts3ReadBlock(p, iBlock, &aBlock, &nBlock, 0);
150489 rc = fts3TruncateNode(aBlock, nBlock, &block, zTerm, nTerm, &iBlock);
150494 sqlite3_free(aBlock);