Searched refs:BLOCK_FIELD_IS_WEAK (Results 1 - 8 of 8) sorted by relevance
/external/compiler-rt/lib/BlocksRuntime/ |
H A D | Block_private.h | 106 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon3756
|
H A D | runtime.c | 380 bool isWeak = ((flags & (BLOCK_FIELD_IS_BYREF|BLOCK_FIELD_IS_WEAK)) == (BLOCK_FIELD_IS_BYREF|BLOCK_FIELD_IS_WEAK)); 540 If the __block variable is marked weak the compiler also or's in BLOCK_FIELD_IS_WEAK (16). 546 So the __block copy/dispose helpers will generate flag values of 3 or 7 for objects and Blocks respectively, with BLOCK_FIELD_IS_WEAK (16) or'ed as appropriate and always 128 or'd in, for the following set of possibilities: 563 if ((flags & BLOCK_FIELD_IS_WEAK) == BLOCK_FIELD_IS_WEAK) { 604 else if ((flags & (BLOCK_FIELD_IS_WEAK|BLOCK_FIELD_IS_BLOCK|BLOCK_BYREF_CALLER)) == BLOCK_FIELD_IS_OBJECT) {
|
/external/honggfuzz/third_party/android/libBlocksRuntime/ |
H A D | Block_private.h | 106 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon7858
|
H A D | runtime.c | 380 bool isWeak = ((flags & (BLOCK_FIELD_IS_BYREF|BLOCK_FIELD_IS_WEAK)) == (BLOCK_FIELD_IS_BYREF|BLOCK_FIELD_IS_WEAK)); 540 If the __block variable is marked weak the compiler also or's in BLOCK_FIELD_IS_WEAK (16). 546 So the __block copy/dispose helpers will generate flag values of 3 or 7 for objects and Blocks respectively, with BLOCK_FIELD_IS_WEAK (16) or'ed as appropriate and always 128 or'd in, for the following set of possibilities: 563 if ((flags & BLOCK_FIELD_IS_WEAK) == BLOCK_FIELD_IS_WEAK) { 604 else if ((flags & (BLOCK_FIELD_IS_WEAK|BLOCK_FIELD_IS_BLOCK|BLOCK_BYREF_CALLER)) == BLOCK_FIELD_IS_OBJECT) {
|
/external/clang/lib/CodeGen/ |
H A D | CGBlocks.h | 105 BLOCK_FIELD_IS_WEAK = 0x10, /* declared __weak, only used in byref copy enumerator in enum:clang::CodeGen::BlockFieldFlag_t
|
H A D | CGBlocks.cpp | 1306 note.flag |= BLOCK_FIELD_IS_WEAK; 1394 flags |= BLOCK_FIELD_IS_WEAK; 1563 flags |= BLOCK_FIELD_IS_WEAK; 2014 flags |= BLOCK_FIELD_IS_WEAK;
|
/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 46 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon1712::RewriteObjC::__anon1713 4098 /// [|BLOCK_FIELD_IS_WEAK]) // object 4101 /// [|BLOCK_FIELD_IS_WEAK]) // block 4107 /// [|BLOCK_FIELD_IS_WEAK]) // object 4110 /// [|BLOCK_FIELD_IS_WEAK]) // block 4218 flag |= BLOCK_FIELD_IS_WEAK; 4225 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.
|
H A D | RewriteModernObjC.cpp | 48 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon1709::RewriteModernObjC::__anon1710 4954 /// [|BLOCK_FIELD_IS_WEAK]) // object 4957 /// [|BLOCK_FIELD_IS_WEAK]) // block 4963 /// [|BLOCK_FIELD_IS_WEAK]) // object 4966 /// [|BLOCK_FIELD_IS_WEAK]) // block 5072 flag |= BLOCK_FIELD_IS_WEAK; 5078 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.
|
Completed in 153 milliseconds