Data Structures | |
| struct | MemoriaCfg |
| Arguments for the memor calls. More... | |
| struct | MemoriaOperorNs |
| Type of the memor dispatch table. More... | |
Functions | |
| EMBED_HOST_DEVICE void | mmgr_memor_cpy (const MemoriaCfg *args) |
| Copies args->bytes from args->src to args->dst, on an upward walk. | |
| EMBED_HOST_DEVICE void | mmgr_memor_move_up (const MemoriaCfg *args) |
| Copies args->bytes from args->src to args->dst, on a downward walk from the far end. | |
| EMBED_HOST_DEVICE embed_iword | mmgr_memor_cmp (const MemoriaCfg *args) |
| Compares args->bytes of args->src against args->other. | |
| EMBED_HOST_DEVICE const void * | mmgr_memor_chr (const MemoriaCfg *args) |
| Finds the first byte in args->src equal to args->val, within args->bytes. | |
| EMBED_HOST_DEVICE void | mmgr_memor_set (const MemoriaCfg *args) |
| Writes args->val into args->bytes of args->dst. | |
| EMBED_HOST_DEVICE embed_bool | mmgr_memor_sort (const MemoriaCfg *args) |
| Sorts args->count elements of args->bytes bytes each at args->dst in the order of args->order. | |
| EMBED_HOST_DEVICE size_t | mmgr_memor_run (const MemoriaCfg *args) |
| Counts the bytes at the start of args->src equal to args->val, within args->bytes. | |
| EMBED_HOST_DEVICE size_t | mmgr_memor_run_last (const MemoriaCfg *args) |
| Counts the bytes at the end of args->src equal to args->val, within args->bytes. | |
Variables | |
| static const MemoriaOperorNs | memor |
| Dispatch table instance named memor. | |
| EMBED_HOST_DEVICE void mmgr_memor_cpy | ( | const MemoriaCfg * | args | ) |
Copies args->bytes from args->src to args->dst, on an upward walk.
| [in] | args | Destination, source and count [BORROWS]. |
References mmgr_memor_cpy().
Referenced by mmgr_memor_cpy().
| EMBED_HOST_DEVICE void mmgr_memor_move_up | ( | const MemoriaCfg * | args | ) |
Copies args->bytes from args->src to args->dst, on a downward walk from the far end.
| [in] | args | Destination, source and count [BORROWS]. |
References mmgr_memor_move_up().
Referenced by mmgr_memor_move_up().
| EMBED_HOST_DEVICE 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().
| EMBED_HOST_DEVICE 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().
| EMBED_HOST_DEVICE 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().
| EMBED_HOST_DEVICE embed_bool mmgr_memor_sort | ( | const MemoriaCfg * | args | ) |
Sorts args->count elements of args->bytes bytes each at args->dst in the order of args->order.
| [in] | args | The elements, the room, the count, the size of one element and the order [BORROWS]. |
References mmgr_memor_sort().
Referenced by mmgr_memor_sort().
| EMBED_HOST_DEVICE size_t mmgr_memor_run | ( | const MemoriaCfg * | args | ) |
Counts the bytes at the start of args->src equal to args->val, within args->bytes.
| [in] | args | Region, count and the byte counted [BORROWS]. |
References mmgr_memor_run().
Referenced by mmgr_memor_run().
| EMBED_HOST_DEVICE size_t mmgr_memor_run_last | ( | const MemoriaCfg * | args | ) |
Counts the bytes at the end of args->src equal to args->val, within args->bytes.
| [in] | args | Region, count and the byte counted [BORROWS]. |
References mmgr_memor_run_last().
Referenced by mmgr_memor_run_last().
|
static |
Dispatch table instance named memor.
Definition at line 159 of file memoria_operor.h.