Home
last modified time | relevance | path

Searched refs:hour (Results 1 - 25 of 43) sorted by relevance

12

/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_core_struct_utils.cpp27 .hour = class_value.hour, in ArkWebDateTimeClassToStruct()
38 .hour = struct_value.hour, in ArkWebDateTimeStructToClass()
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_view_struct_utils.cpp27 .hour = class_value.hour, in ArkWebDateTimeClassToStruct()
38 .hour = struct_value.hour, in ArkWebDateTimeStructToClass()
/base/global/i18n_lite/frameworks/i18n/src/
H A Ddate_time_format_impl.cpp190 * parse zoneInfo string such as “+1:45” to 1 hour 45 minutes = 3600 * 1 + 45 * 60 seconds
208 uint32_t hour = 0; in ParseZoneInfo() local
219 hour = temp; in ParseZoneInfo()
230 ret = SECONDS_IN_HOUR * hour + minute * SECONDS_IN_MINUTE; in ParseZoneInfo()
344 // deal with hour. in ProcessTime()
347 int32_t hour = (time.tm_hour == 0) ? LENGTH_HOUR : time.tm_hour; in ProcessTime() local
348 int32_t index = (hour > LENGTH_HOUR) ? (hour - LENGTH_HOUR) : hour; in ProcessTime()
353 int32_t hour in ProcessTime() local
358 int32_t hour = time.tm_hour; ProcessTime() local
364 int32_t hour = time.tm_hour + 1; ProcessTime() local
528 int32_t hour = milliseconds / HOUR_IN_MILLIS; FormatElapsedDuration() local
[all...]
/base/telephony/telephony_data/common/include/
H A Dtime_util.h32 int hour = ltm->tm_hour; in FormatDate() local
47 if (hour < DOUBLE_DIGIT) { in FormatDate()
50 date.append(std::to_string(hour)); in FormatDate()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dreminder_request_alarm.h35 * @param hour The value must between [0, 23].
41 ReminderRequestAlarm(uint8_t hour, uint8_t minute, std::vector<uint8_t> daysOfWeek);
63 * @return setted hour.
75 * @brief Sets the hour.
77 * @param hour Indicates the hour.
79 void SetHour(const uint8_t hour);
H A Dreminder_request_calendar.h169 * @brief Sets the hour.
171 * @param hour Indicates the hour.
173 void SetHour(const uint8_t hour);
218 * @brief Sets the hour.
220 * @param hour Indicates the hour.
330 uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second) const;
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_request_alarm.cpp25 ReminderRequestAlarm::ReminderRequestAlarm(uint8_t hour, uint8_t minute, const std::vector<uint8_t> daysOfWeek) in ReminderRequestAlarm() argument
29 hour_ = hour; in ReminderRequestAlarm()
48 ANSR_LOGE("setted hour is not between [0, 24)"); in CheckParamValid()
82 ANSR_LOGD("Now: year=%{public}d, mon=%{public}d, day=%{public}d, hour=%{public}d, " in GetNextTriggerTime()
114 void ReminderRequestAlarm::SetHour(const uint8_t hour) in SetHour() argument
116 hour_ = hour; in SetHour()
172 WRITE_UINT8_RETURN_FALSE_LOG(parcel, hour_, "hour"); in Marshalling()
198 READ_UINT8_RETURN_FALSE_LOG(parcel, hour_, "hour"); in ReadFromParcel()
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dresolver.cpp146 int hour = (-tz.tz_minuteswest) / MINUTES_IN_HOUR; in GetTimeZone() local
147 timeZone = (hour >= 0) ? "+" : "-"; in GetTimeZone()
149 int absHour = std::abs(hour); in GetTimeZone()
/base/powermgr/powermgr_lite/utils/include/
H A Dpower_mgr_time_util.h104 static inline int64_t HourToMsec(int64_t hour) in HourToMsec() argument
106 return hour * MSEC_PER_HOUR; in HourToMsec()
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestalarm_fuzzer/
H A Dreminderrequestalarm_fuzzer.cpp32 uint8_t hour = *data % HOUR; in DoSomethingInterestingWithMyAPI() local
37 auto rrc = std::make_shared<Notification::ReminderRequestAlarm>(hour, minute, daysOfWeek); in DoSomethingInterestingWithMyAPI()
/base/security/device_security_level/baselib/utils/include/
H A Dutils_datetime.h27 uint16_t hour; member
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_nweb_structs.h26 int32_t hour; member
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestcalendar_fuzzer/
H A Dreminderrequestcalendar_fuzzer.cpp80 uint8_t hour = *data % HOURS; in DoSomethingInterestingWithMyAPI() local
83 reminderRequestCalendar.GetTimeInstantMilli(year, months, days, hour, minute, second); in DoSomethingInterestingWithMyAPI()
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_date_time_chooser.h29 int32_t hour = 0; member
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/
H A Dcm_x509.h54 uint32_t hour; member
/base/telephony/core_service/services/network_search/include/
H A Dnitz_update.h40 int32_t hour = 0; member
/base/time/time_service/services/time/include/
H A Dsntp_client.h42 int hour; member
/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_store_strategy.cpp415 uint8_t hour = 0; in AppendValuesBucket() local
420 hour = alarm->GetHour(); in AppendValuesBucket()
425 values.PutInt(ReminderAlarmTable::ALARM_HOUR, hour); in AppendValuesBucket()
441 uint8_t hour = 0; in RecoverFromOldVersion() local
442 ReminderStrategy::GetRdbValue<uint8_t>(resultSet, ReminderTable::ALARM_HOUR, hour); in RecoverFromOldVersion()
443 alarm->SetHour(hour); in RecoverFromOldVersion()
461 uint8_t hour = 0; in RecoverFromDb() local
462 ReminderStrategy::GetRdbValue<uint8_t>(resultSet, ReminderAlarmTable::ALARM_HOUR, hour); in RecoverFromDb()
463 alarm->SetHour(hour); in RecoverFromDb()
561 uint8_t hour in RecoverFromOldVersion() local
[all...]
/base/global/i18n/frameworks/intl/src/
H A Ddate_time_format.cpp363 if (configs.count("hour") > 0) { in ParseConfigsPartOne()
364 hour = configs["hour"]; in ParseConfigsPartOne()
410 if (year.empty() && month.empty() && day.empty() && hour.empty() && minute.empty() && second.empty() && in ComputeSkeleton()
417 AddOptions(hour, hourChar); in ComputeSkeleton()
420 if ((hourCycle == "h12" || hourCycle == "h11" || hour12 == "true") && !hour.empty()) { in ComputeSkeleton()
466 ComputePartOfPattern(hour, hourChar, hourTwoDigitString, hourNumericString); in ComputePattern()
682 if (!hour.empty()) { in GetAdditionalResolvedOptions()
683 map.insert(std::make_pair("hour", hour)); in GetAdditionalResolvedOptions()
[all...]
/base/security/device_security_level/baselib/utils/src/
H A Dutils_datetime.c67 datetime->hour = (uint16_t)tm.tm_hour; in GetDateTimeByMillisecondSince1970()
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/include/
H A Ddcm_attest.h74 uint32_t hour; member
/base/telephony/sms_mms/services/sms/include/
H A Dsms_pdu_code_type.h73 uint8_t hour; /* range 0-23 */ member
/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_param_encode.cpp223 resultValue.push_back(((timeStamp->time.absolute.hour % DIGIT_TEN) << HEX_VALUE_04) + in EncodeTimePdu()
224 (timeStamp->time.absolute.hour / DIGIT_TEN)); in EncodeTimePdu()
/base/hiviewdfx/hievent_lite/frameworks/
H A Dhiview_output_event.c416 uint32 time, hour, mte, sec; in EventContentFmt() local
420 hour = time % SECONDS_PER_DAY / SECONDS_PER_HOUR; in EventContentFmt()
426 hour, mte, sec, event->common.eventId, event->type); in EventContentFmt()
430 hour, mte, sec, event->common.eventId, event->type, event->payload); in EventContentFmt()
/base/hiviewdfx/hiview_lite/
H A Dhiview_util.h54 uint8 hour; member

Completed in 10 milliseconds

12