/freebsd-10.3-release/contrib/compiler-rt/BlocksRuntime/ |
H A D | Block_private.h | 106 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon846
|
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) {
|
/freebsd-10.3-release/contrib/llvm/tools/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 | 1261 note.flag |= BLOCK_FIELD_IS_WEAK; 1349 flags |= BLOCK_FIELD_IS_WEAK; 1516 flags |= BLOCK_FIELD_IS_WEAK; 1976 flags |= BLOCK_FIELD_IS_WEAK;
|
/freebsd-10.3-release/contrib/gcc/ |
H A D | c-common.h | 1048 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:__anon993
|
H A D | c-decl.c | 3505 _Block_object_assign (&_dest->object, _src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // objects 3506 _Block_object_assign(&_dest->object, _src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // blocks 3570 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // object 3571 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // block 3734 initlist = tree_cons (fields, fold_convert (ptr_type_node, ((flag & BLOCK_FIELD_IS_WEAK) != 0) ? integer_one_node 3852 flag = BLOCK_FIELD_IS_WEAK; 3870 COPYABLE_WEAK_BLOCK (decl) = ((flag & BLOCK_FIELD_IS_WEAK) != 0);
|
H A D | c-parser.c | 9062 _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-10.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/ |
H A D | RewriteObjC.cpp | 45 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon3345::RewriteObjC::__anon3346 4199 /// [|BLOCK_FIELD_IS_WEAK]) // object 4202 /// [|BLOCK_FIELD_IS_WEAK]) // block 4208 /// [|BLOCK_FIELD_IS_WEAK]) // object 4211 /// [|BLOCK_FIELD_IS_WEAK]) // block 4319 flag |= BLOCK_FIELD_IS_WEAK; 4326 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.
|
H A D | RewriteModernObjC.cpp | 46 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon3342::RewriteModernObjC::__anon3343 5161 /// [|BLOCK_FIELD_IS_WEAK]) // object 5164 /// [|BLOCK_FIELD_IS_WEAK]) // block 5170 /// [|BLOCK_FIELD_IS_WEAK]) // object 5173 /// [|BLOCK_FIELD_IS_WEAK]) // block 5279 flag |= BLOCK_FIELD_IS_WEAK; 5285 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.
|
/freebsd-10.3-release/contrib/gcc/cp/ |
H A D | decl.c | 5209 _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 D | parser.c | 19541 _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]) */
|