Blender
V3.3
|
Go to the source code of this file.
Functions | |
MEM_INLINE bool | MEM_size_safe_multiply (size_t a, size_t b, size_t *result) |
MEM_INLINE bool MEM_size_safe_multiply | ( | size_t | a, |
size_t | b, | ||
size_t * | result | ||
) |
Definition at line 17 of file mallocn_inline.h.
References Freestyle::a, usdtokens::b(), result, SIZE_MAX, and UNLIKELY.
Referenced by MEM_guarded_calloc_arrayN(), MEM_guarded_malloc_arrayN(), MEM_lockfree_calloc_arrayN(), and MEM_lockfree_malloc_arrayN().