Home
last modified time | relevance | path

Searched refs:hours (Results 1 – 25 of 205) sorted by relevance

123456789

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/testdata/
Dtestdata_en.txt83 3 hours ago
84 2 hours ago
86 0 hours
88 2 hours from now
89 3 hours from now
90 5 hours from now
91 10 hours from now
92 11 hours from now
93 12 hours from now
94 20 hours from now
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/
Dtestdata_en.txt83 3 hours ago
84 2 hours ago
86 0 hours
88 2 hours from now
89 3 hours from now
90 5 hours from now
91 10 hours from now
92 11 hours from now
93 12 hours from now
94 20 hours from now
[all …]
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/
Dfloor.pass.cpp38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); in main()
39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); in main()
45 …constexpr std::chrono::hours h1 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds… in main()
47 …constexpr std::chrono::hours h2 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds… in main()
Dceil.pass.cpp39 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); in main()
40 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); in main()
46 …constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
48 …constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
Dround.pass.cpp38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); in main()
39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); in main()
45 …constexpr std::chrono::hours h1 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds… in main()
47 …constexpr std::chrono::hours h2 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds… in main()
Dduration_cast.pass.cpp36 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); in main()
48 …constexpr std::chrono::hours h = std::chrono::duration_cast<std::chrono::hours>(std::chrono::milli… in main()
/external/libcxx/test/std/utilities/time/time.duration/time.duration.alg/
Dabs.pass.cpp41 test(std::chrono::hours(0), std::chrono::hours(0)); in main()
45 constexpr std::chrono::hours h1 = std::chrono::abs(std::chrono::hours(-3)); in main()
47 constexpr std::chrono::hours h2 = std::chrono::abs(std::chrono::hours(3)); in main()
/external/vogar/src/vogar/util/
DTimeUtilities.java34 long hours = duration; in msToIsoString() local
37 if (hours != 0) { in msToIsoString()
38 result.append(hours); in msToIsoString()
85 long hours = duration % 24; in nsToString() local
94 if (result.length() > 1 || hours != 0) { in nsToString()
95 result.append(hours); in nsToString()
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/
Dop_--int.pass.cpp24 std::chrono::hours h1(3); in test_constexpr()
25 std::chrono::hours h2 = h1--; in test_constexpr()
34 std::chrono::hours h1(3); in main()
35 std::chrono::hours h2 = h1--; in main()
Dop_++int.pass.cpp24 std::chrono::hours h1(3); in test_constexpr()
25 std::chrono::hours h2 = h1++; in test_constexpr()
33 std::chrono::hours h1(3); in main()
34 std::chrono::hours h2 = h1++; in main()
Dop_++.pass.cpp24 std::chrono::hours h(3); in test_constexpr()
32 std::chrono::hours h(3); in main()
33 std::chrono::hours& href = ++h; in main()
Dop_--.pass.cpp24 std::chrono::hours h(3); in test_constexpr()
32 std::chrono::hours h(3); in main()
33 std::chrono::hours& href = --h; in main()
/external/toybox/toys/other/
Duptime.c30 unsigned int days, hours, minutes; in uptime_main() local
59 hours = info.uptime%24; in uptime_main()
62 if (hours) xprintf("%2d:%02d, ", hours, minutes); in uptime_main()
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/
Dfloor.pass.cpp55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); in main()
56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); in main()
61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); in main()
62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -3> (); in main()
Dround.pass.cpp55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); in main()
56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); in main()
61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); in main()
62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> (); in main()
Dceil.pass.cpp56 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); in main()
57 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); in main()
62 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 3> (); in main()
63 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> (); in main()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DDurationPicker.java217 double hours = minutes / 60; in setDuration() local
219 double days = hours / 24; in setDuration()
220 hours = hours % 24; in setDuration()
223 setCurrentHour((int) hours); in setDuration()
/external/openssh/
Dprogressmeter.c128 int hours, minutes, seconds; in refresh_progress_meter() local
207 hours = seconds / 3600; in refresh_progress_meter()
208 seconds -= hours * 3600; in refresh_progress_meter()
212 if (hours != 0) in refresh_progress_meter()
214 "%d:%02d:%02d", hours, minutes, seconds); in refresh_progress_meter()
/external/python/cpython2/Doc/includes/
Dtzinfo-examples.py4 HOUR = timedelta(hours=1)
118 def __init__(self, hours, reprname, stdname, dstname): argument
119 self.stdoffset = timedelta(hours=hours)
/external/libcxx/test/std/utilities/time/time.duration/time.duration.literals/
Dliterals2.fail.cpp17 using std::chrono::hours; in main()
19 hours foo = 4h; // should fail w/conversion operator not found in main()
Dliterals.pass.cpp22 static_assert ( std::is_same<decltype( 3h ), std::chrono::hours>::value, "" ); in main()
29 std::chrono::hours h = 4h; in main()
30 assert ( h == std::chrono::hours(4)); in main()
/external/ltp/testcases/kernel/io/disktest/
Dstats.c310 hread_time, time_struct.hours, in print_stats()
318 hwrite_time, time_struct.hours, in print_stats()
328 read_time, time_struct.hours, in print_stats()
336 write_time, time_struct.hours, in print_stats()
347 time_struct.hours, in print_stats()
356 time_struct.hours, in print_stats()
366 time_struct.days, time_struct.hours, in print_stats()
/external/python/cpython2/Demo/curses/
Dtclock.py106 hours = t[3] + t[4] / 60.0
107 if hours > 12.0:
108 hours -= 12.0
113 hangle = hours * 2 * pi / 12.0
/external/autotest/site_utils/rpm_control_system/
Drpm_logging_config.py30 def suspend_emails(self, hours): argument
36 self._suspend_time_hrs = int(hours, 0)
53 datetime.timedelta(hours=self._suspend_time_hrs)):
/external/autotest/client/site_tests/power_SuspendStress/
Dcontrol.4hours6 NAME = "power_SuspendStress.4hours"
15 Runs four hours of bare suspend/resume cycles without additional workload.
20 # In 4 hours of runs, we need to make sure the DUT can keep the autoserv SSH

123456789