Lines Matching refs:strSrc
17 SECUREC_INLINE errno_t SecDoCpyW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc)
20 SECUREC_CALC_WSTR_LEN(strSrc, destMax, &srcStrLen);
27 if (strDest == strSrc) {
31 if (SECUREC_STRING_NO_OVERLAP(strDest, strSrc, srcStrLen)) {
33 SECUREC_MEMCPY_WARP_OPT(strDest, strSrc, (srcStrLen + 1) * sizeof(wchar_t));
44 * The wcscpy_s function copies the wide string pointed to by strSrc
50 * strSrc Null-terminated source string buffer.
58 * EINVAL_AND_RESET strDest != NULL and strSrc is NULL and destMax != 0
61 * ERANGE_AND_RESET destMax <= length of strSrc and strDest != strSrc
62 * and strDest != NULL and strSrc != NULL and destMax != 0
66 * and strDest != NULL and strSrc !=NULL and strDest != strSrc
70 errno_t wcscpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc)
76 if (strDest == NULL || strSrc == NULL) {
84 return SecDoCpyW(strDest, destMax, strSrc);