/base/global/i18n/tools/ |
H A D | data_process.py | 36 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 D | raw_data_base_def.cpp | 36 int ParseTimeZone(long tz) in ParseTimeZone() argument 40 if (*iter == tz) { in ParseTimeZone()
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | resolver.cpp | 140 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 D | time_zone_info.cpp | 122 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 D | time_util.cpp | 89 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 D | hisysevent_easy.c | 45 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 D | doc_query.h | 40 uint8_t tz; member
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/ |
H A D | hisysevent_record_c.h | 34 char tz[MAX_LENGTH_OF_TIME_ZONE];
member
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
H A D | hisysevent_record_convertor.cpp | 44 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 D | init.c | 107 struct timezone tz = { 0 };
in SystemInit() local 108 if (settimeofday(NULL, &tz) == -1) {
in SystemInit()
|
/base/hiviewdfx/hiview/base/event_store/dao/ |
H A D | doc_query.cpp | 82 value = static_cast<int64_t>(innerField.tz);
in IsContainInnerCond()
|
/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/ |
H A D | sys_event_manager.rs | 106 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 D | hisysevent_c_wrapper_test.cpp | 93 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 D | hisysevent_manager_c_test.cpp | 78 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()
|