Home
last modified time | relevance | path

Searched refs:tmLocal (Results 1 – 6 of 6) sorted by relevance

/base/hiviewdfx/hiview/base/utility/
Dtime_util.cpp79 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/
Dhiappevent_read.cpp155 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()
Dhiappevent_base.cpp60 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/
Dlog_display.cpp58 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/
Dhisysevent.cpp54 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()
Dinner_writer.cpp48 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()