Home
last modified time | relevance | path

Searched refs:tz (Results 1 - 14 of 14) sorted by relevance

/base/global/i18n/tools/
H A Ddata_process.py36 tz = re.search(tz_pattern, line).group()
38 timezones = tz[1:-1].split(",")
58 for tz in tzs:
59 group_wn.add(tz)
61 for tz in tzs:
62 group_en.add(tz)
64 for tz in tzs:
65 group_ws.add(tz)
67 for tz in tzs:
68 group_es.add(tz)
[all...]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Draw_data_base_def.cpp36 int ParseTimeZone(long tz) in ParseTimeZone() argument
40 if (*iter == tz) { in ParseTimeZone()
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dresolver.cpp140 struct timezone tz; in GetTimeZone() local
141 if (gettimeofday(&tv, &tz) != 0) { in GetTimeZone()
146 int hour = (-tz.tz_minuteswest) / MINUTES_IN_HOUR; in GetTimeZone()
155 int minute = (-tz.tz_minuteswest) % MINUTES_IN_HOUR; in GetTimeZone()
/base/time/time_service/services/time/src/
H A Dtime_zone_info.cpp122 struct timezone tz {}; in SetTimezoneToKernel() struct
127 tz.tz_minuteswest = -localTime->tm_gmtoff / HOUR_TO_MIN; in SetTimezoneToKernel()
128 tz.tz_dsttime = 0; in SetTimezoneToKernel()
129 int result = settimeofday(nullptr, &tz); in SetTimezoneToKernel()
/base/hiviewdfx/hiview/base/utility/
H A Dtime_util.cpp89 char tz[tzBufSize]; in GetTimeZone() local
90 auto ret = strftime(tz, tzBufSize, "%z", &tmLocal); in GetTimeZone()
92 return std::string(tz); in GetTimeZone()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_easy/
H A Dhisysevent_easy.c45 static uint8_t ParseTimeZone(long tz) in ParseTimeZone() argument
57 if (allTimeZones[index] == tz) { in ParseTimeZone()
/base/hiviewdfx/hiview/base/event_store/include/
H A Ddoc_query.h40 uint8_t tz; member
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
H A Dhisysevent_record_c.h34 char tz[MAX_LENGTH_OF_TIME_ZONE]; member
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
H A Dhisysevent_record_convertor.cpp44 return OHOS::HiviewDFX::StringUtil::CopyCString(recordStruct.tz, recordObj.GetTimeZone(), in ConvertTimeZone()
101 HILOG_ERROR(LOG_CORE, "Failed to convert tz=%{public}s", recordObj.GetTimeZone().c_str()); in ConvertRecord()
/base/startup/init/services/init/standard/
H A Dinit.c107 struct timezone tz = { 0 }; in SystemInit() local
108 if (settimeofday(NULL, &tz) == -1) { in SystemInit()
/base/hiviewdfx/hiview/base/event_store/dao/
H A Ddoc_query.cpp82 value = static_cast<int64_t>(innerField.tz); in IsContainInnerCond()
/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/
H A Dsys_event_manager.rs106 tz: [u8; MAX_LENGTH_OF_TIME_ZONE],
171 std::str::from_utf8(&self.tz).expect("need valid time zone array") in get_time_zone()
/base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/
H A Dhisysevent_c_wrapper_test.cpp93 memcpy_s(record.tz, MAX_LENGTH_OF_TIME_ZONE, timeZone.c_str(), timeZone.length() + EXT_BYTE_CNT) != EOK) { in CreateSysEventRecord()
/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_manager_c_test.cpp78 HILOG_DEBUG(LOG_CORE, "event: domain=%{public}s, name=%{public}s, type=%{public}d, tz=%{public}s, " in RecordBaseParamPrint()
83 record.tz, record.time, record.pid, record.tid, record.uid, in RecordBaseParamPrint()
95 ASSERT_GT(strlen(record.tz), 0); in OnQueryTest()

Completed in 8 milliseconds