|
Embedded Artistry Framework
Embedded Systems C++ Framework
|
#include "stdlib_tests.h"#include <stdlib.h>#include <string.h>#include <test/test.h>#include <setjmp.h>#include <stdarg.h>#include <stddef.h>#include <cmocka.h>
Functions | |
| static int | scmp (void *thunk, const void *a, const void *b) |
| static int | icmp (void *thunk, const void *a, const void *b) |
| static int | ccmp (void *thunk, const void *a, const void *b) |
| static int | cmp64 (void *thunk, const void *a, const void *b) |
| static void | qsort_r_string_test (void **state) |
| static void | qsort_r_int_test (void **state) |
| static void | char_test (const char *a, const char *a_sorted, void **state) |
| static void | qsort_r_char_test (void **state) |
| static void | uint64_gen (uint64_t *p, uint64_t *p_sorted, size_t num) |
| static void | uint64_test (uint64_t *a, uint64_t *a_sorted, size_t len, void **state) |
| static void | qsort_r_uint64_test (void **state) |
| int | qsort_r_tests (void) |
Variables | |
| static const char * | s [] |
| static const char * | s_sorted [] |
| static int | n [] |
| static int | n_sorted [] |
|
static |
Referenced by char_test().
|
static |
|
static |
Referenced by uint64_test().
|
static |
Referenced by qsort_r_int_test().
|
static |
References char_test().
Referenced by qsort_r_tests().
|
static |
|
static |
| int qsort_r_tests | ( | void | ) |
References NULL, qsort_r_char_test(), qsort_r_int_test(), qsort_r_string_test(), qsort_r_tests(), and qsort_r_uint64_test().
Referenced by qsort_r_tests(), and stdlib_tests().

|
static |
References p, uint64_gen(), and uint64_test().
Referenced by qsort_r_tests().
|
static |
References a, b, and strcmp().
Referenced by qsort_r_string_test().
References memcpy(), p, r, test_randn(), test_randseed(), and test_shuffle().
Referenced by qsort_r_uint64_test().
|
static |
Referenced by qsort_r_int_test().
|
static |
Referenced by qsort_r_int_test().
|
static |
Referenced by qsort_r_string_test().
|
static |
Referenced by qsort_r_string_test().
1.8.15