/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/ |
D | vsnprintf_s_p.cpp | 222 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, va_lis… in vsnprintfp_s() argument 226 if (format == NULL || strDest == NULL || destMax == 0 || destMax > SECUREC_STRING_MAX_LEN || in vsnprintfp_s() 228 if (strDest != NULL && destMax > 0) { in vsnprintfp_s() 229 strDest[0] = '\0'; in vsnprintfp_s() 236 retVal = SecVsnprintfPImpl(strDest, count + 1, priv, format, arglist); in vsnprintfp_s() 242 retVal = SecVsnprintfPImpl(strDest, destMax, priv, format, arglist); in vsnprintfp_s() 251 strDest[0] = '\0'; /* empty the dest strDest */ in vsnprintfp_s() 266 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, ...) in vsnprintfp_s() argument 270 int ret = vsnprintfp_s(strDest, destMax, count, priv, format, ap); in vsnprintfp_s()
|
D | output_p.inl | 61 static int SecIndirectSprintf(char *strDest, const char *format, ...) argument 68 ret = vsprintf(strDest, format, arglist);
|
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/include/ |
D | vsnprintf_s_p.h | 36 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, va_lis… 39 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, ...);
|
/base/security/device_auth/frameworks/deviceauth_lite/source/base/product_header/ |
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/startup/init/services/param/base/ |
D | param_base.h | 33 INIT_LOCAL_API int ParamStrCpy(char *strDest, size_t destMax, const char *strSrc);
|
D | param_comm.c | 560 INIT_LOCAL_API int ParamStrCpy(char *strDest, size_t destMax, const char *strSrc) in ParamStrCpy() argument 569 *strDest = *strSrc; in ParamStrCpy() 570 strDest++; in ParamStrCpy() 574 *strDest = '\0'; in ParamStrCpy() 576 ret = strcpy_s(strDest, destMax, strSrc); in ParamStrCpy()
|
/base/hiviewdfx/faultloggerd/common/dfxlog/ |
D | musl_log.h | 57 extern int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, …
|
/base/hiviewdfx/hilog_lite/frameworks/featured/ |
D | hiview_log.c | 1429 int HiLog_Printf(char *strDest, size_t destMax, size_t count, bool isDebugMode, const char *format,… 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() 1449 retVal = HiLogSecVsnprintfImpl(strDest, destMax, isDebugMode, format, arglist); in HiLog_Printf() 1458 strDest[0] = '\0'; /* empty the dest strDest */ in HiLog_Printf()
|