The FreeRADIUS server $Id: a4e7f8c94e8038b7627bcf52356b7ed15955c1d7 $
Loading...
Searching...
No Matches
Macros | Functions | Variables
calc_tests.c File Reference

Tests for value box calculation functions. More...

#include "acutest_common_init.h"
#include "acutest_helpers.h"
#include <freeradius-devel/util/calc.h>
+ Include dependency graph for calc_tests.c:

Go to the source code of this file.

Macros

#define TEST_GLOBAL_INIT   test_init()
 

Functions

static void test_assign_add (void)
 
static void test_assign_and (void)
 
static void test_assign_div (void)
 
static void test_assign_lshift (void)
 
static void test_assign_mul (void)
 
static void test_assign_or (void)
 
static void test_assign_rshift (void)
 
static void test_assign_self (void)
 
static void test_assign_set (void)
 
static void test_assign_sub (void)
 
static void test_assign_xor (void)
 
static void test_auto_type_hint (void)
 
static void test_auto_type_hint_lshift (void)
 
static void test_auto_type_hint_rshift (void)
 
static void test_auto_type_hint_sub (void)
 
static void test_bool_add (void)
 
static void test_bool_and (void)
 
static void test_bool_mul (void)
 
static void test_bool_or (void)
 
static void test_bool_sub (void)
 
static void test_bool_xor (void)
 
static void test_cmp_different_types (void)
 
static void test_cmp_eq (void)
 
static void test_cmp_eq_type (void)
 
static void test_cmp_ge (void)
 
static void test_cmp_gt (void)
 
static void test_cmp_le (void)
 
static void test_cmp_lt (void)
 
static void test_cmp_ne (void)
 
static void test_cmp_string (void)
 
static void test_float32_add (void)
 
static void test_float32_div (void)
 
static void test_float32_div_zero (void)
 
static void test_float32_mod (void)
 
static void test_float32_mod_zero (void)
 
static void test_float32_mul (void)
 
static void test_float32_sub (void)
 
static void test_float64_add (void)
 
static void test_float64_div (void)
 
static void test_float64_div_zero (void)
 
static void test_float64_mod (void)
 
static void test_float64_mod_zero (void)
 
static void test_float64_mul (void)
 
static void test_float64_sub (void)
 
static void test_init (void)
 
static void test_int16_add (void)
 
static void test_int32_add (void)
 
static void test_int32_div (void)
 
static void test_int32_mod (void)
 
static void test_int32_mul (void)
 
static void test_int32_sub (void)
 
static void test_int64_and (void)
 
static void test_int64_div_zero (void)
 
static void test_int64_mod (void)
 
static void test_int64_or (void)
 
static void test_int64_overflow (void)
 
static void test_int64_shift (void)
 
static void test_int64_shift_too_large (void)
 
static void test_int64_underflow (void)
 
static void test_int64_xor (void)
 
static void test_int8_add (void)
 
static void test_int8_sub (void)
 
static void test_ipv4_addr_and_all_ones (void)
 
static void test_ipv4_addr_and_mask (void)
 
static void test_ipv4_addr_and_zero (void)
 
static void test_ipv4_prefix_add (void)
 
static void test_ipv4_prefix_add_overflow (void)
 
static void test_mixed_uint32_int32 (void)
 
static void test_mixed_uint8_uint32 (void)
 
static void test_octets_add (void)
 
static void test_octets_and (void)
 
static void test_octets_length_mismatch (void)
 
static void test_octets_lshift (void)
 
static void test_octets_lshift_too_large (void)
 
static void test_octets_or (void)
 
static void test_octets_rshift (void)
 
static void test_octets_rshift_too_large (void)
 
static void test_octets_sub (void)
 
static void test_octets_sub_not_suffix (void)
 
static void test_octets_sub_too_long (void)
 
static void test_octets_xor (void)
 
static void test_string_add (void)
 
static void test_string_add_empty (void)
 
static void test_string_lshift (void)
 
static void test_string_lshift_too_large (void)
 
static void test_string_rshift (void)
 
static void test_string_rshift_too_large (void)
 
static void test_string_sub (void)
 
static void test_string_sub_not_suffix (void)
 
static void test_string_sub_too_long (void)
 
static void test_string_xor_prepend (void)
 
static void test_tainted_from_b (void)
 
static void test_tainted_neither (void)
 
static void test_tainted_propagation (void)
 
static void test_uint16_add (void)
 
static void test_uint16_overflow (void)
 
static void test_uint32_add (void)
 
static void test_uint32_and (void)
 
static void test_uint32_div (void)
 
static void test_uint32_div_zero (void)
 
static void test_uint32_mod (void)
 
