Lines Matching defs:destMax
20 SECUREC_INLINE errno_t SecDoCatW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc)
27 SECUREC_CALC_WSTR_LEN(strDest, destMax, &destLen);
28 maxCount = destMax - destLen;
33 if (strDest + destLen <= strSrc && destLen == destMax) {
40 if (srcLen + destLen >= destMax || strDest == strSrc) {
42 if (destLen == destMax) {
71 * destMax Size of the destination string buffer.
79 * EINVAL strDest is NULL and destMax != 0 and destMax <= SECUREC_WCHAR_STRING_MAX_LEN
81 * (strDest != NULL and strSrc is NULL and destMax != 0
82 * and destMax <= SECUREC_WCHAR_STRING_MAX_LEN)
83 * ERANGE destMax > SECUREC_WCHAR_STRING_MAX_LEN or destMax is 0
87 * If there is a runtime-constraint violation, strDest[0] will be set to the '\0' when strDest and destMax valid
89 errno_t wcscat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc)
91 if (destMax == 0 || destMax > SECUREC_WCHAR_STRING_MAX_LEN) {
105 return SecDoCatW(strDest, destMax, strSrc);