Home
last modified time | relevance | path

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

12

/third_party/bounds_checking_function/src/
Dmemcpy_s.c445 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()
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 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()
Dstrcpy_s.c26 #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()
Dwcscpy_s.c17 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()
Dwcscat_s.c20 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()
Dwcsncpy_s.c17 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()
Dstrcat_s.c20 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()
Dwcsncat_s.c20 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()
Dstrncat_s.c20 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()
Dvsnprintf_s.c44 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()
Dmemset_s.c22 #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()
Dsnprintf_s.c47 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()
Dsecureprintoutput.h120 #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
Dwmemcpy_s.c55 errno_t wmemcpy_s(wchar_t *dest, size_t destMax, const wchar_t *src, size_t count) in wmemcpy_s()
Dwmemmove_s.c54 errno_t wmemmove_s(wchar_t *dest, size_t destMax, const wchar_t *src, size_t count) in wmemmove_s()
Dvsprintf_s.c41 int vsprintf_s(char *strDest, size_t destMax, const char *format, va_list argList) in vsprintf_s()
Dswprintf_s.c36 int swprintf_s(wchar_t *strDest, size_t destMax, const wchar_t *format, ...) in swprintf_s()
Dvswprintf_s.c40 int vswprintf_s(wchar_t *strDest, size_t destMax, const wchar_t *format, va_list argList) in vswprintf_s()
Dsprintf_s.c43 int sprintf_s(char *strDest, size_t destMax, const char *format, ...) in sprintf_s()
Dgets_s.c51 char *gets_s(char *buffer, size_t destMax) in gets_s()
Dmemmove_s.c86 errno_t memmove_s(void *dest, size_t destMax, const void *src, size_t count) in memmove_s()
/third_party/bounds_checking_function/include/
Dsecurec.h589 #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
Dsecurectype.h487 #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/
Dvsnprintf_s_p.c221 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/
Dvsnprintf_s_p.c221 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, va_lis… in vsnprintfp_s()

12