MOS Source Code
Loading...
Searching...
No Matches
malloc_wrappers.h
Go to the documentation of this file.
1
#include <stdlib.h>
2
3
void
*
malloc_with_check
(
size_t
size
);
4
void
free_with_check
(
void
*mem);
5
void
*
realloc_with_check
(
void
*ptr,
size_t
size
);
6
size_t
get_alloc_count
();
7
size_t
get_allocation_size
(
const
void
*mem);
8
size_t
get_alloc_bytes
();
9
void
set_max_alloc_bytes
(
size_t
max_bytes);
10
size_t
get_max_alloc_bytes
();
malloc_with_check
void * malloc_with_check(size_t size)
Definition
malloc_wrappers.c:54
get_allocation_size
size_t get_allocation_size(const void *mem)
Definition
malloc_wrappers.c:168
get_alloc_count
size_t get_alloc_count()
Definition
malloc_wrappers.c:162
free_with_check
void free_with_check(void *mem)
Definition
malloc_wrappers.c:81
get_max_alloc_bytes
size_t get_max_alloc_bytes()
Definition
malloc_wrappers.c:186
realloc_with_check
void * realloc_with_check(void *ptr, size_t size)
Definition
malloc_wrappers.c:101
get_alloc_bytes
size_t get_alloc_bytes()
Definition
malloc_wrappers.c:175
set_max_alloc_bytes
void set_max_alloc_bytes(size_t max_bytes)
Definition
malloc_wrappers.c:181
size
size_t size
Definition
slab.c:30
libs
nanopb
nanopb
tests
common
malloc_wrappers.h
Generated on Sun Sep 1 2024 18:22:52 for MOS Source Code by
1.12.0