Lines Matching refs:destMax
66 * destMax Size of the destination buffer.
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
77 * ERANGE destMax > SECUREC_MEM_MAX_LEN or destMax is 0
78 * ERANGE_AND_RESET count > destMax and dest != NULL and src != NULL and destMax != 0
79 * and destMax <= SECUREC_MEM_MAX_LEN
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)
88 if (destMax == 0 || destMax > SECUREC_MEM_MAX_LEN) {
95 (void)SECUREC_MEMSET_FUNC_OPT(dest, 0, destMax);
100 if (count > destMax) {
101 (void)SECUREC_MEMSET_FUNC_OPT(dest, 0, destMax);