/third_party/bounds_checking_function/src/ |
D | memcpy_s.c | 450 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()
|
D | strncpy_s.c | 19 #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()
|
D | strcpy_s.c | 22 #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()
|
D | wcscpy_s.c | 18 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()
|
D | strcat_s.c | 21 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()
|
D | wcsncpy_s.c | 18 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()
|
D | wcscat_s.c | 21 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()
|
D | strncat_s.c | 21 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()
|
D | wcsncat_s.c | 21 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()
|
D | vsnprintf_s.c | 45 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()
|
D | snprintf_s.c | 48 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/ |
D | memcpy_s.c | 442 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()
|
D | strncpy_s.c | 23 #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()
|
D | strcpy_s.c | 250 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()
|
D | wcscpy_s.c | 21 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()
|
D | wcsncpy_s.c | 21 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()
|
D | wcscat_s.c | 24 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()
|
D | vsnprintf_s.c | 46 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()
|
D | strcat_s.c | 25 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()
|
D | wcsncat_s.c | 24 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()
|
D | memset_s.c | 25 #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()
|
D | strncat_s.c | 25 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()
|
D | snprintf_s.c | 49 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/ |
D | securec.h | 575 #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/ |
D | securec.h | 577 #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
|