/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-date.c | 210 ecma_number_t hours = ECMA_NUMBER_ZERO; in ecma_date_construct_helper() local 227 hours = ecma_get_number_from_value (hours_value); in ecma_date_construct_helper() 271 ecma_date_make_time (hours, in ecma_date_construct_helper() 339 ecma_number_t hours = ECMA_NUMBER_ZERO; in ecma_builtin_date_parse_ISO_string_format() local 349 /* 4.1 read hours and minutes */ in ecma_builtin_date_parse_ISO_string_format() 350 hours = ecma_date_parse_date_chars (&date_str_curr_p, date_str_end_p, 2, 0, 24); in ecma_builtin_date_parse_ISO_string_format() 373 if (hours == 24 && (minutes != 0 || seconds != 0 || milliseconds != 0)) in ecma_builtin_date_parse_ISO_string_format() 375 hours = ecma_number_make_nan (); in ecma_builtin_date_parse_ISO_string_format() 378 time = ecma_date_make_time (hours, minutes, seconds, milliseconds); in ecma_builtin_date_parse_ISO_string_format() 388 time = ecma_date_make_time (hours, minute in ecma_builtin_date_parse_ISO_string_format() 509 ecma_number_t hours = ecma_date_parse_date_chars (&date_str_curr_p, date_str_end_p, 2, 0, 24); ecma_builtin_date_parse_toString_formats() local [all...] |
/third_party/toybox/toys/other/ |
H A D | uptime.c | 31 unsigned int weeks, days, hours, minutes; in uptime_main() local 54 hours = info.uptime%24; in uptime_main() 63 hours, (hours!=1)?"s":"", in uptime_main() 68 if (hours) xprintf("%2d:%02d, ", hours, minutes); in uptime_main()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | externModule.js | 14 constructor(year: number, month: number, date: number, hours: number); 15 constructor(year: number, month: number, date: number, hours: number, minutes: number); 16 constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: number); 17 constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: number, ms: number); 24 static UTC(year: number, month: number, date: number, hours: number): number; 25 static UTC(year: number, month: number, date: number, hours: number, minutes: number): number; 26 static UTC(year: number, month: number, date: number, hours: number, minutes: number, seconds: number): number; 27 static UTC(year: number, month: number, date: number, hours: number, minutes: number, seconds: number,
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds1685.c | 265 u8 seconds, minutes, hours, wday, mday, month, years; in ds1685_rtc_read_time() local 271 hours = rtc->read(rtc, RTC_HRS); in ds1685_rtc_read_time() 288 tm->tm_hour = ds1685_rtc_bcd2bin(rtc, hours, RTC_HRS_24_BCD_MASK, in ds1685_rtc_read_time() 312 u8 ctrlb, seconds, minutes, hours, wday, mday, month, years, century; in ds1685_rtc_set_time() local 319 hours = ds1685_rtc_bin2bcd(rtc, tm->tm_hour, RTC_HRS_24_BIN_MASK, in ds1685_rtc_set_time() 361 rtc->write(rtc, RTC_HRS, hours); in ds1685_rtc_set_time() 377 * There are three primary alarm registers: seconds, minutes, and hours. 388 u8 seconds, minutes, hours, mday, ctrlb, ctrlc; in ds1685_rtc_read_alarm() local 395 hours = rtc->read(rtc, RTC_HRS_ALARM); in ds1685_rtc_read_alarm() 423 if (likely(hours < in ds1685_rtc_read_alarm() 446 u8 ctrlb, seconds, minutes, hours, mday; ds1685_rtc_set_alarm() local 1075 u8 ctrla, ctrlb, hours; ds1685_rtc_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds1685.c | 265 u8 seconds, minutes, hours, wday, mday, month, years; in ds1685_rtc_read_time() local 271 hours = rtc->read(rtc, RTC_HRS); in ds1685_rtc_read_time() 288 tm->tm_hour = ds1685_rtc_bcd2bin(rtc, hours, RTC_HRS_24_BCD_MASK, in ds1685_rtc_read_time() 312 u8 ctrlb, seconds, minutes, hours, wday, mday, month, years, century; in ds1685_rtc_set_time() local 319 hours = ds1685_rtc_bin2bcd(rtc, tm->tm_hour, RTC_HRS_24_BIN_MASK, in ds1685_rtc_set_time() 361 rtc->write(rtc, RTC_HRS, hours); in ds1685_rtc_set_time() 377 * There are three primary alarm registers: seconds, minutes, and hours. 388 u8 seconds, minutes, hours, mday, ctrlb, ctrlc; in ds1685_rtc_read_alarm() local 395 hours = rtc->read(rtc, RTC_HRS_ALARM); in ds1685_rtc_read_alarm() 423 if (likely(hours < in ds1685_rtc_read_alarm() 446 u8 ctrlb, seconds, minutes, hours, mday; ds1685_rtc_set_alarm() local 1073 u8 ctrla, ctrlb, hours; ds1685_rtc_probe() local [all...] |
/base/update/updater/services/flashd/ |
H A D | flashd_basepkg.bat | 69 set /a hours=%end_h%-%start_h% 75 if %mins% lss 0 set /a hours = %hours% - 1 & set /a mins = 60%mins% 76 if %hours% lss 0 set /a hours = 24%hours% 79 set /a totalsecs = %hours%*3600 + %mins%*60 + %secs%
|
/third_party/tzdata/ |
H A D | ziguard.awk | 31 sign, hours, minutes) 34 hours = +field 39 return 60 * hours + sign * minutes 45 hours, minutes, sign) 47 hours = int(offset / 60) 50 return sprintf("%+.4d", hours * 100 + minutes); 52 return sprintf("%+.2d", hours)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_fixed.cc | 71 int hours = Parse02d(np + 1); in FixedOffsetFromName() local 72 if (hours == -1) return false; in FixedOffsetFromName() 78 secs += ((hours * 60) + mins) * 60; in FixedOffsetFromName() 86 if (offset < std::chrono::hours(-24) || offset > std::chrono::hours(24)) { in FixedOffsetToName() 87 // We don't support fixed-offset zones more than 24 hours in FixedOffsetToName()
|
H A D | time_zone_posix.cc | 77 int hours = 0; in ParseOffset() local 81 p = ParseInt(p, min_hour, max_hour, &hours); in ParseOffset() 91 *offset = sign * ((((hours * 60) + minutes) * 60) + seconds); in ParseOffset()
|
H A D | time_zone_lookup_test.cc | 743 chrono::hours(3) + chrono::minutes(25) + chrono::seconds(45)); in TEST() 746 -(chrono::hours(12) + chrono::minutes(34) + chrono::seconds(56))); in TEST() 793 chrono::hours(3) + chrono::minutes(25) + chrono::seconds(45)); in TEST() 797 -(chrono::hours(12) + chrono::minutes(34) + chrono::seconds(56))); in TEST() 801 const time_zone fixed_lim = fixed_time_zone(chrono::hours(24)); in TEST() 805 fixed_time_zone(chrono::hours(24) + chrono::seconds(1)); in TEST() 845 ExpectTime(chrono::time_point_cast<chrono::hours>(t0), utc, 1970, 1, 1, 0, 0, in TEST() 874 -(chrono::hours(8) + chrono::minutes(33) + chrono::seconds(47)); in TEST() 928 const time_point<chrono::hours> tp_h = chrono::time_point_cast<chrono::hours>( in TEST() [all...] |
/third_party/python/Doc/includes/ |
H A D | tzinfo_examples.py | 4 HOUR = timedelta(hours=1) 112 def __init__(self, hours, reprname, stdname, dstname): 113 self.stdoffset = timedelta(hours=hours)
|
/third_party/python/Lib/test/ |
H A D | datetimetester.py | 229 DSTDIFF = DSTOFFSET = timedelta(hours=1) 254 self.ACDT = timezone(timedelta(hours=9.5), 'ACDT') 255 self.EST = timezone(-timedelta(hours=5), 'EST') 272 limit = timedelta(hours=23, minutes=59) 412 timedelta(hours=23, minutes=59), 413 timedelta(hours=23, minutes=59, seconds=59), 414 timedelta(hours=23, minutes=59, seconds=59, microseconds=999999), 424 timedelta(hours=24), 425 timedelta(hours=24, microseconds=1), 438 self.assertNotEqual(timezone(timedelta(hours [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
H A D | GenerateCTimeScaleData.java | 42 private static final long hours = minutes * 60; field in GenerateCTimeScaleData 43 private static final long days = hours * 24; 88 } else if (units == hours) { in main() 89 cargs[0] = "hours"; in main()
|
H A D | EpochOffsets.java | 43 private static final long hours = minutes * 60; field in EpochOffsets 44 private static final long days = hours * 24;
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | bd70528_wdt.c | 166 unsigned int hours; in bd70528_wdt_set_timeout() local 173 hours = timeout / (60 * 60); in bd70528_wdt_set_timeout() 174 /* Maximum timeout is 1h 59m 59s => hours is 1 or 0 */ in bd70528_wdt_set_timeout() 175 if (hours) in bd70528_wdt_set_timeout() 187 BD70528_MASK_WDT_HOUR, hours); in bd70528_wdt_set_timeout() 189 dev_err(w->dev, "Failed to set WDT hours\n"); in bd70528_wdt_set_timeout()
|
/third_party/python/Lib/test/test_email/ |
H A D | test_utils.py | 14 utcoffset = datetime.timedelta(hours=-7) 118 t2 = t0 - datetime.timedelta(hours=5) 119 t2 = t2.replace(tzinfo = datetime.timezone(datetime.timedelta(hours=-5))) 127 t2 = t0 - datetime.timedelta(hours=5) 128 t2 = t2.replace(tzinfo = datetime.timezone(datetime.timedelta(hours=-5)))
|
/third_party/python/Lib/test/libregrtest/ |
H A D | utils.py | 12 hours, minutes = divmod(minutes, 60) 15 if hours: 16 parts.append('%s hour' % hours)
|
/base/security/huks/test/reliability/src/ |
H A D | api_pressure_test.cpp | 928 std::this_thread::sleep_for(std::chrono::hours(TEST_HOURS)); in HWTEST_F() 949 std::this_thread::sleep_for(std::chrono::hours(TEST_HOURS)); in HWTEST_F() 970 std::this_thread::sleep_for(std::chrono::hours(TEST_HOURS)); in HWTEST_F() 991 std::this_thread::sleep_for(std::chrono::hours(TEST_HOURS)); in HWTEST_F() 1024 std::this_thread::sleep_for(std::chrono::hours(TEST_HOURS)); in HWTEST_F() 1054 std::this_thread::sleep_for(std::chrono::hours(TEST_HOURS)); in HWTEST_F() 1075 std::this_thread::sleep_for(std::chrono::hours(TEST_HOURS)); in HWTEST_F() 1105 std::this_thread::sleep_for(std::chrono::hours(TEST_HOURS)); in HWTEST_F() 1135 std::this_thread::sleep_for(std::chrono::hours(TEST_HOURS)); in HWTEST_F() 1156 std::this_thread::sleep_for(std::chrono::hours(TEST_HOUR in HWTEST_F() [all...] |
/third_party/python/Lib/sqlite3/ |
H A D | dbapi2.py | 68 hours, minutes, seconds = map(int, timepart_full[0].split(b":")) 74 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
|
/third_party/toybox/toys/pending/ |
H A D | last.c | 74 unsigned days, hours, mins; in seize_duration() local 82 hours = (mins = (mins%(24*60)))/60; in seize_duration() 84 sprintf(toybuf+28, "(%u+%02u:%02u)", days, hours, mins); // Duration. in seize_duration()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
H A D | TimeZoneAliasTest.java | 228 static public String formatHours(int hours) { in formatHours() argument 229 return nf.format(hours/DHOUR); in formatHours() 410 String hours = formatHours(minRecentOffset) in toString() 415 return id + getPurportedAliasesAsString() + " (" + hours + ")"; in toString() 418 return "\t{\t\"" + id + "\"\t// [" + count + "] " + hours in toString()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
H A D | TimeZoneAliasTest.java | 225 static public String formatHours(int hours) { in formatHours() argument 226 return nf.format(hours/DHOUR); in formatHours() 407 String hours = formatHours(minRecentOffset) in toString() 412 return id + getPurportedAliasesAsString() + " (" + hours + ")"; in toString() 415 return "\t{\t\"" + id + "\"\t// [" + count + "] " + hours in toString()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | DateTimeRule.java | 306 int hours = time / 60; in toString() 314 buf.append(hours); in toString()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | DateTimeRule.java | 271 int hours = time / 60; in toString() 279 buf.append(hours); in toString()
|
/third_party/node/benchmark/ |
H A D | _benchmark_progress.js | 19 const hours = pad(Math.floor(time / 3600), 2, '0'); 22 return `${hours}:${minutes}:${seconds}`;
|