Home
last modified time | relevance | path

Searched refs:timeLength (Results 1 - 2 of 2) sorted by relevance

/base/global/i18n_lite/frameworks/i18n/src/
H A Ddate_time_data.cpp156 size_t timeLength = strlen(timePatterns); in SetPatternsData() local
161 if ((timeLength == 0) || (dateLength == 0) || (hourLength == 0) || (fullLength == 0)) { in SetPatternsData()
165 this->timePatterns = NewArrayAndCopy(timePatterns, timeLength); in SetPatternsData()
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/
H A Dfault_detector_util.cpp244 constexpr int timeLength = 64; in TimeStampToStr() local
245 char stampStr[timeLength] = { 0 }; in TimeStampToStr()
247 if (localtime_r(&timeStamp, &tm) == nullptr || strftime(stampStr, timeLength, "%Y/%m/%d %H/%M/%S", &tm) == 0) { in TimeStampToStr()
257 constexpr int timeLength = 64; in TimeStampToSimplelyStr() local
258 char stampStr[timeLength] = { 0 }; in TimeStampToSimplelyStr()
260 if (localtime_r(&timeStamp, &tm) == nullptr || strftime(stampStr, timeLength, "%Y%m%d%H%M%S", &tm) == 0) { in TimeStampToSimplelyStr()

Completed in 2 milliseconds