Searched refs:tz (Results 1 – 7 of 7) sorted by relevance
/base/time/time_service/services/time/src/ |
D | time_zone_info.cpp | 42 for (const auto &tz : timezoneList) { in TimeZoneInfo() local 43 timezoneInfoMap_[tz.ID] = tz; in TimeZoneInfo() 99 struct timezone tz; in SetTimezoneToKernel() local 100 tz.tz_minuteswest = offset * HOUR_TO_MILLI; in SetTimezoneToKernel() 101 tz.tz_dsttime = 0; in SetTimezoneToKernel() 103 int result = settimeofday(NULL, &tz); in SetTimezoneToKernel()
|
/base/hiviewdfx/hiview/adapter/utility/platform/linux/ |
D | time_util.cpp | 83 char tz[tzBufSize]; in GetTimeZone() local 84 auto ret = strftime(tz, tzBufSize, "%z", &tmLocal); in GetTimeZone() 86 return std::string(tz); in GetTimeZone()
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | resolver.cpp | 163 struct timezone tz; in GetTimeZone() local 164 if (gettimeofday(&tv, &tz) != 0) { in GetTimeZone() 169 int hour = (-tz.tz_minuteswest) / MINUTES_IN_HOUR; in GetTimeZone() 178 int minute = (-tz.tz_minuteswest) % MINUTES_IN_HOUR; in GetTimeZone()
|
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/ |
D | time_util.cpp | 84 char tz[tzBufSize]; in GetTimeZone() local 85 auto ret = strftime(tz, tzBufSize, "%z", &tmLocal); in GetTimeZone() 87 return std::string(tz); in GetTimeZone()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/ |
D | hisysevent_record_c.h | 33 char tz[MAX_LENGTH_OF_TIME_ZONE]; member
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
D | hisysevent_query_callback_c.cpp | 42 … return OHOS::HiviewDFX::StringUtil::CopyCString(recordStruct.tz, recordObj.GetTimeZone(), maxLen); in ConvertTimeZone()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
D | hisysevent_manager_c_test.cpp | 78 record.tz, record.time, record.pid, record.tid, record.uid, in RecordBaseParamPrint() 90 ASSERT_TRUE(strlen(record.tz) > 0); in OnQueryTest()
|