Home
last modified time | relevance | path

Searched defs:destMax (Results 1 – 25 of 48) sorted by relevance

12

/third_party/bounds_checking_function/src/
Dmemcpy_s.c450 SECUREC_INLINE errno_t SecMemcpyError(void *dest, size_t destMax, const void *src, size_t count) in SecMemcpyError()
483 #define SECUREC_MEMCPY_PARAM_OK(dest, destMax, src, count) (SECUREC_LIKELY((count) <= (destMax) && \ argument
487 #define SECUREC_MEMCPY_PARAM_OK(dest, destMax, src, count) (SECUREC_LIKELY((count) <= (destMax) && \ argument
520 errno_t memcpy_s(void *dest, size_t destMax, const void *src, size_t count) in memcpy_s()
542 errno_t memcpy_sOptAsm(void *dest, size_t destMax, const void *src, size_t count) in memcpy_sOptAsm()
553 errno_t memcpy_sOptTc(void *dest, size_t destMax, const void *src, size_t count) in memcpy_sOptTc()
Dstrncpy_s.c19 #define SECUREC_STRNCPY_PARAM_OK(strDest, destMax, strSrc, count) \ argument
23 #define SECUREC_STRNCPY_PARAM_OK(strDest, destMax, strSrc, count) \ argument
31 SECUREC_INLINE errno_t CheckSrcCountRange(char *strDest, size_t destMax, const char *strSrc, size_t… in CheckSrcCountRange()
54 errno_t strncpy_error(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_error()
104 errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_s()
Dstrcpy_s.c22 #define SECUREC_STRCPY_PARAM_OK(strDest, destMax, strSrc) ((destMax) > 0 && \ argument
260 SECUREC_INLINE errno_t CheckSrcRange(char *strDest, size_t destMax, const char *strSrc) in CheckSrcRange()
280 errno_t strcpy_error(char *strDest, size_t destMax, const char *strSrc) in strcpy_error()
323 errno_t strcpy_s(char *strDest, size_t destMax, const char *strSrc) in strcpy_s()
Dwcscpy_s.c18 SECUREC_INLINE errno_t SecDoCpyW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in SecDoCpyW()
71 errno_t wcscpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in wcscpy_s()
Dstrcat_s.c21 SECUREC_INLINE errno_t SecDoCat(char *strDest, size_t destMax, const char *strSrc) in SecDoCat()
82 errno_t strcat_s(char *strDest, size_t destMax, const char *strSrc) in strcat_s()
Dwcsncpy_s.c18 SECUREC_INLINE errno_t SecDoCpyLimitW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size… in SecDoCpyLimitW()
76 errno_t wcsncpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count) in wcsncpy_s()
Dwcscat_s.c21 SECUREC_INLINE errno_t SecDoCatW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in SecDoCatW()
90 errno_t wcscat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in wcscat_s()
Dstrncat_s.c21 SECUREC_INLINE errno_t SecDoCatLimit(char *strDest, size_t destMax, const char *strSrc, size_t coun… in SecDoCatLimit()
88 errno_t strncat_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncat_s()
Dwcsncat_s.c21 SECUREC_INLINE errno_t SecDoCatLimitW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size… in SecDoCatLimitW()
87 errno_t wcsncat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count) in wcsncat_s()
Dvsnprintf_s.c45 int vsnprintf_s(char *strDest, size_t destMax, size_t count, const char *format, va_list argList) in vsnprintf_s()
113 int vsnprintf_truncated_s(char *strDest, size_t destMax, const char *format, va_list argList) in vsnprintf_truncated_s()
Dsnprintf_s.c48 int snprintf_s(char *strDest, size_t destMax, size_t count, const char *format, ...) in snprintf_s()
94 int snprintf_truncated_s(char *strDest, size_t destMax, const char *format, ...) in snprintf_truncated_s()
/third_party/mindspore/third_party/securec/src/
Dmemcpy_s.c442 static errno_t SecMemcpyError(void *dest, size_t destMax, const void *src, size_t count) in SecMemcpyError()
493 #define SECUREC_MEMCPY_PARAM_OK(dest, destMax, src, count) (SECUREC_LIKELY((count) <= (destMax) && \ argument
497 #define SECUREC_MEMCPY_PARAM_OK(dest, destMax, src, count) (SECUREC_LIKELY((count) <= (destMax) && \ argument
531 errno_t memcpy_s(void *dest, size_t destMax, const void *src, size_t count) in memcpy_s()
553 errno_t memcpy_sOptAsm(void *dest, size_t destMax, const void *src, size_t count) in memcpy_sOptAsm()
564 errno_t memcpy_sOptTc(void *dest, size_t destMax, const void *src, size_t count) in memcpy_sOptTc()
Dstrncpy_s.c23 #define SECUREC_STRNCPY_PARAM_OK(strDest, destMax, strSrc, count) \ argument
27 #define SECUREC_STRNCPY_PARAM_OK(strDest, destMax, strSrc, count) \ argument
35 static errno_t CheckSrcCountRange(char *strDest, size_t destMax, const char *strSrc, size_t count) in CheckSrcCountRange()
58 errno_t strncpy_error(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_error()
106 errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_s()
Dstrcpy_s.c250 static errno_t CheckSrcRange(char *strDest, size_t destMax, const char *strSrc) in CheckSrcRange()
270 errno_t strcpy_error(char *strDest, size_t destMax, const char *strSrc) in strcpy_error()
328 errno_t strcpy_s(char *strDest, size_t destMax, const char *strSrc) in strcpy_s()
Dwcscpy_s.c21 static errno_t SecDoWcscpy(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in SecDoWcscpy()
74 errno_t wcscpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in wcscpy_s()
Dwcsncpy_s.c21 static errno_t SecDoWcsncpy(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count) in SecDoWcsncpy()
79 errno_t wcsncpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count) in wcsncpy_s()
Dwcscat_s.c24 static errno_t SecDoWcscat(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in SecDoWcscat()
92 errno_t wcscat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in wcscat_s()
Dvsnprintf_s.c46 int vsnprintf_s(char *strDest, size_t destMax, size_t count, const char *format, va_list argList) in vsnprintf_s()
119 int vsnprintf_truncated_s(char *strDest, size_t destMax, const char *format, va_list argList) in vsnprintf_truncated_s()
Dstrcat_s.c25 static errno_t SecDoStrcat(char *strDest, size_t destMax, const char *strSrc) in SecDoStrcat()
82 errno_t strcat_s(char *strDest, size_t destMax, const char *strSrc) in strcat_s()
Dwcsncat_s.c24 static errno_t SecDoWcsncat(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count) in SecDoWcsncat()
90 errno_t wcsncat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count) in wcsncat_s()
Dmemset_s.c25 #define SECUREC_MEMSET_PARAM_OK(dest, destMax, count) (SECUREC_LIKELY((count) <= (destMax) && \ argument
416 static errno_t SecMemsetError(void *dest, size_t destMax, int c, size_t count) in SecMemsetError()
476 errno_t memset_s(void *dest, size_t destMax, int c, size_t count) in memset_s()
499 errno_t memset_sOptAsm(void *dest, size_t destMax, int c, size_t count) in memset_sOptAsm()
512 errno_t memset_sOptTc(void *dest, size_t destMax, int c, size_t count) in memset_sOptTc()
Dstrncat_s.c25 static errno_t SecDoStrncat(char *strDest, size_t destMax, const char *strSrc, size_t count) in SecDoStrncat()
89 errno_t strncat_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncat_s()
Dsnprintf_s.c49 int snprintf_s(char *strDest, size_t destMax, size_t count, const char *format, ...) in snprintf_s()
95 int snprintf_truncated_s(char *strDest, size_t destMax, const char *format, ...) in snprintf_truncated_s()
/third_party/bounds_checking_function/include/
Dsecurec.h575 #define strcpy_sp(dest, destMax, src) ((__builtin_constant_p((destMax)) && \ argument
581 #define strncpy_sp(dest, destMax, src, count) ((__builtin_constant_p((count)) && \ argument
588 #define strcat_sp(dest, destMax, src) ((__builtin_constant_p((destMax)) && \ argument
594 #define strncat_sp(dest, destMax, src, count) ((__builtin_constant_p((count)) && \ argument
601 #define memcpy_sp(dest, destMax, src, count) (__builtin_constant_p((count)) ? \ argument
610 #define memset_sp(dest, destMax, c, count) (__builtin_constant_p((count)) ? \ argument
/third_party/mindspore/third_party/securec/include/
Dsecurec.h577 #define strcpy_sp(dest, destMax, src) ((__builtin_constant_p((destMax)) && \ argument
583 #define strncpy_sp(dest, destMax, src, count) ((__builtin_constant_p((count)) && \ argument
590 #define strcat_sp(dest, destMax, src) ((__builtin_constant_p((destMax)) && \ argument
596 #define strncat_sp(dest, destMax, src, count) ((__builtin_constant_p((count)) && \ argument
603 #define memcpy_sp(dest, destMax, src, count) (__builtin_constant_p((count)) ? \ argument
613 #define memset_sp(dest, destMax, c, count) (__builtin_constant_p((count)) ? \ argument

12