static void test_uint32_mul (void)
 
static void test_uint32_or (void)
 
static void test_uint32_shift (void)
 
static void test_uint32_sub (void)
 
static void test_uint32_xor (void)
 
static void test_uint64_and (void)
 
static void test_uint64_div (void)
 
static void test_uint64_div_zero (void)
 
static void test_uint64_mod (void)
 
static void test_uint64_mul_overflow (void)
 
static void test_uint64_or (void)
 
static void test_uint64_overflow (void)
 
static void test_uint64_shift (void)
 
static void test_uint64_shift_too_large (void)
 
static void test_uint64_underflow (void)
 
static void test_uint64_xor (void)
 
static void test_uint8_add (void)
 
static void test_uint8_overflow (void)
 
static void test_unary_complement (void)
 
static void test_unary_complement_int32 (void)
 
static void test_unary_complement_uint16 (void)
 
static void test_unary_complement_uint32 (void)
 
static void test_unary_complement_uint64 (void)
 
static void test_unary_increment (void)
 
static void test_unary_increment_float64 (void)
 
static void test_unary_increment_int64 (void)
 
static void test_unary_increment_overflow (void)
 
static void test_unary_increment_uint8 (void)
 
static void test_unary_negate (void)
 
static void test_unary_negate_float64 (void)
 
static void test_unary_not (void)
 
static void test_unary_not_bool (void)
 

Variables

static TALLOC_CTX * autofree
 
 TEST_LIST
 

Detailed Description

Tests for value box calculation functions.

Definition in file calc_tests.c.

Macro Definition Documentation

◆ TEST_GLOBAL_INIT

#define TEST_GLOBAL_INIT   test_init()

Definition at line 24 of file calc_tests.c.

Function Documentation

◆ test_assign_add()

static void test_assign_add ( void  )
static

Definition at line 971 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_and()

static void test_assign_and ( void  )
static

Definition at line 1718 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_div()

static void test_assign_div ( void  )
static

Definition at line 1705 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_lshift()

static void test_assign_lshift ( void  )
static

Definition at line 1770 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_mul()

static void test_assign_mul ( void  )
static

Definition at line 1692 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_or()

static void test_assign_or ( void  )
static

Definition at line 1731 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_rshift()

static void test_assign_rshift ( void  )
static

Definition at line 1757 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_self()

static void test_assign_self ( void  )
static

Definition at line 1010 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_set()

static void test_assign_set ( void  )
static

Definition at line 997 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_sub()

static void test_assign_sub ( void  )
static

Definition at line 984 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_assign_xor()

static void test_assign_xor ( void  )
static

Definition at line 1744 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_auto_type_hint()

static void test_auto_type_hint ( void  )
static

Definition at line 1038 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_auto_type_hint_lshift()

static void test_auto_type_hint_lshift ( void  )
static

Definition at line 1939 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_auto_type_hint_rshift()

static void test_auto_type_hint_rshift ( void  )
static

Definition at line 2065 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_auto_type_hint_sub()

static void test_auto_type_hint_sub ( void  )
static

Definition at line 1921 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_bool_add()

static void test_bool_add ( void  )
static

Definition at line 355 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_bool_and()

static void test_bool_and ( void  )
static

Definition at line 304 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_bool_mul()

static void test_bool_mul ( void  )
static

Definition at line 1533 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_bool_or()

static void test_bool_or ( void  )
static

Definition at line 321 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_bool_sub()

static void test_bool_sub ( void  )
static

Definition at line 373 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_bool_xor()

static void test_bool_xor ( void  )
static

Definition at line 338 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_cmp_different_types()

static void test_cmp_different_types ( void  )
static

Definition at line 1057 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_cmp_eq()

static void test_cmp_eq ( void  )
static

Definition at line 785 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_cmp_eq_type()

static void test_cmp_eq_type ( void  )
static

Definition at line 890 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_cmp_ge()

static void test_cmp_ge ( void  )
static

Definition at line 873 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_cmp_gt()

static void test_cmp_gt ( void  )
static

Definition at line 839 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_cmp_le()

static void test_cmp_le ( void  )
static

Definition at line 856 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_cmp_lt()

static void test_cmp_lt ( void  )
static

Definition at line 822 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_cmp_ne()

static void test_cmp_ne ( void  )
static

Definition at line 805 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_cmp_string()

static void test_cmp_string ( void  )
static

Definition at line 2084 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float32_add()

static void test_float32_add ( void  )
static

Definition at line 479 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float32_div()

static void test_float32_div ( void  )
static

Definition at line 1478 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float32_div_zero()

static void test_float32_div_zero ( void  )
static

Definition at line 493 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float32_mod()

static void test_float32_mod ( void  )
static

