Lines Matching defs:count
17 SECUREC_INLINE errno_t SecDoCpyLimitW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count)
20 if (count < destMax) {
21 SECUREC_CALC_WSTR_LEN(strSrc, count, &srcStrLen);
55 * count Number of characters to be copied.
66 * ERANGE_AND_RESET count > SECUREC_WCHAR_STRING_MAX_LEN or
67 * (destMax <= length of strSrc and destMax <= count and strDest != strSrc
75 errno_t wcsncpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count)
89 if (count > SECUREC_WCHAR_STRING_MAX_LEN) {
91 if (count == (size_t)(-1)) {
100 if (count == 0) {
105 return SecDoCpyLimitW(strDest, destMax, strSrc, count);