MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <math.h>
#include <stdio.h>
#include "stub.h"
Go to the source code of this file.
Functions | |
static void | test_allocator (void **state) |
static void | test_sub_allocator (void **state) |
static void | test_allocator_malloc (void **state) |
int | main (void) |
int main | ( | void | ) |
Definition at line 110 of file test_memory.c.
References test_allocator(), test_allocator_malloc(), and test_sub_allocator().
|
static |
Definition at line 11 of file test_memory.c.
References ALLOC_EMISMATCH, allocator_alloc_bot, allocator_alloc_top, allocator_dealloc(), allocator_destroy(), allocator_free(), allocator_init(), allocator_print(), and allocator_realloc.
Referenced by main().
|
static |
Definition at line 74 of file test_memory.c.
References ALLOC_EMISMATCH, allocator_alloc_bot, allocator_alloc_top, allocator_dealloc(), allocator_destroy(), allocator_free(), allocator_malloc_init(), allocator_print(), and allocator_realloc.
Referenced by main().
|
static |
Definition at line 53 of file test_memory.c.
References allocator_alloc_bot, allocator_destroy(), allocator_free(), allocator_init(), and allocator_print().
Referenced by main().