Definition at line 1492 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float32_mod_zero()

static void test_float32_mod_zero ( void  )
static

Definition at line 1506 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float32_mul()

static void test_float32_mul ( void  )
static

Definition at line 1464 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float32_sub()

static void test_float32_sub ( void  )
static

Definition at line 1450 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float64_add()

static void test_float64_add ( void  )
static

Definition at line 394 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float64_div()

static void test_float64_div ( void  )
static

Definition at line 436 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float64_div_zero()

static void test_float64_div_zero ( void  )
static

Definition at line 450 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float64_mod()

static void test_float64_mod ( void  )
static

Definition at line 462 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float64_mod_zero()

static void test_float64_mod_zero ( void  )
static

Definition at line 1518 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float64_mul()

static void test_float64_mul ( void  )
static

Definition at line 422 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_float64_sub()

static void test_float64_sub ( void  )
static

Definition at line 408 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_init()

static void test_init ( void  )
static

Definition at line 33 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int16_add()

static void test_int16_add ( void  )
static

Definition at line 1324 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int32_add()

static void test_int32_add ( void  )
static

Definition at line 233 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int32_div()

static void test_int32_div ( void  )
static

Definition at line 275 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int32_mod()

static void test_int32_mod ( void  )
static

Definition at line 1341 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int32_mul()

static void test_int32_mul ( void  )
static

Definition at line 261 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int32_sub()

static void test_int32_sub ( void  )
static

Definition at line 247 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int64_and()

static void test_int64_and ( void  )
static

Definition at line 1358 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int64_div_zero()

static void test_int64_div_zero ( void  )
static

Definition at line 289 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int64_mod()

static void test_int64_mod ( void  )
static

Definition at line 1433 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int64_or()

static void test_int64_or ( void  )
static

Definition at line 1372 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int64_overflow()

static void test_int64_overflow ( void  )
static

Definition at line 1117 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int64_shift()

static void test_int64_shift ( void  )
static

Definition at line 1400 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int64_shift_too_large()

static void test_int64_shift_too_large ( void  )
static

Definition at line 1420 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int64_underflow()

static void test_int64_underflow ( void  )
static

Definition at line 1129 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int64_xor()

static void test_int64_xor ( void  )
static

Definition at line 1386 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int8_add()

static void test_int8_add ( void  )
static

Definition at line 1293 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_int8_sub()

static void test_int8_sub ( void  )
static

Definition at line 1307 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_ipv4_addr_and_all_ones()

static void test_ipv4_addr_and_all_ones ( void  )
static

Definition at line 2028 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_ipv4_addr_and_mask()

static void test_ipv4_addr_and_mask ( void  )
static

Definition at line 2132 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_ipv4_addr_and_zero()

static void test_ipv4_addr_and_zero ( void  )
static

Definition at line 2045 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_ipv4_prefix_add()

static void test_ipv4_prefix_add ( void  )
static

Definition at line 2111 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_ipv4_prefix_add_overflow()

static void test_ipv4_prefix_add_overflow ( void  )
static

Definition at line 2009 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_mixed_uint32_int32()

static void test_mixed_uint32_int32 ( void  )
static

Definition at line 1958 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_mixed_uint8_uint32()

static void test_mixed_uint8_uint32 ( void  )
static

Definition at line 1024 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_add()

static void test_octets_add ( void  )
static

Definition at line 626 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_and()

static void test_octets_and ( void  )
static

Definition at line 666 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_length_mismatch()

static void test_octets_length_mismatch ( void  )
static

Definition at line 726 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_lshift()

static void test_octets_lshift ( void  )
static

Definition at line 764 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_lshift_too_large()

static void test_octets_lshift_too_large ( void  )
static

Definition at line 1674 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_or()

static void test_octets_or ( void  )
static

Definition at line 686 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_rshift()

static void test_octets_rshift ( void  )
static

Definition at line 746 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_rshift_too_large()

static void test_octets_rshift_too_large ( void  )
static

Definition at line 1659 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_sub()

static void test_octets_sub ( void  )
static

Definition at line 646 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_sub_not_suffix()

static void test_octets_sub_not_suffix ( void  )
static

Definition at line 1624 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_sub_too_long()

static void test_octets_sub_too_long ( void  )
static

Definition at line 1642 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_octets_xor()

static void test_octets_xor ( void  )
static

Definition at line 706 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_add()

static void test_string_add ( void  )
static

Definition at line 508 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_add_empty()

static void test_string_add_empty ( void  )
static

Definition at line 1601 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_lshift()

static void test_string_lshift ( void  )
static

Definition at line 605 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_lshift_too_large()

static void test_string_lshift_too_large ( void  )
static

