41 #ifndef __OTE_MEMORY_H
42 #define __OTE_MEMORY_H
89 void te_mem_fill(
void *buffer, uint32_t value, uint32_t size);
101 void te_mem_move(
void *dest,
const void *src, uint32_t size);
119 int te_mem_compare(
const void *buffer1,
const void *buffer2, uint32_t size);
void * te_mem_alloc(uint32_t size)
Allocates memory of specified size.
void te_mem_free(void *buffer)
Frees the specified memory.
void * te_mem_realloc(void *buffer, uint32_t size)
Changes size of memory by specified amount.
void * te_mem_calloc(uint32_t size)
Allocates and clears memory of specified size.
void te_mem_fill(void *buffer, uint32_t value, uint32_t size)
Fills specified memory range with specified value.
int te_mem_compare(const void *buffer1, const void *buffer2, uint32_t size)
Compares two ranges of memory for equality.
void te_mem_move(void *dest, const void *src, uint32_t size)
Moves specified number of bytes from a source memory range to a destination memory range...