Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 25 of 37) sorted by relevance

12

/base/global/i18n_lite/frameworks/i18n/src/
Ddate_time_format_impl.cpp208 uint32_t hour = 0; in ParseZoneInfo() local
219 hour = temp; in ParseZoneInfo()
230 ret = SECONDS_IN_HOUR * hour + minute * SECONDS_IN_MINUTE; in ParseZoneInfo()
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 = time.tm_hour; in ProcessTime() local
354 ZeroPadding(appendTo, count, MAX_COUNT, hour); in ProcessTime()
358 int32_t hour = time.tm_hour; in ProcessTime() local
359 int32_t index = (hour >= LENGTH_HOUR) ? (hour - LENGTH_HOUR) : hour; in ProcessTime()
364 int32_t hour = time.tm_hour + 1; in ProcessTime() local
[all …]
/base/telephony/data_storage/common/include/
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/powermgr/powermgr_lite/utils/include/
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/
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/notification/distributed_notification_service/frameworks/test/moduletest/
DReminderHelperTest.js135 hour: 21, property
176 hour: 21, property
218 hour: 23, property
261 hour: 23, property
410 hour: 23, property
888 hour: 23, property
925 hour: 23, property
1021 hour: 21, property
1062 hour: 21, property
1103 hour: 21, property
[all …]
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dresolver.cpp169 int hour = (-tz.tz_minuteswest) / MINUTES_IN_HOUR; in GetTimeZone() local
170 timeZone = (hour >= 0) ? "+" : "-"; in GetTimeZone()
172 int absHour = std::abs(hour); in GetTimeZone()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request_alarm.cpp37 ReminderRequestAlarm::ReminderRequestAlarm(uint8_t hour, uint8_t minute, const std::vector<uint8_t>… in ReminderRequestAlarm() argument
41 hour_ = hour; in ReminderRequestAlarm()
333 uint8_t hour = 0; in AppendValuesBucket() local
338 hour = alarm->GetHour(); in AppendValuesBucket()
342 values.PutInt(ALARM_HOUR, hour); in AppendValuesBucket()
Dreminder_request_calendar.cpp218 uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second) const in GetTimeInstantMilli() argument
224 tar.tm_hour = static_cast<int>(hour); in GetTimeInstantMilli()
571 uint8_t hour = 0; in AppendValuesBucket() local
584 hour = calendar->GetHour(); in AppendValuesBucket()
596 values.PutInt(CALENDAR_HOUR, hour); in AppendValuesBucket()
/base/security/device_security_level/baselib/utils/include/
Dutils_datetime.h27 uint16_t hour; member
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestcalendar_fuzzer/
Dreminderrequestcalendar_fuzzer.cpp74 uint8_t hour = *data % HOURS; in DoSomethingInterestingWithMyAPI() local
77 reminderRequestCalendar.GetTimeInstantMilli(year, months, days, hour, minute, second); in DoSomethingInterestingWithMyAPI()
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/resource/
Dmeasure_format_patterns.txt1 …|yd", "%s %s", "#", "", "", "", "", "", "", "", "", "", "", "", "h", "", "hour", "", "", "", "hour…
/base/global/i18n/
DREADME.md34 …s the sequence of year, month, and day, month and week names, and 12-hour or 24-hour system\) foll…
/base/telephony/core_service/services/network_search/include/
Dnitz_update.h38 int32_t hour; member
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/
Dcm_x509.h52 uint32_t hour; member
/base/time/time_service/services/time/include/
Dsntp_client.h44 int hour; member
/base/security/device_security_level/baselib/utils/src/
Dutils_datetime.c57 datetime->hour = (uint16_t)tm.tm_hour; in GetDateTimeByMillisecondSince1970()
/base/global/i18n/frameworks/intl/src/
Ddate_time_format.cpp322 hour = configs["hour"]; in ParseConfigsPartOne()
368 …if (year.empty() && month.empty() && day.empty() && hour.empty() && minute.empty() && second.empty… in ComputeSkeleton()
374 AddOptions(hour, hourChar); in ComputeSkeleton()
377 if ((hourCycle == "h12" || hourCycle == "h11" || hour12 == "true") && !hour.empty()) { in ComputeSkeleton()
423 ComputePartOfPattern(hour, hourChar, hourTwoDigitString, hourNumericString); in ComputePattern()
612 if (!hour.empty()) { in GetAdditionalResolvedOptions()
613 map.insert(std::make_pair("hour", hour)); in GetAdditionalResolvedOptions()
694 return hour; in GetHour()
/base/telephony/sms_mms/services/include/
Dsms_pdu_code_type.h73 unsigned char hour; /* range 0-23 */ member
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request_alarm.h41 ReminderRequestAlarm(uint8_t hour, uint8_t minute, std::vector<uint8_t> daysOfWeek);
/base/hiviewdfx/hiview_lite/
Dhiview_util.h54 uint8 hour; member
/base/hiviewdfx/hilog/services/hilogtool/
Dlog_display.cpp131 uint32_t hour = tmp / HOUR2SEC; in DurationStr() local
132 tmp -= (hour * HOUR2SEC); in DurationStr()
137 ret = snprintf_s(buffer, TIME_W, TIME_W - 1, "%uh%um%us.%u", hour, min, sec, msec); in DurationStr()
/base/hiviewdfx/hievent_lite/frameworks/
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/security/huks/services/huks_standard/huks_engine/main/core/include/
Dhks_attest.h74 uint32_t hour; member
/base/telephony/sms_mms/services/gsm/
Dgsm_sms_param_codec.cpp162 (*ppParam)[offset++] = ((pTimeStamp->time.absolute.hour % NUMBER_TEN) << 0x04) + in EncodeTime()
163 (pTimeStamp->time.absolute.hour / NUMBER_TEN); in EncodeTime()
322 …pTimeStamp->time.absolute.hour = (pTpdu[offset] & 0x0F) * NUMBER_TEN + ((pTpdu[offset] & 0xF0) >> … in DecodeTime()
/base/notification/distributed_notification_service/frameworks/js/napi/include/reminder/
Dreminder_common.h111 const int32_t &hour, const int32_t &min);

12