|
Derive-C
|
#include <derive-c/core/includes/def.h>#include "includes.h"#include <derive-c/core/alloc/def.h>#include <derive-c/core/self/def.h>#include <derive-c/container/vector/dynamic/template.h>#include <derive-c/core/self/undef.h>#include <derive-c/core/alloc/undef.h>#include <derive-c/core/includes/undef.h>Go to the source code of this file.
Data Structures | |
| struct | item_t |
| A queue comprised of an extendable circular buffer. More... | |
| struct | SELF |
| An allocator that prints to stdout when it allocates or frees memory. More... | |
| struct | ITER |
| struct | ITER_CONST |
Macros | |
| #define | ITEM item_t |
| #define | ITEM_DELETE item_delete |
| #define | ITEM_CLONE item_clone |
| #define | ITEM_DEBUG item_debug |
| #define | ITEM_VECTORS NS(NAME, item_vectors) |
| #define | INTERNAL_NAME ITEM_VECTORS |
| #define | INVARIANT_CHECK(self) |
| #define | ITER NS(SELF, iter) |
| #define | ITER_CONST NS(SELF, iter_const) |
Typedefs | |
| typedef ITEM * | item |
Functions | |
| static void | ITEM_DELETE (item_t *) |
| static item_t | ITEM_CLONE (item_t const *self) |
| static void | ITEM_DEBUG (ITEM const *, dc_debug_fmt, FILE *) |
| static DC_PUBLIC SELF | new (ref alloc_ref) |
| static DC_PUBLIC SELF | new_with_capacity (size_t front_and_back_capacity, ref alloc_ref) |
| static DC_PUBLIC SELF | clone (SELF const *other) |
| static DC_PUBLIC size_t | size (SELF const *self) |
| static DC_PUBLIC bool | empty (SELF const *self) |
| static DC_PUBLIC void | rebalance (SELF *self) |
| static DC_PUBLIC ITEM const * | try_read_from_front (SELF const *self, size_t index) |
| static DC_PUBLIC ITEM const * | try_read_from_back (SELF const *self, size_t index) |
| static DC_PUBLIC ITEM * | try_write_from_front (SELF *self, size_t index) |
| static DC_PUBLIC ITEM * | try_write_from_back (SELF *self, size_t index) |
| static DC_PUBLIC void | push_front (SELF *self, ITEM item) |
| static DC_PUBLIC void | push_back (SELF *self, ITEM item) |
| static DC_PUBLIC ITEM | pop_front (SELF *self) |
| static DC_PUBLIC ITEM | pop_back (SELF *self) |
| static DC_PUBLIC bool | empty_item (ITEM *const *item) |
| static DC_PUBLIC ITEM * | next (ITER *iter) |
| static DC_PUBLIC bool | empty (ITER const *iter) |
| static DC_PUBLIC ITER | get_iter (SELF *self) |
| static DC_PUBLIC bool | empty_item (ITEM const *const *item) |
| static DC_PUBLIC ITEM const * | next (ITER_CONST *iter) |
| static DC_PUBLIC bool | empty (ITER_CONST const *iter) |
| static DC_PUBLIC ITER_CONST | get_iter_const (SELF const *self) |
| static DC_PUBLIC void | delete (SELF *self) |
| static DC_PUBLIC void | debug (SELF const *self, dc_debug_fmt fmt, FILE *stream) |
| DC_TRAIT_QUEUE (SELF) | |
| #define INTERNAL_NAME ITEM_VECTORS |
Definition at line 52 of file template.h.
| #define INVARIANT_CHECK | ( | self | ) |
Definition at line 67 of file template.h.
Definition at line 19 of file template.h.
| #define ITEM_CLONE item_clone |
Definition at line 23 of file template.h.
| #define ITEM_DEBUG item_debug |
Definition at line 25 of file template.h.
| #define ITEM_DELETE item_delete |
Definition at line 21 of file template.h.
Definition at line 44 of file template.h.
Definition at line 226 of file template.h.
Definition at line 273 of file template.h.
Definition at line 227 of file template.h.
Definition at line 88 of file template.h.
| DC_TRAIT_QUEUE | ( | SELF | ) |
|
static |
Definition at line 328 of file template.h.
Definition at line 322 of file template.h.
Definition at line 257 of file template.h.
|
static |
Definition at line 304 of file template.h.
Definition at line 103 of file template.h.
Definition at line 229 of file template.h.
Definition at line 276 of file template.h.
Definition at line 264 of file template.h.
|
static |
Definition at line 311 of file template.h.
Definition at line 24 of file template.h.
|
static |
Definition at line 26 of file template.h.
|
static |
Definition at line 22 of file template.h.
Definition at line 69 of file template.h.
Definition at line 78 of file template.h.
Definition at line 237 of file template.h.
|
static |
Definition at line 284 of file template.h.
Definition at line 205 of file template.h.
Definition at line 184 of file template.h.
Definition at line 177 of file template.h.
Definition at line 170 of file template.h.
Definition at line 108 of file template.h.
Definition at line 98 of file template.h.
Definition at line 158 of file template.h.
Definition at line 146 of file template.h.
Definition at line 166 of file template.h.
Definition at line 162 of file template.h.