/base/startup/init/services/param/base/ |
D | param_base.h | 38 #define PARAM_MEMCPY(dest, destMax, src, count) memcpy_s((dest), (destMax), (src), (count)) argument 39 #define PARAM_STRCPY(strDest, destMax, strSrc) strcpy_s((strDest), (destMax), (strSrc)) argument 42 #define PARAM_MEMCPY(dest, destMax, src, count) (memcpy((dest), (src), (count)) != NULL) ? 0 : 1 43 #define PARAM_STRCPY(strDest, destMax, strSrc) (strcpy((strDest), (strSrc)) != NULL) ? 0 : 1
|
/base/security/device_auth/frameworks/deviceauth_lite/source/base/product_header/ |
D | hilink_osadapter.h | 94 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/ |
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() 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/ |
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/dlp_permission_service/frameworks/test/mock/ |
D | file_io_mock.cpp | 29 typedef errno_t (*MemcpyFuncT)(void *dest, size_t destMax, const void *src, size_t count); 71 errno_t memcpy_s(void *dest, size_t destMax, const void *src, size_t count) in memcpy_s() argument 81 return (*func)(dest, destMax, src, count); in memcpy_s()
|
/base/security/device_security_level/test/dslm_unit_test/ |
D | dslm_memory_mock.cpp | 48 IMPLEMENT_FUNCTION(MockStrcpy, errno_t, strcpy_s, (char *strDest, size_t destMax, const char *strSr…
|
D | dslm_memory_mock.h | 42 DECLARE_METHOD(errno_t, strcpy_s, (char *strDest, size_t destMax, const char *strSrc));
|
/base/security/device_security_level/oem_property/ohos/common/ |
D | external_interface_adapter.c | 46 …ic int32_t GenerateFuncParamJson(bool isSelfPk, const char *udidStr, char *dest, uint32_t destMax); 226 …tic int32_t GenerateFuncParamJson(bool isSelfPk, const char *udidStr, char *dest, uint32_t destMax) in GenerateFuncParamJson() argument 242 if (strcpy_s(dest, destMax, paramsJsonBuffer) != EOK) { in GenerateFuncParamJson()
|
/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() 1442 if (destMax > count) { in HiLog_Printf() 1449 retVal = HiLogSecVsnprintfImpl(strDest, destMax, isDebugMode, format, arglist); in HiLog_Printf()
|