Lines Matching defs:dest
62 * The memmove_s function copies count bytes of characters from src to dest.
65 * dest Destination object.
71 * dest buffer is updated.
75 * EINVAL dest is NULL and destMax != 0 and destMax <= SECUREC_MEM_MAX_LEN
76 * EINVAL_AND_RESET dest != NULL and src is NULL and destMax != 0 and destMax <= SECUREC_MEM_MAX_LEN
78 * ERANGE_AND_RESET count > destMax and dest != NULL and src != NULL and destMax != 0
81 * If an error occurred, dest will be filled with 0 when dest and destMax valid.
86 errno_t memmove_s(void *dest, size_t destMax, const void *src, size_t count)
92 if (dest == NULL || src == NULL) {
94 if (dest != NULL) {
95 (void)SECUREC_MEMSET_FUNC_OPT(dest, 0, destMax);
101 (void)SECUREC_MEMSET_FUNC_OPT(dest, 0, destMax);
105 if (dest == src) {
111 SecUtilMemmove(dest, src, count);
114 (void)memmove(dest, src, count);