Jan Voung | 3bd9f1a | 2014-06-18 10:50:57 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Simple sanity test of memcpy, memmove, and memset intrinsics. |
| 3 | * (fixed length buffers, variable length buffers, etc.). |
| 4 | * There is no include guard since this will be included multiple times, |
| 5 | * under different namespaces. |
| 6 | */ |
| 7 | |
Jan Voung | 140bb0d | 2014-07-14 11:51:44 -0700 | [diff] [blame] | 8 | int memcpy_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length); |
| 9 | int memmove_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length); |
| 10 | int memset_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length); |
Jan Voung | 3bd9f1a | 2014-06-18 10:50:57 -0700 | [diff] [blame] | 11 | |
| 12 | int memcpy_test_fixed_len(uint8_t init); |
| 13 | int memmove_test_fixed_len(uint8_t init); |
| 14 | int memset_test_fixed_len(uint8_t init); |