Lines Matching defs:dest
25 * from the object pointed to by src into the object pointed to by dest.t.
28 * dest Destination buffer.
34 * dest buffer is updated.
38 * EINVAL dest is NULL and destMax != 0 and count <= destMax
40 * EINVAL_AND_RESET dest != NULL and src is NULL and destMax != 0
43 * (count > destMax and dest is NULL and destMax != 0
45 * ERANGE_AND_RESET count > destMax and dest != NULL and destMax != 0
47 * EOVERLAP_AND_RESET dest buffer and source buffer are overlapped and
49 * and dest != NULL and src != NULL and dest != src
51 * if an error occurred, dest will be filled with 0 when dest and destMax valid .
55 errno_t wmemcpy_s(wchar_t *dest, size_t destMax, const wchar_t *src, size_t count)
63 if (dest != NULL) {
64 (void)SECUREC_MEMSET_FUNC_OPT(dest, 0, destMax * sizeof(wchar_t));
69 return memcpy_s(dest, destMax * sizeof(wchar_t), src, count * sizeof(wchar_t));