Lines Matching refs:strSrc
20 SECUREC_INLINE errno_t SecDoCatLimitW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count)
26 SECUREC_CALC_WSTR_LEN(strSrc, count, &srcLen);
28 if (SECUREC_CAT_STRING_IS_OVERLAP(strDest, destLen, strSrc, srcLen)) {
30 if (strDest + destLen <= strSrc && destLen == destMax) {
37 if (srcLen + destLen >= destMax || strDest == strSrc) {
46 SECUREC_MEMCPY_WARP_OPT(strDest + destLen, strSrc, srcLen * sizeof(wchar_t)); /* no terminator */
55 * from the array pointed to by strSrc to the end of the wide string pointed to by strDest.
57 * The wcsncat_s function try to append the first D characters of strSrc to
58 * the end of strDest, where D is the lesser of count and the length of strSrc.
68 * strSrc Null-terminated source string.
78 * (strDest != NULL and strSrc is NULL and destMax != 0 and
86 errno_t wcsncat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count)
92 if (strDest == NULL || strSrc == NULL) {
104 return SecDoCatLimitW(strDest, destMax, strSrc, destMax);
111 return SecDoCatLimitW(strDest, destMax, strSrc, count);