/third_party/python/Lib/test/libregrtest/ |
H A D | main.py | 167 hours, mins = divmod(mins, 60) 168 test_time = "%d:%02d:%02d" % (hours, mins, secs)
|
/third_party/python/Lib/ |
H A D | calendar.py | 657 hours = days*24 + hour 658 minutes = hours*60 + minute
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | duration.cc | 678 std::chrono::hours ToChronoHours(Duration d) { in ToChronoHours() 679 return time_internal::ToChronoDuration<std::chrono::hours>(d); in ToChronoHours() 727 char buf[sizeof("2562047788015216")]; // hours in max duration in AppendNumberUnit()
|
/kernel/linux/linux-5.10/tools/testing/ktest/ |
H A D | ktest.pl | 619 my $hours = 0; 623 $hours = int($time / 3600); 624 $time -= $hours * 3600; 631 if ($hours > 0) { 632 doprint "$hours hour"; 633 doprint "s" if ($hours > 1);
|
/kernel/linux/linux-6.6/tools/testing/ktest/ |
H A D | ktest.pl | 682 my $hours = 0; 686 $hours = int($time / 3600); 687 $time -= $hours * 3600; 694 if ($hours > 0) { 695 doprint "$hours hour"; 696 doprint "s" if ($hours > 1);
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | MeasureUnitTest.java | 2897 Measure hours = new Measure(5, MeasureUnit.HOUR); in testManyLocaleDurations() 2944 String result = mf.formatMeasures(hours, minutes); in testManyLocaleDurations() 3334 "4 hours, 23 minutes, 16.00 seconds", in testDoubleZero() 3341 "-4 hours, 23 minutes, 16.00 seconds", in testDoubleZero() 4010 Measure hours = new Measure(112, MeasureUnit.HOUR); in TestNumericTime() 4017 Assert.assertEquals("112h", fmt.formatMeasures(hours)); in TestNumericTime() 4025 Assert.assertEquals("112:113", fmt.formatMeasures(hours, minutes)); in TestNumericTime() 4026 Assert.assertEquals("112:00:114", fmt.formatMeasures(hours, seconds)); in TestNumericTime() 4029 Assert.assertEquals("112:113.876", fmt.formatMeasures(hours, fminutes)); in TestNumericTime() 4030 Assert.assertEquals("112:00:114.876", fmt.formatMeasures(hours, fsecond in TestNumericTime() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/ |
H A D | store_factory_test.cpp | 129 std::chrono::system_clock::system_clock::now() - std::chrono::hours(duration)); in ChangeKeyDate()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | security_manager.cpp | 376 return ((createTime + std::chrono::hours(HOURS_PER_YEAR)) < std::chrono::system_clock::now()); in IsKeyOutdated()
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-temporal-objects.h | 127 Handle<Object> hours, Handle<Object> minutes, Handle<Object> seconds,
|
/third_party/node/deps/openssl/openssl/apps/include/ |
H A D | apps.h | 86 long days, long hours, long secs);
|
/third_party/openssl/apps/include/ |
H A D | apps.h | 86 long days, long hours, long secs);
|
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | zic.c | 1113 warning(_("values over 24 hours not handled by pre-2007 versions of zic")); in gethms() 1994 register int hours; in stringoffset() local 2007 hours = offset; in stringoffset() 2008 if (hours >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset() 2012 (void) sprintf(end(result), "%d", hours); in stringoffset() local
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
H A D | zic.c | 1112 warning(_("values over 24 hours not handled by pre-2007 versions of zic")); in gethms() 1993 register int hours; in stringoffset() local 2006 hours = offset; in stringoffset() 2007 if (hours >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset() 2011 (void) sprintf(end(result), "%d", hours); in stringoffset() local
|
/kernel/linux/linux-5.10/sound/pci/asihpi/ |
H A D | hpi_internal.h | 943 u16 hours; member 951 u16 hours; member
|
/kernel/linux/linux-6.6/sound/pci/asihpi/ |
H A D | hpi_internal.h | 943 u16 hours; member 951 u16 hours; member
|
/third_party/tzdata/ |
H A D | zdump.c | 837 long hours = a->tm_hour - b->tm_hour + 24 * days; in gmtoff() 838 long minutes = a->tm_min - b->tm_min + 60 * hours; in gmtoff()
|
H A D | zic.c | 1821 warning(_("values over 24 hours not handled by pre-2007 versions of zic")); in gethms() 2874 register int hours; in stringoffset() local 2888 hours = offset; in stringoffset() 2889 if (hours >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset() 2893 len += sprintf(result + len, "%d", hours); in stringoffset()
|
/third_party/ffmpeg/libavformat/ |
H A D | sbgdec.c | 183 int hours, minutes; in str_to_time() local 189 hours = strtol(cur, &end, 10); in str_to_time() 203 *rtime = av_sat_add64((hours * 3600LL + minutes * 60LL) * AV_TIME_BASE, ts); in str_to_time() 1291 with a 24-hours period. */ in generate_intervals()
|
H A D | dashdec.c | 212 uint32_t hours = 0; in get_duration_insec() local 235 hours = (uint32_t)value; in get_duration_insec() 249 return ((days * 24 + hours) * 60 + mins) * 60 + secs; in get_duration_insec()
|
/foundation/multimedia/player_framework/services/utils/ |
H A D | media_dfx.cpp | 434 auto hour = std::chrono::duration_cast<std::chrono::hours>(diff).count(); in ReportMediaInfo() 436 MEDIA_LOG_I("Over 4 hours, report the event"); in ReportMediaInfo()
|
/third_party/nghttp2/src/ |
H A D | shrpx_worker_process.cc | 237 // default is 12 hours. Thus the maximum ticket vector size is 12. in renew_ticket_key_cb() 245 static_cast<size_t>(std::chrono::duration_cast<std::chrono::hours>( in renew_ticket_key_cb()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | cloud_server_impl.cpp | 353 ((std::chrono::system_clock::now() + std::chrono::hours(INTERVAL)).time_since_epoch()).count(); in DoSubscribe()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_security_manager.cpp | 573 return ((timePoint + std::chrono::hours(HOURS_PER_YEAR)) < std::chrono::system_clock::now());
in IsKeyExpired()
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 711 timedelta(hours=8),
|
/third_party/PyYAML/lib/yaml/ |
H A D | constructor.py | 344 delta = datetime.timedelta(hours=tz_hour, minutes=tz_minute)
|