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

/freebsd-11.0-release/contrib/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:__anon854
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) {
/freebsd-11.0-release/contrib/llvm/tools/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.cpp1304 note.flag |= BLOCK_FIELD_IS_WEAK;
1392 flags |= BLOCK_FIELD_IS_WEAK;
1561 flags |= BLOCK_FIELD_IS_WEAK;
2012 flags |= BLOCK_FIELD_IS_WEAK;
/freebsd-11.0-release/contrib/gcc/
H A Dc-common.h1048 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */
1047 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon1177
H A Dc-decl.c3499 _Block_object_assign (&_dest->object, _src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // objects
3500 _Block_object_assign(&_dest->object, _src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // blocks
3564 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // object
3565 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // block
3728 initlist = tree_cons (fields, fold_convert (ptr_type_node, ((flag & BLOCK_FIELD_IS_WEAK) != 0) ? integer_one_node
3846 flag = BLOCK_FIELD_IS_WEAK;
3864 COPYABLE_WEAK_BLOCK (decl) = ((flag & BLOCK_FIELD_IS_WEAK) != 0);
H A Dc-parser.c9062 _Block_object_assign(&_dest->myImportedBlock, _src->myImportedBlock, BLOCK_FIELD_IS_BYREF [|BLOCK_FIELD_IS_WEAK])
9077 /* _Block_object_assign(&_dest->myImportedClosure, _src->myImportedClosure, BLOCK_FIELD_IS_BYREF [|BLOCK_FIELD_IS_WEAK]) */
9079 flag |= BLOCK_FIELD_IS_WEAK;
9138 _Block_object_dispose(_src->myImportedClosure, BLOCK_FIELD_IS_BYREF[|BLOCK_FIELD_IS_WEAK])
9152 flag |= BLOCK_FIELD_IS_WEAK;
9153 /* _Block_object_dispose(_src->myImportedClosure, BLOCK_FIELD_IS_BYREF[|BLOCK_FIELD_IS_WEAK]) */
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp47 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon3902::RewriteObjC::__anon3903
4116 /// [|BLOCK_FIELD_IS_WEAK]) // object
4119 /// [|BLOCK_FIELD_IS_WEAK]) // block
4125 /// [|BLOCK_FIELD_IS_WEAK]) // object
4128 /// [|BLOCK_FIELD_IS_WEAK]) // block
4236 flag |= BLOCK_FIELD_IS_WEAK;
4243 // 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:__anon3899::RewriteModernObjC::__anon3900
5030 /// [|BLOCK_FIELD_IS_WEAK]) // object
5033 /// [|BLOCK_FIELD_IS_WEAK]) // block
5039 /// [|BLOCK_FIELD_IS_WEAK]) // object
5042 /// [|BLOCK_FIELD_IS_WEAK]) // block
5148 flag |= BLOCK_FIELD_IS_WEAK;
5154 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.
/freebsd-11.0-release/contrib/gcc/cp/
H A Ddecl.c5209 _Block_object_assign (&_dest->object, _src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // objects
5210 _Block_object_assign(&_dest->object, _src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // blocks
5276 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // objects
5277 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // blocks
5475 initlist = tree_cons (fields, fold_convert (ptr_type_node, ((flag & BLOCK_FIELD_IS_WEAK) != 0) ? integer_one_node
H A Dparser.c19541 _Block_object_assign(&_dest->myImportedBlock, _src->myImportedBlock, BLOCK_FIELD_IS_BYREF [|BLOCK_FIELD_IS_WEAK])
19556 /* _Block_object_assign(&_dest->myImportedClosure, _src->myImportedClosure, BLOCK_FIELD_IS_BYREF [|BLOCK_FIELD_IS_WEAK]) */
19558 flag |= BLOCK_FIELD_IS_WEAK;
19643 _Block_object_dispose(_src->myImportedClosure, BLOCK_FIELD_IS_BYREF[|BLOCK_FIELD_IS_WEAK])
19657 flag |= BLOCK_FIELD_IS_WEAK;
19658 /* _Block_object_dispose(_src->myImportedClosure, BLOCK_FIELD_IS_BYREF[|BLOCK_FIELD_IS_WEAK]) */

Completed in 285 milliseconds