opj_malloc.c File Reference

#include "opj_includes.h"

Defines

#define OPJ_SKIP_POISON
#define SIZE_MAX   ((size_t) -1)

Functions

static INLINE void * opj_aligned_alloc_n (size_t alignment, size_t size)
static INLINE void * opj_aligned_realloc_n (void *ptr, size_t alignment, size_t new_size)
void * opj_malloc (size_t size)
 Allocate an uninitialized memory block.
void * opj_calloc (size_t num, size_t size)
 Allocate a memory block with elements initialized to 0.
void * opj_aligned_malloc (size_t size)
 Allocate memory aligned to a 16 byte boundary.
void * opj_aligned_realloc (void *ptr, size_t size)
void * opj_aligned_32_malloc (size_t size)
 Allocate memory aligned to a 32 byte boundary.
void * opj_aligned_32_realloc (void *ptr, size_t size)
void opj_aligned_free (void *ptr)
void * opj_realloc (void *ptr, size_t new_size)
 Reallocate memory blocks.
void opj_free (void *ptr)
 Deallocates or frees a memory block.

Define Documentation

#define OPJ_SKIP_POISON
#define SIZE_MAX   ((size_t) -1)

Function Documentation

static INLINE void* opj_aligned_alloc_n ( size_t  alignment,
size_t  size 
) [static]
static INLINE void* opj_aligned_realloc_n ( void *  ptr,
size_t  alignment,
size_t  new_size 
) [static]

Generated on 20 Feb 2018 for OpenJPEG by  doxygen 1.6.1