arb_mem Namespace Reference


void failed_to_allocate (const char *reason) __ATTR__NORETURN
void failed_to_allocate (size_t nelem, size_t elsize) __ATTR__NORETURN
void failed_to_allocate (size_t size) __ATTR__NORETURN
void alloc_aligned (void **tgt, size_t alignment, size_t len)

Function Documentation

void arb_mem::failed_to_allocate ( const char reason)
void arb_mem::failed_to_allocate ( size_t  nelem,
size_t  elsize 

Definition at line 42 of file arb_mem.cxx.

References alloc_failure_panic(), and failed_to_allocate().

void arb_mem::failed_to_allocate ( size_t  size)

Definition at line 38 of file arb_mem.cxx.

References alloc_failure_panic().

void arb_mem::alloc_aligned ( void **  tgt,
size_t  alignment,
size_t  len 

Definition at line 30 of file arb_mem.h.

References error(), and failed_to_allocate().

Referenced by ARB_alloc_aligned(), and gbmGetMemImpl().