blob: 70f02ae7394da5292736e3fc44daf410239d5185 [file] [log] [blame]
/*
* Simple sanity test of memcpy, memmove, and memset intrinsics.
* (fixed length buffers, variable length buffers, etc.).
* There is no include guard since this will be included multiple times,
* under different namespaces.
*/
int memcpy_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length);
int memmove_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length);
int memset_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length);
int memcpy_test_fixed_len(uint8_t init);
int memmove_test_fixed_len(uint8_t init);
int memset_test_fixed_len(uint8_t init);