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

/external/compiler-rt/BlocksRuntime/
H A DBlock_private.h106 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon4345
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.h90 BLOCK_FIELD_IS_WEAK = 0x10, /* declared __weak, only used in byref copy enumerator in enum:clang::CodeGen::BlockFieldFlag_t
H A DCGBlocks.cpp1166 note.flag |= BLOCK_FIELD_IS_WEAK;
1248 flags |= BLOCK_FIELD_IS_WEAK;
1357 flags |= BLOCK_FIELD_IS_WEAK;
1795 flags |= BLOCK_FIELD_IS_WEAK;
/external/clang/lib/Rewrite/
H A DRewriteModernObjC.cpp43 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon3247::RewriteModernObjC::__anon3248
4675 /// [|BLOCK_FIELD_IS_WEAK]) // object
4678 /// [|BLOCK_FIELD_IS_WEAK]) // block
4684 /// [|BLOCK_FIELD_IS_WEAK]) // object
4687 /// [|BLOCK_FIELD_IS_WEAK]) // block
4791 flag |= BLOCK_FIELD_IS_WEAK;
4798 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.
H A DRewriteObjC.cpp43 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon3250::RewriteObjC::__anon3251
4202 /// [|BLOCK_FIELD_IS_WEAK]) // object
4205 /// [|BLOCK_FIELD_IS_WEAK]) // block
4211 /// [|BLOCK_FIELD_IS_WEAK]) // object
4214 /// [|BLOCK_FIELD_IS_WEAK]) // block
4322 flag |= BLOCK_FIELD_IS_WEAK;
4329 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.

Completed in 111 milliseconds