Searched refs:BLOCK_FIELD_IS_WEAK (Results 1 - 6 of 6) 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:__anon19572
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.cpp1259 note.flag |= BLOCK_FIELD_IS_WEAK;
1346 flags |= BLOCK_FIELD_IS_WEAK;
1511 flags |= BLOCK_FIELD_IS_WEAK;
1970 flags |= BLOCK_FIELD_IS_WEAK;
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp46 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon17972::RewriteModernObjC::__anon17973
5082 /// [|BLOCK_FIELD_IS_WEAK]) // object
5085 /// [|BLOCK_FIELD_IS_WEAK]) // block
5091 /// [|BLOCK_FIELD_IS_WEAK]) // object
5094 /// [|BLOCK_FIELD_IS_WEAK]) // block
5200 flag |= BLOCK_FIELD_IS_WEAK;
5206 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.
H A DRewriteObjC.cpp45 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon17975::RewriteObjC::__anon17976
4149 /// [|BLOCK_FIELD_IS_WEAK]) // object
4152 /// [|BLOCK_FIELD_IS_WEAK]) // block
4158 /// [|BLOCK_FIELD_IS_WEAK]) // object
4161 /// [|BLOCK_FIELD_IS_WEAK]) // block
4269 flag |= BLOCK_FIELD_IS_WEAK;
4276 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.

Completed in 176 milliseconds