#include "config.h"
#include <sys/types.h>
#include <sys/time.h>
#include "sol_compat.h"
#include <stdarg.h>
Go to the source code of this file.
|
| #define | offsetof(s, m) ((size_t)(&(((s *)0)->m))) |
| |
| #define | ASSERT(assertion) |
| |
|
| void | debug_printf (const char *format,...) |
| |
| void | log_message (const char *format,...) |
| |
| int | highbit (ulong_t) __attribute__((pure)) |
| |
| int | lowbit (ulong_t) __attribute__((pure)) |
| |
| void | hrt2ts (hrtime_t hrt, timestruc_t *tsp) |
| |
| int | print_sym (void *pointer) |
| |
| void | umem_printf (const char *format,...) |
| |
| void | umem_vprintf (const char *format, va_list) |
| |
| void | umem_printf_warn (void *ignored, const char *format,...) |
| |
| void | umem_error_enter (const char *) |
| |
| void | umem_panic (const char *format,...) __attribute__((noreturn)) |
| |
| void | umem_err_recoverable (const char *format,...) |
| |
| int | __umem_assert_failed (const char *assertion, const char *file, int line) __attribute__((noreturn)) |
| |
| void * | getfp (void) |
| |
| int | getpcstack (uintptr_t *pcstack, int pcstack_limit, int check_sighandler) |
| |
◆ ASSERT
| #define ASSERT |
( |
| assertion | ) |
|
Value: (void)((assertion) || \
__umem_assert_failed(#assertion, __FILE__, __LINE__))
Referenced by _umem_alloc(), _umem_alloc_align(), _vmem_extend_alloc(), memalign(), umem_cache_create(), umem_cache_update(), umem_create_update_thread(), umem_init(), umem_process_updates(), umem_reap(), vmem_add(), vmem_alloc(), vmem_contains(), vmem_create(), vmem_init(), vmem_xalloc(), and vmem_xfree().
◆ offsetof
| #define offsetof |
( |
| s, |
|
|
| m ) ((size_t)(&(((s *)0)->m))) |
◆ __umem_assert_failed()
| int __umem_assert_failed |
( |
const char * | assertion, |
|
|
const char * | file, |
|
|
int | line ) |
◆ debug_printf()
| void debug_printf |
( |
const char * | format, |
|
|
| ... ) |
◆ getfp()
◆ getpcstack()
| int getpcstack |
( |
uintptr_t * | pcstack, |
|
|
int | pcstack_limit, |
|
|
int | check_sighandler ) |
|
extern |
◆ highbit()
◆ hrt2ts()
◆ log_message()
| void log_message |
( |
const char * | format, |
|
|
| ... ) |
◆ lowbit()
◆ print_sym()
| int print_sym |
( |
void * | pointer | ) |
|
◆ umem_err_recoverable()
| void umem_err_recoverable |
( |
const char * | format, |
|
|
| ... ) |
◆ umem_error_enter()
| void umem_error_enter |
( |
const char * | error_str | ) |
|
◆ umem_panic()
| void umem_panic |
( |
const char * | format, |
|
|
| ... ) |
◆ umem_printf()
| void umem_printf |
( |
const char * | format, |
|
|
| ... ) |
◆ umem_printf_warn()
| void umem_printf_warn |
( |
void * | ignored, |
|
|
const char * | format, |
|
|
| ... ) |
◆ umem_vprintf()
| void umem_vprintf |
( |
const char * | format, |
|
|
va_list | va ) |
◆ umem_abort
◆ umem_max_stack
◆ umem_min_stack
◆ umem_output