Home
last modified time | relevance | path

Searched refs:BLOCK_REFCOUNT_MASK (Results 1 – 2 of 2) sorted by relevance

/xnu-11215.81.4/libkern/libclosure/
H A Druntime.cpp103 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) { in latching_incr_int()
104 return BLOCK_REFCOUNT_MASK; in latching_incr_int()
121 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) { in latching_incr_int_not_deallocating()
139 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) { in latching_decr_int_should_deallocate()
142 if ((old_value & BLOCK_REFCOUNT_MASK) == 0) { in latching_decr_int_should_deallocate()
147 if ((old_value & (BLOCK_REFCOUNT_MASK | BLOCK_DEALLOCATING)) == 2) { in latching_decr_int_should_deallocate()
322 result->flags &= ~(BLOCK_REFCOUNT_MASK | BLOCK_DEALLOCATING); // XXX not needed in _Block_copy()
343 if ((src->forwarding->flags & BLOCK_REFCOUNT_MASK) == 0) { in _Block_byref_copy()
391 __assert_only int32_t refcount = byref->flags & BLOCK_REFCOUNT_MASK; in _Block_byref_release()
/xnu-11215.81.4/libkern/libkern/
H A DBlock_private.h270 BLOCK_REFCOUNT_MASK = (0xfffe),// runtime enumerator