Byte-level memory work: its arguments, the calls, and the memor dispatch table. More...
#include "mmgr.h"Go to the source code of this file.
Data Structures | |
| struct | MemoriaCfg |
| Arguments for the memor calls. More... | |
| struct | MemoriaOperorNs |
| Type of the memor dispatch table. More... | |
Functions | |
| void | mmgr_memor_cpy (const MemoriaCfg *args) |
| Copies args->bytes from args->src to args->dst, walking upward. | |
| void | mmgr_memor_move_up (const MemoriaCfg *args) |
| Copies args->bytes from args->src to args->dst, walking downward from the far end. | |
| embed_iword | mmgr_memor_cmp (const MemoriaCfg *args) |
| Compares args->bytes of args->src against args->other. | |
| const void * | mmgr_memor_chr (const MemoriaCfg *args) |
| Finds the first byte in args->src equal to args->val, within args->bytes. | |
| void | mmgr_memor_set (const MemoriaCfg *args) |
| Writes args->val into args->bytes of args->dst. | |
Variables | |
| static const MemoriaOperorNs | memor |
| Dispatch table instance named memor. | |
Byte-level memory work: its arguments, the calls, and the memor dispatch table.
Definition in file memoria_operor.h.
| void mmgr_memor_cpy | ( | const MemoriaCfg * | args | ) |
Copies args->bytes from args->src to args->dst, walking upward.
| [in] | args | Destination, source and count [BORROWS]. |
References mmgr_memor_cpy().
Referenced by mmgr_memor_cpy().
| void mmgr_memor_move_up | ( | const MemoriaCfg * | args | ) |
Copies args->bytes from args->src to args->dst, walking downward from the far end.
| [in] | args | Destination, source and count [BORROWS]. |
References mmgr_memor_move_up().
Referenced by mmgr_memor_move_up().
| embed_iword mmgr_memor_cmp | ( | const MemoriaCfg * | args | ) |
Compares args->bytes of args->src against args->other.
| [in] | args | The two regions and the count [BORROWS]. |
References mmgr_memor_cmp().
Referenced by mmgr_memor_cmp().
| const void * mmgr_memor_chr | ( | const MemoriaCfg * | args | ) |
Finds the first byte in args->src equal to args->val, within args->bytes.
| [in] | args | Region, count and the byte sought [BORROWS]. |
References mmgr_memor_chr().
Referenced by mmgr_memor_chr().
| void mmgr_memor_set | ( | const MemoriaCfg * | args | ) |
Writes args->val into args->bytes of args->dst.
| [in] | args | Destination, count and the byte to write [BORROWS]. |
References mmgr_memor_set().
Referenced by mmgr_memor_set().
|
static |
Dispatch table instance named memor.
Definition at line 110 of file memoria_operor.h.