Home
last modified time | relevance | path

Searched refs:strDest (Results 1 – 8 of 8) sorted by relevance

/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
Dvsnprintf_s_p.cpp222 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()
Doutput_p.inl61 static int SecIndirectSprintf(char *strDest, const char *format, ...) argument
68 ret = vsprintf(strDest, format, arglist);
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/include/
Dvsnprintf_s_p.h36 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/
Dhilink_osadapter.h96 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/
Dparam_base.h33 INIT_LOCAL_API int ParamStrCpy(char *strDest, size_t destMax, const char *strSrc);
Dparam_comm.c560 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/
Dmusl_log.h57 extern int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, …
/base/hiviewdfx/hilog_lite/frameworks/featured/
Dhiview_log.c1429 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()