Definition at line 1586 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_rshift()

static void test_string_rshift ( void  )
static

Definition at line 587 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_rshift_too_large()

static void test_string_rshift_too_large ( void  )
static

Definition at line 1571 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_sub()

static void test_string_sub ( void  )
static

Definition at line 528 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_sub_not_suffix()

static void test_string_sub_not_suffix ( void  )
static

Definition at line 548 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_sub_too_long()

static void test_string_sub_too_long ( void  )
static

Definition at line 1553 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_string_xor_prepend()

static void test_string_xor_prepend ( void  )
static

Definition at line 566 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_tainted_from_b()

static void test_tainted_from_b ( void  )
static

Definition at line 1977 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_tainted_neither()

static void test_tainted_neither ( void  )
static

Definition at line 1992 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_tainted_propagation()

static void test_tainted_propagation ( void  )
static

Definition at line 2154 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint16_add()

static void test_uint16_add ( void  )
static

Definition at line 1144 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint16_overflow()

static void test_uint16_overflow ( void  )
static

Definition at line 1158 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_add()

static void test_uint32_add ( void  )
static

Definition at line 50 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_and()

static void test_uint32_and ( void  )
static

Definition at line 120 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_div()

static void test_uint32_div ( void  )
static

Definition at line 92 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_div_zero()

static void test_uint32_div_zero ( void  )
static

Definition at line 186 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_mod()

static void test_uint32_mod ( void  )
static

Definition at line 106 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_mul()

static void test_uint32_mul ( void  )
static

Definition at line 78 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_or()

static void test_uint32_or ( void  )
static

Definition at line 134 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_shift()

static void test_uint32_shift ( void  )
static

Definition at line 162 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_sub()

static void test_uint32_sub ( void  )
static

Definition at line 64 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint32_xor()

static void test_uint32_xor ( void  )
static

Definition at line 148 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_and()

static void test_uint64_and ( void  )
static

Definition at line 1174 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_div()

static void test_uint64_div ( void  )
static

Definition at line 1263 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_div_zero()

static void test_uint64_div_zero ( void  )
static

Definition at line 1277 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_mod()

static void test_uint64_mod ( void  )
static

Definition at line 1249 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_mul_overflow()

static void test_uint64_mul_overflow ( void  )
static

Definition at line 1102 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_or()

static void test_uint64_or ( void  )
static

Definition at line 1188 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_overflow()

static void test_uint64_overflow ( void  )
static

Definition at line 1078 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_shift()

static void test_uint64_shift ( void  )
static

Definition at line 1216 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_shift_too_large()

static void test_uint64_shift_too_large ( void  )
static

Definition at line 1236 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_underflow()

static void test_uint64_underflow ( void  )
static

Definition at line 1090 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint64_xor()

static void test_uint64_xor ( void  )
static

Definition at line 1202 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint8_add()

static void test_uint8_add ( void  )
static

Definition at line 203 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_uint8_overflow()

static void test_uint8_overflow ( void  )
static

Definition at line 217 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_complement()

static void test_unary_complement ( void  )
static

Definition at line 926 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_complement_int32()

static void test_unary_complement_int32 ( void  )
static

Definition at line 1825 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_complement_uint16()

static void test_unary_complement_uint16 ( void  )
static

Definition at line 1786 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_complement_uint32()

static void test_unary_complement_uint32 ( void  )
static

Definition at line 1799 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_complement_uint64()

static void test_unary_complement_uint64 ( void  )
static

Definition at line 1812 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_increment()

static void test_unary_increment ( void  )
static

Definition at line 913 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_increment_float64()

static void test_unary_increment_float64 ( void  )
static

Definition at line 1905 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_increment_int64()

static void test_unary_increment_int64 ( void  )
static

Definition at line 1892 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_increment_overflow()

static void test_unary_increment_overflow ( void  )
static

Definition at line 1864 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_increment_uint8()

static void test_unary_increment_uint8 ( void  )
static

Definition at line 1851 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_negate()

static void test_unary_negate ( void  )
static

Definition at line 939 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_negate_float64()

static void test_unary_negate_float64 ( void  )
static

Definition at line 1838 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_not()

static void test_unary_not ( void  )
static

Definition at line 952 of file calc_tests.c.

+ Here is the call graph for this function:

◆ test_unary_not_bool()

static void test_unary_not_bool ( void  )
static

Definition at line 1876 of file calc_tests.c.

+ Here is the call graph for this function:

Variable Documentation

◆ autofree

TALLOC_CTX* autofree
static

Definition at line 31 of file calc_tests.c.

◆ TEST_LIST

TEST_LIST

Definition at line 2169 of file calc_tests.c.