/external/libcxx/test/std/utilities/time/time.duration/time.duration.literals/ |
H A D | literals2.fail.cpp | 17 using std::chrono::hours; 19 hours foo = 4h; // should fail w/conversion operator not found
|
H A D | literals1.fail.cpp | 17 std::chrono::hours h = 4h; // should fail w/conversion operator not found
|
H A D | literals1.pass.cpp | 19 hours h = 4h; 20 assert ( h == hours(4));
|
H A D | literals.pass.cpp | 22 static_assert ( std::is_same<decltype( 3h ), std::chrono::hours>::value, "" ); 29 std::chrono::hours h = 4h; 30 assert ( h == std::chrono::hours(4));
|
H A D | literals2.pass.cpp | 21 std::chrono::hours h = 4h; 22 assert ( h == std::chrono::hours(4));
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
H A D | op_++int.pass.cpp | 24 std::chrono::hours h1(3); 25 std::chrono::hours h2 = h1++; 33 std::chrono::hours h1(3); 34 std::chrono::hours h2 = h1++;
|
H A D | op_--int.pass.cpp | 24 std::chrono::hours h1(3); 25 std::chrono::hours h2 = h1--; 34 std::chrono::hours h1(3); 35 std::chrono::hours h2 = h1--;
|
H A D | op_++.pass.cpp | 24 std::chrono::hours h(3); 32 std::chrono::hours h(3); 33 std::chrono::hours& href = ++h;
|
H A D | op_--.pass.cpp | 24 std::chrono::hours h(3); 32 std::chrono::hours h(3); 33 std::chrono::hours& href = --h;
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.alg/ |
H A D | abs.pass.cpp | 36 // 7290000ms is 2 hours, 1 minute, and 30 seconds 41 test(std::chrono::hours(0), std::chrono::hours(0)); 44 // 9000000ms is 2 hours and 30 minutes 45 constexpr std::chrono::hours h1 = std::chrono::abs(std::chrono::hours(-3)); 47 constexpr std::chrono::hours h2 = std::chrono::abs(std::chrono::hours(3));
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
H A D | ceil.pass.cpp | 38 // 7290000ms is 2 hours, 1 minute, and 30 seconds 39 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); 40 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 45 // 9000000ms is 2 hours and 30 minutes 46 constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(9000000)); 48 constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|
H A D | floor.pass.cpp | 37 // 7290000ms is 2 hours, 1 minute, and 30 seconds 38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); 44 // 9000000ms is 2 hours and 30 minutes 45 constexpr std::chrono::hours h1 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds(9000000)); 47 constexpr std::chrono::hours h2 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|
H A D | round.pass.cpp | 37 // 7290000ms is 2 hours, 1 minute, and 30 seconds 38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 44 // 9000000ms is 2 hours and 30 minutes 45 constexpr std::chrono::hours h1 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(9000000)); 47 constexpr std::chrono::hours h2 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|
H A D | duration_cast.pass.cpp | 38 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); 50 constexpr std::chrono::hours h = std::chrono::duration_cast<std::chrono::hours>(std::chrono::milliseconds(7265000));
|
/external/toybox/toys/other/ |
H A D | uptime.c | 31 unsigned int days, hours, minutes; local 54 hours = info.uptime%24; 64 hours, (hours!=1)?"s":"", 71 if (hours) xprintf("%2d:%02d, ", hours, minutes);
|
/external/vogar/src/vogar/util/ |
H A D | TimeUtilities.java | 34 long hours = duration; 37 if (hours != 0) { 38 result.append(hours); 85 long hours = duration % 24; 94 if (result.length() > 1 || hours != 0) { 95 result.append(hours);
|
/external/autotest/client/cros/video/ |
H A D | screenshot_file_namer.py | 54 hours, remainder = divmod(time_delta_value.total_seconds(), 3600) 62 hours, minutes, seconds, milliseconds)
|
/external/libcxx/test/std/utilities/time/ |
H A D | hours.pass.cpp | 12 // typedef duration<signed integral type of at least 23 bits, ratio<3600>> hours; 20 typedef std::chrono::hours D;
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
H A D | ceil.pass.cpp | 55 // 7290000ms is 2 hours, 1 minute, and 30 seconds 56 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); 57 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 61 // 9000000ms is 2 hours and 30 minutes 62 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 3> (); 63 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> ();
|
H A D | floor.pass.cpp | 54 // 7290000ms is 2 hours, 1 minute, and 30 seconds 55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); 60 // 9000000ms is 2 hours and 30 minutes 61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); 62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -3> ();
|
H A D | round.pass.cpp | 54 // 7290000ms is 2 hours, 1 minute, and 30 seconds 55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 60 // 9000000ms is 2 hours and 30 minutes 61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); 62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> ();
|
/external/ltp/testcases/kernel/io/disktest/ |
H A D | sfunc.h | 115 time_t hours; member in struct:fmt_time
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
H A D | SrtParser.java | 51 long hours = Long.parseLong(in.split(":")[0].trim()); 56 return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies;
|
/external/python/cpython2/Lib/sqlite3/ |
H A D | dbapi2.py | 71 hours, minutes, seconds = map(int, timepart_full[0].split(":")) 77 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/ |
H A D | DurationPicker.java | 27 * A view for selecting the a duration using days, hours, minutes, and seconds. 217 double hours = minutes / 60; 219 double days = hours / 24; 220 hours = hours % 24; 223 setCurrentHour((int) hours);
|