Home
last modified time | relevance | path

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

/base/security/device_auth/frameworks/deviceauth_lite/source/base/product_header/
Dhilink_osadapter.h94 int hilink_memset_s(void *dest, unsigned int destMax, int c, unsigned int count);
95 int hilink_memcpy_s(void *dest, unsigned int destMax, const void *src, unsigned int count);
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/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()
235 if (destMax > count) { in vsnprintfp_s()
242 retVal = SecVsnprintfPImpl(strDest, destMax, priv, format, arglist); 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()
/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/startup/init/services/param/base/
Dparam_base.h32 INIT_LOCAL_API int ParamMemcpy(void *dest, size_t destMax, const void *src, size_t count);
33 INIT_LOCAL_API int ParamStrCpy(char *strDest, size_t destMax, const char *strSrc);
Dparam_comm.c549 INIT_LOCAL_API int ParamMemcpy(void *dest, size_t destMax, const void *src, size_t count) in ParamMemcpy() argument
555 ret = memcpy_s(dest, destMax, src, count); in ParamMemcpy()
560 INIT_LOCAL_API int ParamStrCpy(char *strDest, size_t destMax, const char *strSrc) in ParamStrCpy() argument
564 if (strlen(strSrc) >= destMax) { in ParamStrCpy()
568 while ((i < destMax) && *strSrc != '\0') { in ParamStrCpy()
576 ret = strcpy_s(strDest, destMax, strSrc); in ParamStrCpy()
/base/security/device_security_level/oem_property/ohos/impl/
Dexternal_interface_adapter.c46 …ic int32_t GenerateFuncParamJson(bool isSelfPk, const char *udidStr, char *dest, uint32_t destMax);
222 …tic int32_t GenerateFuncParamJson(bool isSelfPk, const char *udidStr, char *dest, uint32_t destMax) in GenerateFuncParamJson() argument
238 if (strcpy_s(dest, destMax, paramsJsonBuffer) != EOK) { in GenerateFuncParamJson()
/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()
1442 if (destMax > count) { in HiLog_Printf()
1449 retVal = HiLogSecVsnprintfImpl(strDest, destMax, isDebugMode, format, arglist); in HiLog_Printf()