Home
last modified time | relevance | path

Searched refs:hours (Results 101 - 125 of 1308) sorted by relevance

12345678910>>...53

/third_party/python/Lib/test/libregrtest/
H A Dmain.py167 hours, mins = divmod(mins, 60)
168 test_time = "%d:%02d:%02d" % (hours, mins, secs)
/third_party/python/Lib/
H A Dcalendar.py657 hours = days*24 + hour
658 minutes = hours*60 + minute
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
H A Dduration.cc678 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 Dktest.pl619 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 Dktest.pl682 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 DMeasureUnitTest.java2897 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 Dstore_factory_test.cpp129 std::chrono::system_clock::system_clock::now() - std::chrono::hours(duration)); in ChangeKeyDate()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dsecurity_manager.cpp376 return ((createTime + std::chrono::hours(HOURS_PER_YEAR)) < std::chrono::system_clock::now()); in IsKeyOutdated()
/third_party/node/deps/v8/src/objects/
H A Djs-temporal-objects.h127 Handle<Object> hours, Handle<Object> minutes, Handle<Object> seconds,
/third_party/node/deps/openssl/openssl/apps/include/
H A Dapps.h86 long days, long hours, long secs);
/third_party/openssl/apps/include/
H A Dapps.h86 long days, long hours, long secs);
/third_party/icu/icu4c/source/tools/tzcode/
H A Dzic.c1113 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 Dzic.c1112 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 Dhpi_internal.h943 u16 hours; member
951 u16 hours; member
/kernel/linux/linux-6.6/sound/pci/asihpi/
H A Dhpi_internal.h943 u16 hours; member
951 u16 hours; member
/third_party/tzdata/
H A Dzdump.c837 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 Dzic.c1821 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 Dsbgdec.c183 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 Ddashdec.c212 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 Dmedia_dfx.cpp434 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 Dshrpx_worker_process.cc237 // 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 Dcloud_server_impl.cpp353 ((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 Drdb_security_manager.cpp573 return ((timePoint + std::chrono::hours(HOURS_PER_YEAR)) < std::chrono::system_clock::now()); in IsKeyExpired()
/test/testfwk/xdevice/src/xdevice/_core/
H A Dutils.py711 timedelta(hours=8),
/third_party/PyYAML/lib/yaml/
H A Dconstructor.py344 delta = datetime.timedelta(hours=tz_hour, minutes=tz_minute)

Completed in 49 milliseconds

12345678910>>...53