/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/ |
H A D | vsprintf_p.c | 20 int VsprintfP(char *strDest, size_t destMax, const char *format, va_list argList)
in VsprintfP() argument 22 return vsprintf_s(strDest, destMax, format, argList);
in VsprintfP()
|
H A D | vsnprintf_s_p.c | 200 * to by strDest and appends a terminating null. 203 * strDest Storage location for the output. 204 * destMax The size of the strDest for output. 212 * strDest is updated 219 * If there is a runtime-constraint violation, strDest[0] will be set to the '\0' when strDest and destMax valid 223 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, va_list arglist) in vsnprintfp_s() argument 227 if (format == NULL || strDest == NULL || destMax == 0 || destMax > SECUREC_STRING_MAX_LEN || in vsnprintfp_s() 229 if (strDest != NULL && destMax > 0) { in vsnprintfp_s() 230 strDest[ in vsnprintfp_s() 267 snprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, ...) snprintfp_s() argument [all...] |
/base/startup/init/services/param/base/ |
H A D | param_base.h | 40 #define PARAM_STRCPY(strDest, destMax, strSrc) strcpy_s((strDest), (destMax), (strSrc))
44 #define PARAM_STRCPY(strDest, destMax, strSrc) (strcpy((strDest), (strSrc)) != NULL) ? 0 : 1
|
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/include/ |
H A D | vsnprintf_s_p.h | 26 * @param strDest - produce output according to a format ,write to the character string strDest 28 * @param count - do not write more than count bytes to strDest(not including the terminating null byte ('\0')) 39 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, va_list arglist); 42 int snprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, ...);
|
H A D | vsprintf_p.h | 22 int VsprintfP(char *strDest, size_t destMax, const char *format, va_list argList);
|
/base/security/device_auth/frameworks/deviceauth_lite/inc/base/product_header/ |
H A D | hilink_osadapter.h | 96 int hilink_strncpy_s(char *strDest, unsigned int destMax, const char *strSrc, unsigned int count); 97 int hilink_strncat_s(char *strDest, unsigned int destMax, const char *strSrc, unsigned int count); 98 int hilink_sprintf_s(char *strDest, unsigned int destMax, const char *format, ...); 99 int hilink_snprintf_s(char *strDest, unsigned int destMax, unsigned int count, const char *format, ...);
|
/base/security/device_security_level/test/dslm_unit_test/ |
H A D | dslm_memory_mock.cpp | 48 IMPLEMENT_FUNCTION(MockStrcpy, errno_t, strcpy_s, (char *strDest, size_t destMax, const char *strSrc));
|
H A D | dslm_memory_mock.h | 42 DECLARE_METHOD(errno_t, strcpy_s, (char *strDest, size_t destMax, const char *strSrc));
|
/base/hiviewdfx/hilog_lite/frameworks/featured/ |
H A D | hiview_log.c | 1429 int HiLog_Printf(char *strDest, size_t destMax, size_t count, bool isDebugMode, const char *format, va_list arglist) in HiLog_Printf() argument 1433 if (format == NULL || strDest == NULL || destMax == 0 || destMax > SECUREC_STRING_MAX_LEN || in HiLog_Printf() 1435 if (strDest != NULL && destMax > 0) { in HiLog_Printf() 1436 strDest[0] = '\0'; in HiLog_Printf() 1443 retVal = HiLogSecVsnprintfImpl(strDest, count + 1, isDebugMode, format, arglist); in HiLog_Printf() 1446 return -1; /* to skip error handler, return strlen(strDest) or -1 */ in HiLog_Printf() 1449 retVal = HiLogSecVsnprintfImpl(strDest, destMax, isDebugMode, format, arglist); in HiLog_Printf() 1458 strDest[0] = '\0'; /* empty the dest strDest */ in HiLog_Printf()
|