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 | |
| 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. | |
Byte-level memory work: its arguments, the calls, and the memor dispatch table.
Definition in file memoria_operor.h.