Home
last modified time | relevance | path

Searched refs:TIME_STRING_LEN (Results 1 – 3 of 3) sorted by relevance

/base/security/device_security_level/services/dfx/
Ddslm_hidumper.c35 #define TIME_STRING_LEN 256 macro
41 static char timeBuff[TIME_STRING_LEN] = {0}; in GetTimeStringFromTimeStamp()
45 (void)memset_s(timeBuff, TIME_STRING_LEN, 0, TIME_STRING_LEN); in GetTimeStringFromTimeStamp()
54 …snprintf_s(timeBuff, TIME_STRING_LEN, TIME_STRING_LEN - 1, "%04hu-%02hu-%02hu %02hu:%02hu:%02hu.%0… in GetTimeStringFromTimeStamp()
63 if (snprintf_s(timeBuff, TIME_STRING_LEN, TIME_STRING_LEN - 1, "-") < 0) { in GetTimeStringFromTimeStamp()
210 char timeStart[TIME_STRING_LEN] = {0}; in DumpHistoryCalls()
211 … if (strcpy_s(timeStart, TIME_STRING_LEN, GetTimeStringFromTimeStamp(notifyNode->start)) != EOK) { in DumpHistoryCalls()
214 char timeStop[TIME_STRING_LEN] = {0}; in DumpHistoryCalls()
215 … if (strcpy_s(timeStop, TIME_STRING_LEN, GetTimeStringFromTimeStamp(notifyNode->stop)) != EOK) { in DumpHistoryCalls()
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dvendor.h53 static const int TIME_STRING_LEN = 16; variable
Dvendor.cpp76 char buf[TIME_STRING_LEN] = {0}; in GetTimeString()
78 strftime(buf, TIME_STRING_LEN - 1, "%Y%m%d%H%M%S", &tm); in GetTimeString()