Go to the source code of this file.
Macros | |
#define | _aligned_free(_Memory) free(_Memory) |
#define | _aligned_realloc(p, n, a) realloc(p, n) |
#define | XSENS_ASSERT_MALLOC(x) |
Functions | |
void *__cdecl | _aligned_malloc (size_t _Size, size_t _Alignment) |
void | xsAlignedFree (void *ptr) |
Frees the (aligned) memory pointed to by ptr, optionally tracking the allocation. More... | |
void * | xsAlignedMalloc (size_t sz) |
Allocates sz bytes of memory on a 16 byte boundary, optionally tracking the allocation. More... | |
void * | xsAlignedRealloc (void *ptr, size_t sz) |
Reallocates sz bytes of memory on a 16 byte boundary, optionally tracking the allocation. More... | |
void | xsFree (void *ptr) |
Frees the memory pointed to by ptr, optionally tracking the allocation. More... | |
void * | xsMalloc (size_t sz) |
_MSC_VER More... | |
void * | xsRealloc (void *ptr, size_t sz) |
Reallocates sz bytes of memory, optionally tracking the allocation. More... | |
This file contains platform-specific memory allocation routines
Definition in file xsmalloc.c.
#define _aligned_free | ( | _Memory | ) | free(_Memory) |
Definition at line 118 of file xsmalloc.c.
#define _aligned_realloc | ( | p, | |
n, | |||
a | |||
) | realloc(p, n) |
Definition at line 117 of file xsmalloc.c.
#define XSENS_ASSERT_MALLOC | ( | x | ) |
Definition at line 80 of file xsmalloc.c.
void* __cdecl _aligned_malloc | ( | size_t | _Size, |
size_t | _Alignment | ||
) |
Definition at line 106 of file xsmalloc.c.
void xsAlignedFree | ( | void * | ptr | ) |
Frees the (aligned) memory pointed to by ptr, optionally tracking the allocation.
Definition at line 204 of file xsmalloc.c.
void* xsAlignedMalloc | ( | size_t | sz | ) |
Allocates sz bytes of memory on a 16 byte boundary, optionally tracking the allocation.
Definition at line 169 of file xsmalloc.c.
void* xsAlignedRealloc | ( | void * | ptr, |
size_t | sz | ||
) |
Reallocates sz bytes of memory on a 16 byte boundary, optionally tracking the allocation.
Definition at line 185 of file xsmalloc.c.
void xsFree | ( | void * | ptr | ) |
Frees the memory pointed to by ptr, optionally tracking the allocation.
Definition at line 159 of file xsmalloc.c.
void* xsMalloc | ( | size_t | sz | ) |
_MSC_VER
Allocates sz bytes of memory, optionally tracking the allocation
Definition at line 124 of file xsmalloc.c.
void* xsRealloc | ( | void * | ptr, |
size_t | sz | ||
) |
Reallocates sz bytes of memory, optionally tracking the allocation.
Definition at line 140 of file xsmalloc.c.