Home
last modified time | relevance | path

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

/xnu-12377.61.12/libkern/libclosure/
H A Druntime.cpp176 _Block_destructInstance(const void *aBlock __unused) in _Block_destructInstance()
193 _Block_destructInstance_default(const void *aBlock __unused) in _Block_destructInstance_default()
199 static void (*_Block_destructInstance) (const void *aBlock) = _Block_destructInstance_default;
237 _Block_descriptor_2(struct Block_layout *aBlock)
239 uint8_t *desc = (uint8_t *)_Block_get_descriptor(aBlock);
246 _Block_descriptor_3(struct Block_layout *aBlock) in _Block_descriptor_3() argument
248 uint8_t *desc = (uint8_t *)_Block_get_descriptor(aBlock); in _Block_descriptor_3()
250 if (aBlock->flags & BLOCK_HAS_COPY_DISPOSE) { in _Block_descriptor_3()
257 _Block_call_copy_helper(void *result, struct Block_layout *aBlock) in _Block_call_copy_helper() argument
259 if (auto *pFn = _Block_get_copy_function(aBlock)) { in _Block_call_copy_helper()
[all …]
/xnu-12377.61.12/libkern/libkern/
H A DBlock_private.h234 #define _Block_get_relative_function_pointer(aBlock, field, type) \ argument
249 [bds] "r" (&(aBlock)->descriptor), \
256 #define _Block_get_relative_function_pointer(aBlock, field, type) \ argument
259 (aBlock)->descriptor; \
437 _Block_get_descriptor(struct Block_layout *aBlock) in _Block_get_descriptor() argument
441 &aBlock->descriptor, _Block_descriptor_ptrauth_discriminator); in _Block_get_descriptor()
442 return ptrauth_auth_data(aBlock->descriptor, ptrauth_key_asda, disc); in _Block_get_descriptor()
444 return aBlock->descriptor; in _Block_get_descriptor()
479 _Block_get_copy_function(struct Block_layout *aBlock) in _Block_get_copy_function() argument
481 if (!(aBlock->flags & BLOCK_HAS_COPY_DISPOSE)) { in _Block_get_copy_function()
[all …]
H A DBlock.h36 BLOCK_EXPORT void *_Block_copy(const void *aBlock);
42 BLOCK_EXPORT void _Block_release(const void *aBlock);