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

/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A DBlock_private.h99 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon1224
H A Druntime.c381 bool isWeak = ((flags & (BLOCK_FIELD_IS_BYREF|BLOCK_FIELD_IS_WEAK)) == (BLOCK_FIELD_IS_BYREF|BLOCK_FIELD_IS_WEAK));
541 If the __block variable is marked weak the compiler also or's in BLOCK_FIELD_IS_WEAK (16).
547 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:
564 if ((flags & BLOCK_FIELD_IS_WEAK) == BLOCK_FIELD_IS_WEAK) {
605 else if ((flags & (BLOCK_FIELD_IS_WEAK|BLOCK_FIELD_IS_BLOCK|BLOCK_BYREF_CALLER)) == BLOCK_FIELD_IS_OBJECT) {

Completed in 104 milliseconds