Home
last modified time | relevance | path

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

12345678910

/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/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/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()
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()
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()
Dduration_cast.pass.cpp38 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); in main()
50 …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/toybox/toys/other/
Duptime.c31 unsigned int days, hours, minutes; in uptime_main() local
54 hours = info.uptime%24; in uptime_main()
64 hours, (hours!=1)?"s":"", in uptime_main()
71 if (hours) xprintf("%2d:%02d, ", hours, minutes); in uptime_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()
33 std::chrono::hours h1(3); in main()
34 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()
34 std::chrono::hours h1(3); in main()
35 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/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/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/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/libcxx/test/std/utilities/time/time.duration/time.duration.literals/
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()
Dliterals2.fail.cpp17 using std::chrono::hours; in main()
19 hours foo = 4h; // should fail w/conversion operator not found in main()
/external/sl4a/Common/src/com/googlecode/android_scripting/
DProcess.java182 int hours = (int) (ms % (1000 * 60 * 60 * 24)) / 3600000; in getUptime() local
186 buffer.append(String.format("%02d:%02d:", days, hours)); in getUptime()
187 } else if (hours != 0) { in getUptime()
188 buffer.append(String.format("%02d:", hours)); in getUptime()
/external/python/cpython3/Doc/includes/
Dtzinfo-examples.py4 HOUR = timedelta(hours=1)
112 def __init__(self, hours, reprname, stdname, dstname): argument
113 self.stdoffset = timedelta(hours=hours)
/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

12345678910