/third_party/bounds_checking_function/src/ |
D | memcpy_s.c | 445 SECUREC_INLINE errno_t SecMemcpyError(void *dest, size_t destMax, const void *src, size_t count) in SecMemcpyError() 478 #define SECUREC_MEMCPY_PARAM_OK(dest, destMax, src, count) (SECUREC_LIKELY((count) <= (destMax) && \ argument 482 #define SECUREC_MEMCPY_PARAM_OK(dest, destMax, src, count) (SECUREC_LIKELY((count) <= (destMax) && \ argument 515 errno_t memcpy_s(void *dest, size_t destMax, const void *src, size_t count) in memcpy_s() 533 errno_t memcpy_sOptAsm(void *dest, size_t destMax, const void *src, size_t count) in memcpy_sOptAsm() 544 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 SECUREC_INLINE errno_t CheckSrcCountRange(char *strDest, size_t destMax, const char *strSrc, size_t… in CheckSrcCountRange() 58 errno_t strncpy_error(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_error() 108 errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_s()
|
D | strcpy_s.c | 26 #define SECUREC_STRCPY_PARAM_OK(strDest, destMax, strSrc) ((destMax) > 0 && \ argument 264 SECUREC_INLINE errno_t CheckSrcRange(char *strDest, size_t destMax, const char *strSrc) in CheckSrcRange() 284 errno_t strcpy_error(char *strDest, size_t destMax, const char *strSrc) in strcpy_error() 327 errno_t strcpy_s(char *strDest, size_t destMax, const char *strSrc) in strcpy_s()
|
D | wcscpy_s.c | 17 SECUREC_INLINE errno_t SecDoCpyW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in SecDoCpyW() 70 errno_t wcscpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in wcscpy_s()
|
D | wcscat_s.c | 20 SECUREC_INLINE errno_t SecDoCatW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in SecDoCatW() 89 errno_t wcscat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc) in wcscat_s()
|
D | wcsncpy_s.c | 17 SECUREC_INLINE errno_t SecDoCpyLimitW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size… in SecDoCpyLimitW() 75 errno_t wcsncpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count) in wcsncpy_s()
|
D | strcat_s.c | 20 SECUREC_INLINE errno_t SecDoCat(char *strDest, size_t destMax, const char *strSrc) in SecDoCat() 81 errno_t strcat_s(char *strDest, size_t destMax, const char *strSrc) in strcat_s()
|
D | wcsncat_s.c | 20 SECUREC_INLINE errno_t SecDoCatLimitW(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size… in SecDoCatLimitW() 86 errno_t wcsncat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count) in wcsncat_s()
|
D | strncat_s.c | 20 SECUREC_INLINE errno_t SecDoCatLimit(char *strDest, size_t destMax, const char *strSrc, size_t coun… in SecDoCatLimit() 87 errno_t strncat_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncat_s()
|
D | vsnprintf_s.c | 44 int vsnprintf_s(char *strDest, size_t destMax, size_t count, const char *format, va_list argList) in vsnprintf_s() 112 int vsnprintf_truncated_s(char *strDest, size_t destMax, const char *format, va_list argList) in vsnprintf_truncated_s()
|
D | memset_s.c | 22 #define SECUREC_MEMSET_PARAM_OK(dest, destMax, count) (SECUREC_LIKELY((destMax) <= SECUREC_MEM_MAX_… argument 431 SECUREC_INLINE errno_t SecMemsetError(void *dest, size_t destMax, int c) in SecMemsetError() 469 errno_t memset_s(void *dest, size_t destMax, int c, size_t count) in memset_s() 487 errno_t memset_sOptAsm(void *dest, size_t destMax, int c, size_t count) in memset_sOptAsm() 500 errno_t memset_sOptTc(void *dest, size_t destMax, int c, size_t count) in memset_sOptTc()
|
D | snprintf_s.c | 47 int snprintf_s(char *strDest, size_t destMax, size_t count, const char *format, ...) in snprintf_s() 93 int snprintf_truncated_s(char *strDest, size_t destMax, const char *format, ...) in snprintf_truncated_s()
|
D | secureprintoutput.h | 120 #define SECUREC_VSPRINTF_PARAM_ERROR(format, strDest, destMax, maxLimit) \ argument 123 #define SECUREC_VSPRINTF_CLEAR_DEST(strDest, destMax, maxLimit) do { \ argument 130 #define SECUREC_VSNPRINTF_PARAM_ERROR(format, strDest, destMax, count, maxLimit) \ argument 135 #define SECUREC_VSNPRINTF_PARAM_ERROR(format, strDest, destMax, count, maxLimit) \ argument
|
D | wmemcpy_s.c | 55 errno_t wmemcpy_s(wchar_t *dest, size_t destMax, const wchar_t *src, size_t count) in wmemcpy_s()
|
D | wmemmove_s.c | 54 errno_t wmemmove_s(wchar_t *dest, size_t destMax, const wchar_t *src, size_t count) in wmemmove_s()
|
D | vsprintf_s.c | 41 int vsprintf_s(char *strDest, size_t destMax, const char *format, va_list argList) in vsprintf_s()
|
D | swprintf_s.c | 36 int swprintf_s(wchar_t *strDest, size_t destMax, const wchar_t *format, ...) in swprintf_s()
|
D | vswprintf_s.c | 40 int vswprintf_s(wchar_t *strDest, size_t destMax, const wchar_t *format, va_list argList) in vswprintf_s()
|
D | sprintf_s.c | 43 int sprintf_s(char *strDest, size_t destMax, const char *format, ...) in sprintf_s()
|
D | gets_s.c | 51 char *gets_s(char *buffer, size_t destMax) in gets_s()
|
D | memmove_s.c | 86 errno_t memmove_s(void *dest, size_t destMax, const void *src, size_t count) in memmove_s()
|
/third_party/bounds_checking_function/include/ |
D | securec.h | 589 #define strcpy_sp(dest, destMax, src) ((__builtin_constant_p((destMax)) && \ argument 595 #define strncpy_sp(dest, destMax, src, count) ((__builtin_constant_p((count)) && \ argument 602 #define strcat_sp(dest, destMax, src) ((__builtin_constant_p((destMax)) && \ argument 608 #define strncat_sp(dest, destMax, src, count) ((__builtin_constant_p((count)) && \ argument 615 #define memcpy_sp(dest, destMax, src, count) (__builtin_constant_p((count)) ? \ argument 624 #define memset_sp(dest, destMax, c, count) (__builtin_constant_p((count)) ? \ argument
|
D | securectype.h | 487 #define SECUREC_STRNCPY_SM(dest, destMax, src, count) \ argument 494 #define SECUREC_STRCPY_SM(dest, destMax, src) \ argument 502 #define SECUREC_STRCAT_SM(dest, destMax, src) ({ \ argument 529 #define SECUREC_STRCAT_SM(dest, destMax, src) strcat_s((dest), (destMax), (src)) argument 534 #define SECUREC_STRNCAT_SM(dest, destMax, src, count) ({ \ argument 566 #define SECUREC_STRNCAT_SM(dest, destMax, src, count) strncat_s((dest), (destMax), (src), (count)) argument 570 #define SECUREC_MEMCPY_SM(dest, destMax, src, count) \ argument 577 #define SECUREC_MEMSET_SM(dest, destMax, c, count) \ argument
|
/third_party/musl/porting/linux/user/src/hilog/ |
D | vsnprintf_s_p.c | 221 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, va_lis… in vsnprintfp_s()
|
/third_party/musl/src/hilog/linux/ |
D | vsnprintf_s_p.c | 221 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, va_lis… in vsnprintfp_s()
|