Tests for talloc and FreeRADIUS talloc utility functions.
More...
#include "acutest.h"
#include "acutest_helpers.h"
#include <freeradius-devel/util/talloc.h>
Go to the source code of this file.
Tests for talloc and FreeRADIUS talloc utility functions.
- Copyright
- 2026 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file talloc_tests.c.
◆ _track_free_order()
| static int _track_free_order |
( |
int * |
ptr | ) |
|
|
static |
◆ native_destructor()
| static int native_destructor |
( |
int * |
ptr | ) |
|
|
static |
◆ test_fr_destructor_func()
| static int test_fr_destructor_func |
( |
UNUSED void * |
fire_ctx, |
|
|
void * |
uctx |
|
) |
| |
|
static |
◆ test_talloc_aligned_array()
| static void test_talloc_aligned_array |
( |
void |
| ) |
|
|
static |
◆ test_talloc_array()
| static void test_talloc_array |
( |
void |
| ) |
|
|
static |
◆ test_talloc_array_null_terminate()
| static void test_talloc_array_null_terminate |
( |
void |
| ) |
|
|
static |
◆ test_talloc_asprintf()
| static void test_talloc_asprintf |
( |
void |
| ) |
|
|
static |
◆ test_talloc_basic()
| static void test_talloc_basic |
( |
void |
| ) |
|
|
static |
◆ test_talloc_bstr_append()
| static void test_talloc_bstr_append |
( |
void |
| ) |
|
|
static |
◆ test_talloc_bstr_realloc()
| static void test_talloc_bstr_realloc |
( |
void |
| ) |
|
|
static |
◆ test_talloc_bstrndup()
| static void test_talloc_bstrndup |
( |
void |
| ) |
|
|
static |
◆ test_talloc_buffer_append_buffer()
| static void test_talloc_buffer_append_buffer |
( |
void |
| ) |
|
|
static |
◆ test_talloc_child_ctx()
| static void test_talloc_child_ctx |
( |
void |
| ) |
|
|
static |
◆ test_talloc_decrease_ref_count()
| static void test_talloc_decrease_ref_count |
( |
void |
| ) |
|
|
static |
◆ test_talloc_deep_hierarchy()
| static void test_talloc_deep_hierarchy |
( |
void |
| ) |
|
|
static |
◆ test_talloc_destructor_add()
| static void test_talloc_destructor_add |
( |
void |
| ) |
|
|
static |
◆ test_talloc_find_parent_byname()
| static void test_talloc_find_parent_byname |
( |
void |
| ) |
|
|
static |
◆ test_talloc_free()
| static void test_talloc_free |
( |
void |
| ) |
|
|
static |
◆ test_talloc_free_children()
| static void test_talloc_free_children |
( |
void |
| ) |
|
|
static |
◆ test_talloc_get_size()
| static void test_talloc_get_size |
( |
void |
| ) |
|
|
static |
◆ test_talloc_hdr_size()
| static void test_talloc_hdr_size |
( |
void |
| ) |
|
|
static |
◆ test_talloc_increase_ref_count()
| static void test_talloc_increase_ref_count |
( |
void |
| ) |
|
|
static |
◆ test_talloc_is_parent()
| static void test_talloc_is_parent |
( |
void |
| ) |
|
|
static |
◆ test_talloc_link_ctx()
| static void test_talloc_link_ctx |
( |
void |
| ) |
|
|
static |
◆ test_talloc_memcmp_array()
| static void test_talloc_memcmp_array |
( |
void |
| ) |
|
|
static |
◆ test_talloc_memcmp_bstr()
| static void test_talloc_memcmp_bstr |
( |
void |
| ) |
|
|
static |
◆ test_talloc_memdup()
| static void test_talloc_memdup |
( |
void |
| ) |
|
|
static |
◆ test_talloc_move()
| static void test_talloc_move |
( |
void |
| ) |
|
|
static |
◆ test_talloc_naming()
| static void test_talloc_naming |
( |
void |
| ) |
|
|
static |
◆ test_talloc_parent()
| static void test_talloc_parent |
( |
void |
| ) |
|
|
static |
◆ test_talloc_pool()
| static void test_talloc_pool |
( |
void |
| ) |
|
|
static |
◆ test_talloc_realloc_zero()
| static void test_talloc_realloc_zero |
( |
void |
| ) |
|
|
static |
◆ test_talloc_reference()
| static void test_talloc_reference |
( |
void |
| ) |
|
|
static |
◆ test_talloc_reparent()
| static void test_talloc_reparent |
( |
void |
| ) |
|
|
static |
◆ test_talloc_set_destructor()
| static void test_talloc_set_destructor |
( |
void |
| ) |
|
|
static |
◆ test_talloc_steal()
| static void test_talloc_steal |
( |
void |
| ) |
|
|
static |
◆ test_talloc_strdup()
| static void test_talloc_strdup |
( |
void |
| ) |
|
|
static |
◆ test_talloc_strndup_append()
| static void test_talloc_strndup_append |
( |
void |
| ) |
|
|
static |
◆ test_talloc_total_size()
| static void test_talloc_total_size |
( |
void |
| ) |
|
|
static |
◆ test_talloc_typed_asprintf()
| static void test_talloc_typed_asprintf |
( |
void |
| ) |
|
|
static |
◆ test_talloc_typed_memdup()
| static void test_talloc_typed_memdup |
( |
void |
| ) |
|
|
static |
◆ test_talloc_typed_strdup()
| static void test_talloc_typed_strdup |
( |
void |
| ) |
|
|
static |
◆ test_talloc_typed_strndup()
| static void test_talloc_typed_strndup |
( |
void |
| ) |
|
|
static |
◆ test_talloc_zero()
| static void test_talloc_zero |
( |
void |
| ) |
|
|
static |
◆ child_free_idx
◆ child_free_order
◆ fr_destructor_called
◆ fr_destructor_uctx
| void const* fr_destructor_uctx |
|
static |
◆ native_destructor_count
| int native_destructor_count |
|
static |
◆ TEST_LIST