|
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 (const void *a, const void *b) |
| static int | icmp (const void *a, const void *b) |
| static int | ccmp (const void *a, const void *b) |
| static int | cmp64 (const void *a, const void *b) |
| static void | heapsort_string_test (void **state) |
| static void | heapsort_int_test (void **state) |
| static void | char_test (const char *a, const char *a_sorted, void **state) |
| static void | heapsort_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 | heapsort_uint64_test (void **state) |
| int | heapsort_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 |
References a, ccmp(), free(), heapsort(), malloc(), memcmp(), p, strcpy(), and strlen().
Referenced by heapsort_char_test().
|
static |
Referenced by uint64_test().
|
static |
References char_test().
Referenced by heapsort_tests().
|
static |
References heapsort(), icmp(), n, and n_sorted.
Referenced by heapsort_tests().
|
static |
References heapsort(), s, s_sorted, scmp(), and strcmp().
Referenced by heapsort_tests().
| int heapsort_tests | ( | void | ) |
References heapsort_char_test(), heapsort_int_test(), heapsort_string_test(), heapsort_tests(), heapsort_uint64_test(), and NULL.
Referenced by heapsort_tests(), and stdlib_tests().

|
static |
References p, uint64_gen(), and uint64_test().
Referenced by heapsort_tests().
|
static |
Referenced by heapsort_int_test().
|
static |
References a, b, and strcmp().
Referenced by heapsort_string_test().
References memcpy(), p, r, test_randn(), test_randseed(), and test_shuffle().
Referenced by heapsort_uint64_test().
References a, cmp64(), and heapsort().
Referenced by heapsort_uint64_test().
|
static |
Referenced by __attribute__(), __ieee754_fmod(), __ieee754_fmodf(), __ieee754_jn(), __ieee754_jnf(), __ieee754_pow(), __ieee754_powf(), __ieee754_rem_pio2(), __ieee754_rem_pio2f(), __ieee754_rem_pio2l(), __ieee754_yn(), __ieee754_ynf(), __kernel_rem_pio2(), __memrchr(), __p1evll(), __polevll(), _vsnprintf(), _writeMemory(), all_on(), any_on(), embutil::byteswap(), casinl(), copybits(), cos(), cosf(), deval(), expl(), fmodl(), gethex(), heapsort_int_test(), list_add(), list_add_tail(), list_insert(), lshift(), memchr(), neval(), nrv_alloc(), powil(), powl(), quorem(), remquo(), remquof(), remquol(), rshift(), scalbln(), scalblnf(), scalbn(), scalbnf(), scalbnl(), sec2mps(), embutil::InterruptCondition< TWaitOp, TNotifyOp >::set_notify_op(), set_ones(), sin(), sin_pi(), sin_pif(), sincos(), sincosf(), sinf(), strncmp(), strndup(), strxfrm(), t_choose(), tan(), tanf(), test_randint(), test_randn(), test_randrange(), test_shuffle(), trailz(), and wcswidth().
|
static |
Referenced by heapsort_int_test().
|
static |
Referenced by __attribute__(), __ieee754_acos(), __ieee754_acosf(), __ieee754_asin(), __ieee754_asinf(), __ieee754_j0(), __ieee754_j0f(), __ieee754_j1(), __ieee754_j1f(), __ieee754_log(), __ieee754_logf(), __ieee754_pow(), __ieee754_powf(), __ieee754_sqrtf(), __ieee754_y0(), __ieee754_y0f(), __ieee754_y1(), __ieee754_y1f(), __kernel_sincosdf(), __kernel_sindf(), __kernel_tan(), __kernel_tandf(), __kernel_tanl(), __memrchr(), __scan_nan(), __strchrnul(), __strtok_r(), _cchsh(), _cchshf(), _strnlen_s(), acosl(), embvm::TimerManager< 0, std::mutex >::adjustScheduledTimerCount(), asinl(), atof_test(), cbrt(), cbrtl(), cchsh(), cchshf(), cchshl(), ctanh(), ctanhf(), dd_add(), dtoa(), erf(), erfc(), erfcf(), erfcl(), erff(), erfl(), freedtoa(), g__fmt(), g_ddfmt(), g_dfmt(), g_ffmt(), g_Qfmt(), g_xfmt(), g_xLfmt(), gdtoa(), gethex(), heapsort_string_test(), hexnan(), htinit(), j0_test(), j1_test(), jn_test(), k_log1p(), k_log1pf(), log1p(), log1pf(), log1pl(), memchr(), memcmp_test(), memmem(), nan(), nanf(), nanl(), nrv_alloc(), pone(), ponef(), powil(), powl(), pzero(), pzerof(), qone(), qonef(), qzero(), qzerof(), embdrv::vl53l1x::rangeStatusCb(), s2b(), sec2mps(), sincos(), sincosf(), sincosl(), sinl(), os::freertos::Thread::state(), strchr(), strcmp_test(), strcpy_test(), strcspn(), strerror(), strnstr(), strpbrk(), strrchr(), strspn(), strtod(), strtod_test(), strtodg(), strtodI(), strtof(), strtof_test(), strtoId(), strtoIdd(), strtoIf(), strtoIQ(), strtoIx(), strtoIxL(), strtok(), strtok_test(), strtol(), strtol_test(), strtoll(), strtoll_test(), strtopd(), strtopdd(), strtopf(), strtopQ(), strtopx(), strtopxL(), strtord(), strtordd(), strtorf(), strtorQ(), strtorx(), strtorxL(), strtoul(), strtoul_test(), strtoull(), strtoull_test(), tanl(), test_align(), test_randseed(), wctype(), y0_test(), y1_test(), and yn_test().
|
static |
Referenced by heapsort_string_test().
1.8.15