Lines Matching refs:strSrc
20 SECUREC_INLINE errno_t SecDoCatW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc)
29 SECUREC_CALC_WSTR_LEN(strSrc, maxCount, &srcLen);
31 if (SECUREC_CAT_STRING_IS_OVERLAP(strDest, destLen, strSrc, srcLen)) {
33 if (strDest + destLen <= strSrc && destLen == destMax) {
40 if (srcLen + destLen >= destMax || strDest == strSrc) {
50 SECUREC_MEMCPY_WARP_OPT(strDest + destLen, strSrc, (srcLen + 1) * sizeof(wchar_t));
56 * The wcscat_s function appends a copy of the wide string pointed to by strSrc
61 * The wcscat_s function appends strSrc to strDest and terminates the resulting
62 * string with a null character. The initial character of strSrc overwrites the
72 * strSrc Null-terminated source string buffer.
81 * (strDest != NULL and strSrc is NULL and destMax != 0
89 errno_t wcscat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc)
96 if (strDest == NULL || strSrc == NULL) {
105 return SecDoCatW(strDest, destMax, strSrc);