Home
last modified time | relevance | path

Searched refs:aBlock (Results 1 – 3 of 3) sorted by relevance

/frameworks/compile/libbcc/runtime/BlocksRuntime/
Druntime.c181 static void _Block_do_nothing(const void *aBlock) { } in _Block_do_nothing() argument
287 struct Block_layout *aBlock; in _Block_copy_internal() local
295 aBlock = (struct Block_layout *)arg; in _Block_copy_internal()
296 if (aBlock->flags & BLOCK_NEEDS_FREE) { in _Block_copy_internal()
298 latching_incr_int(&aBlock->flags); in _Block_copy_internal()
299 return aBlock; in _Block_copy_internal()
301 else if (aBlock->flags & BLOCK_IS_GC) { in _Block_copy_internal()
303 if (wantsOne && ((latching_incr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK) == 1)) { in _Block_copy_internal()
305 _Block_setHasRefcount(aBlock, true); in _Block_copy_internal()
307 return aBlock; in _Block_copy_internal()
[all …]
DBlock.h44 BLOCK_EXPORT void *_Block_copy(const void *aBlock);
47 BLOCK_EXPORT void _Block_release(const void *aBlock);
DBlock_private.h147 BLOCK_EXPORT void *_Block_copy_collectable(const void *aBlock);