Searched refs:BLOCK_FIELD_IS_WEAK (Results 1 - 8 of 8) sorted by relevance

/external/compiler-rt/lib/BlocksRuntime/
H A DBlock_private.h106 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon3756
H A Druntime.c380 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 DBlock_private.h106 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon7858
H A Druntime.c380 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 DCGBlocks.h105 BLOCK_FIELD_IS_WEAK = 0x10, /* declared __weak, only used in byref copy enumerator in enum:clang::CodeGen::BlockFieldFlag_t
H A DCGBlocks.cpp1306 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 DRewriteObjC.cpp46 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 DRewriteModernObjC.cpp48 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