Searched refs:tmLocal (Results 1 – 6 of 6) sorted by relevance
/base/hiviewdfx/hiview/base/utility/ |
D | time_util.cpp | 79 struct tm tmLocal; in GetTimeZone() local 80 if (localtime_r(&systemSeconds, &tmLocal) == nullptr) { in GetTimeZone() 85 auto ret = strftime(tz, tzBufSize, "%z", &tmLocal); in GetTimeZone()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
D | hiappevent_read.cpp | 155 struct tm tmLocal; in TranslateLongToFormattedTimeStamp() local 156 if (localtime_r(&ftt, &tmLocal) == nullptr) { in TranslateLongToFormattedTimeStamp() 161 if (strftime(formatTz, sizeof(formatTz), DATE_FORMAT, &tmLocal) == 0) { in TranslateLongToFormattedTimeStamp()
|
D | hiappevent_base.cpp | 60 struct tm tmLocal; in GetTimeInfo() local 61 if (localtime_r(&sysSec, &tmLocal) == nullptr) { in GetTimeInfo() 70 time_t diffSec = mktime(&tmLocal) - mktime(&tmUtc); in GetTimeInfo()
|
/base/hiviewdfx/hilog/services/hilogtool/ |
D | log_display.cpp | 58 struct tm tmLocal; in TimeStr() local 59 if (localtime_r(&ts, &tmLocal) == nullptr) { in TimeStr() 62 len += strftime(buffer, TIME_W, "%m-%d %H:%M:%S", &tmLocal); in TimeStr()
|
/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() 61 auto ret = strftime(timeZone, timeZoneBufSize, "%z", &tmLocal); in GetTimeZone()
|
D | inner_writer.cpp | 48 struct tm tmLocal; in GetTimeZone() local 49 if (localtime_r(&sysSec, &tmLocal) == nullptr) { in GetTimeZone() 55 auto ret = strftime(timeZone, timeZoneBufSize, "%z", &tmLocal); in GetTimeZone()
|