Searched refs:tmLocal (Results 1 – 4 of 4) sorted by relevance
/base/hiviewdfx/hilog/frameworks/native/ |
D | format.cpp | 73 struct tm tmLocal; in HilogShowTimeBuffer() local 74 if (localtime_r(&now, &tmLocal) == nullptr) { in HilogShowTimeBuffer() 77 timeLen = strftime(buffer, bufLen, "%m-%d %H:%M:%S", &tmLocal); in HilogShowTimeBuffer() 80 timeLen = strftime(buffer, bufLen, "%Y-%m-%d %H:%M:%S", &tmLocal); in HilogShowTimeBuffer() 84 timeLen = strftime(buffer, bufLen, "%z %m-%d %H:%M:%S", &tmLocal); in HilogShowTimeBuffer()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
D | hisysevent.cpp | 54 struct tm tmLocal; in GetTimeZone() local 55 if (localtime_r(&sysSec, &tmLocal) == nullptr) { in GetTimeZone() 64 time_t diffSec = mktime(&tmLocal) - mktime(&tmUtc); in GetTimeZone()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
D | hiappevent_read.cpp | 156 struct tm tmLocal; in TranslateLongToFormattedTimeStamp() local 157 if (localtime_r(&ftt, &tmLocal) == nullptr) { in TranslateLongToFormattedTimeStamp() 162 if (strftime(formatTz, sizeof(formatTz), DATE_FORMAT, &tmLocal) == 0) { in TranslateLongToFormattedTimeStamp()
|
D | hiappevent_base.cpp | 61 struct tm tmLocal; in GetTimeInfo() local 62 if (localtime_r(&sysSec, &tmLocal) == nullptr) { in GetTimeInfo() 71 time_t diffSec = mktime(&tmLocal) - mktime(&tmUtc); in GetTimeInfo()
|