|
Derive-C
|
An allocator that prints to stdout when it allocates or frees memory. More...
#include <template.h>
Public Member Functions | |
| PRIV (block) **blocks | |
An allocator that prints to stdout when it allocates or frees memory.
A simple, portable string builder that can be templated by allocator.
A wrapper allocator, that can also be used as a mock. A transparent wrapper around any other allocator.
Used in fuzz tests to match the SutNS/templated struct naming interface the fuzz tests rely on.
Definition at line 45 of file template.h.
| SELF::PRIV | ( | block | ) |
| union { ... } SELF |
| ref SELF::alloc_ref |
Definition at line 49 of file template.h.
| ALLOCATIONS_MAP SELF::allocations |
Definition at line 43 of file template.h.
| ITEM_VECTORS SELF::back |
Definition at line 62 of file template.h.
| uint8_t SELF::bits[DC_BITSET_STATIC_CAPACITY_TO_BYTES(EXCLUSIVE_END_INDEX)] |
Definition at line 32 of file template.h.
| INDEX_TYPE SELF::block_current |
Definition at line 82 of file template.h.
| uint8_t SELF::block_current |
Definition at line 113 of file template.h.
| INDEX_TYPE SELF::block_current_exclusive_end |
Definition at line 83 of file template.h.
| size_t SELF::block_current_exclusive_end |
Definition at line 110 of file template.h.
| BLOCK_VECTOR SELF::blocks |
Definition at line 46 of file template.h.
| SLOT* SELF::blocks[DC_ARENA_GEO_MAX_NUM_BLOCKS(INDEX_BITS, INITIAL_BLOCK_INDEX_BITS)] |
Definition at line 114 of file template.h.
| BUCKET* SELF::buckets |
Definition at line 134 of file template.h.
| size_t SELF::buckets_capacity |
Definition at line 133 of file template.h.
| char* SELF::buf |
Definition at line 18 of file template.h.
| buffer* SELF::buffer |
Definition at line 26 of file template.h.
| size_t SELF::capacity |
Definition at line 72 of file template.h.
| size_t SELF::count |
Definition at line 78 of file template.h.
| _dc_swiss_ctrl* SELF::ctrl |
Definition at line 84 of file template.h.
| size_t SELF::current_block_idx |
Definition at line 47 of file template.h.
| size_t SELF::current_block_offset |
Definition at line 48 of file template.h.
| ITEM * SELF::data |
Definition at line 44 of file template.h.
Definition at line 68 of file template.h.
| dc_gdb_marker SELF::derive_c_arena_basic |
Definition at line 86 of file template.h.
| dc_gdb_marker SELF::derive_c_arena_blocks |
Definition at line 107 of file template.h.
| dc_gdb_marker SELF::derive_c_bitset_static |
Definition at line 33 of file template.h.
| dc_gdb_marker SELF::derive_c_chunkedbumpalloc |
Definition at line 50 of file template.h.
| dc_gdb_marker SELF::derive_c_circular |
Definition at line 51 of file template.h.
| dc_gdb_marker SELF::derive_c_deque |
Definition at line 63 of file template.h.
| dc_gdb_marker SELF::derive_c_hashmap |
Definition at line 138 of file template.h.
| dc_gdb_marker SELF::derive_c_hybridstaticalloc |
Definition at line 30 of file template.h.
| dc_gdb_marker SELF::derive_c_map_staticlinear |
Definition at line 78 of file template.h.
| dc_gdb_marker SELF::derive_c_option |
Definition at line 46 of file template.h.
| dc_gdb_marker SELF::derive_c_slaballoc |
Definition at line 58 of file template.h.
| dc_gdb_marker SELF::derive_c_staticvec |
Definition at line 69 of file template.h.
| dc_gdb_marker SELF::derive_c_vector_marker |
Definition at line 47 of file template.h.
| bool SELF::empty |
Definition at line 49 of file template.h.
Definition at line 76 of file template.h.
| ERROR SELF::error |
Definition at line 72 of file template.h.
| size_t SELF::exclusive_end |
Definition at line 79 of file template.h.
| INDEX_TYPE SELF::free_list |
Definition at line 79 of file template.h.
| void* SELF::free_list_head |
Definition at line 56 of file template.h.
| ITEM_VECTORS SELF::front |
Definition at line 61 of file template.h.
| size_t SELF::head |
Definition at line 47 of file template.h.
| char* SELF::head_ptr |
Definition at line 28 of file template.h.
| ITEM SELF::item |
Definition at line 43 of file template.h.
| size_t SELF::items |
Definition at line 79 of file template.h.
| mutation_tracker SELF::iterator_invalidation_tracker |
Definition at line 87 of file template.h.
| KEY_ENTRY* SELF::keys |
Definition at line 80 of file template.h.
| char* SELF::last_alloc_ptr |
Definition at line 29 of file template.h.
| MAP SELF::map |
Definition at line 68 of file template.h.
| char const* SELF::name |
Definition at line 15 of file template.h.
| SLOT_INDEX_TYPE SELF::next_free |
Definition at line 59 of file template.h.
| OK SELF::ok |
Definition at line 71 of file template.h.
| bool SELF::present |
Definition at line 45 of file template.h.
| union { ... } SELF::result |
| size_t SELF::size |
Definition at line 75 of file template.h.
| INDEX_TYPE SELF::size |
Definition at line 67 of file template.h.
| size_t SELF::size_without_null |
Definition at line 19 of file template.h.
| SLAB_VECTOR SELF::slabs |
Definition at line 55 of file template.h.
| SLOT * SELF::slots |
Definition at line 71 of file template.h.
| SLOT_VECTOR SELF::slots |
Definition at line 135 of file template.h.
| FILE * SELF::stream |
Definition at line 16 of file template.h.
| bool SELF::success |
Definition at line 69 of file template.h.
| size_t SELF::tail |
Definition at line 48 of file template.h.
| size_t SELF::tombstones |
Definition at line 82 of file template.h.
| SLOT_VALUE SELF::value |
Definition at line 58 of file template.h.
| VALUE* SELF::values |
Definition at line 81 of file template.h.