Lines Matching refs:strDest
21 SECUREC_INLINE errno_t SecDoCat(char *strDest, size_t destMax, const char *strSrc) in SecDoCat() argument
26 SECUREC_CALC_STR_LEN(strDest, destMax, &destLen); in SecDoCat()
31 if (SECUREC_CAT_STRING_IS_OVERLAP(strDest, destLen, strSrc, srcLen)) { in SecDoCat()
32 strDest[0] = '\0'; in SecDoCat()
33 if (strDest + destLen <= strSrc && destLen == destMax) { in SecDoCat()
40 if (srcLen + destLen >= destMax || strDest == strSrc) { in SecDoCat()
41 strDest[0] = '\0'; in SecDoCat()
49 …SECUREC_MEMCPY_WARP_OPT(strDest + destLen, strSrc, srcLen + 1); /* Single character length includ… in SecDoCat()
82 errno_t strcat_s(char *strDest, size_t destMax, const char *strSrc) in strcat_s() argument
88 if (strDest == NULL || strSrc == NULL) { in strcat_s()
90 if (strDest != NULL) { in strcat_s()
91 strDest[0] = '\0'; in strcat_s()
96 return SecDoCat(strDest, destMax, strSrc); in strcat_s()