/external/compiler-rt/lib/BlocksRuntime/ |
D | runtime.c | 180 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 …]
|
D | Block.h | 44 BLOCK_EXPORT void *_Block_copy(const void *aBlock); 47 BLOCK_EXPORT void _Block_release(const void *aBlock);
|
D | Block_private.h | 154 BLOCK_EXPORT void *_Block_copy_collectable(const void *aBlock);
|
/external/honggfuzz/third_party/android/libBlocksRuntime/ |
D | runtime.c | 180 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 …]
|
D | Block.h | 44 BLOCK_EXPORT void *_Block_copy(const void *aBlock); 47 BLOCK_EXPORT void _Block_release(const void *aBlock);
|
D | Block_private.h | 154 BLOCK_EXPORT void *_Block_copy_collectable(const void *aBlock);
|
/external/clang/test/SemaObjC/ |
D | block-type-safety.m | 165 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 …]
|
D | warn-retain-block-property.m | 12 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/compiler-rt/test/BlocksRuntime/ |
D | cast.c | 24 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()
|
D | sizeof.c | 21 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/Rewriter/ |
D | rewrite-byref-vars.mm | 7 void (^aBlock)(void) = ^ { 13 void (^aBlock)(void) = ^ { 22 void (^aBlock)(void) = ^ {
|
D | rewrite-modern-extern-c-func-decl.mm | 8 void (^aBlock)(void) = ^ { 23 void (^aBlock)(void) = ^ { 43 void (^aBlock)(void) = ^ {
|
D | rewrite-function-decl.mm | 5 void (^aBlock)(void) = ^ { 20 void (^aBlock)(void) = ^ {
|
D | rewrite-typeof.mm | 5 extern "C" void *_Block_copy(const void *aBlock); 6 extern "C" void _Block_release(const void *aBlock);
|
D | rewrite-modern-typeof.mm | 7 extern "C" void *_Block_copy(const void *aBlock); 8 extern "C" void _Block_release(const void *aBlock);
|
D | inner-block-helper-funcs.mm | 9 extern "C" dispatch_block_t Block_copy(dispatch_block_t aBlock);
|
D | rewrite-block-pointer.mm | 38 void *_Block_copy(const void *aBlock);
|
/external/clang/test/CodeGenCXX/ |
D | cxx-block-objects.cpp | 5 extern "C" void *_Block_copy(const void *aBlock); 6 extern "C" void _Block_release(const void *aBlock);
|
/external/clang/test/ARCMT/ |
D | Common.h | 107 void *_Block_copy(const void *aBlock); 108 void _Block_release(const void *aBlock);
|
/external/clang/test/Analysis/Inputs/ |
D | system-header-simulator-for-objc-dealloc.h | 31 void _Block_release(const void *aBlock);
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 163168 char *aBlock = 0; 163172 rc = sqlite3Fts3ReadBlock(p, reader.iChild, &aBlock, &nBlock, 0); 163175 memcpy(pNode->block.a, aBlock, nBlock); 163178 sqlite3_free(aBlock); 163496 char *aBlock = 0; 163500 rc = sqlite3Fts3ReadBlock(p, iBlock, &aBlock, &nBlock, 0); 163502 rc = fts3TruncateNode(aBlock, nBlock, &block, zTerm, nTerm, &iBlock); 163507 sqlite3_free(aBlock);
|
/external/sqlite/dist/ |
D | sqlite3.c | 163196 char *aBlock = 0; 163200 rc = sqlite3Fts3ReadBlock(p, reader.iChild, &aBlock, &nBlock, 0); 163203 memcpy(pNode->block.a, aBlock, nBlock); 163206 sqlite3_free(aBlock); 163524 char *aBlock = 0; 163528 rc = sqlite3Fts3ReadBlock(p, iBlock, &aBlock, &nBlock, 0); 163530 rc = fts3TruncateNode(aBlock, nBlock, &block, zTerm, nTerm, &iBlock); 163535 sqlite3_free(aBlock);
|