HomeSort by relevance Sort by last modified time
    Searched refs:hours (Results 26 - 50 of 616) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/
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));
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.alg/
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));
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.cast/
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));
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));
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));
  /packages/apps/DeskClock/src/com/android/deskclock/data/
TimerStringFormatter.java 32 * Format "7 hours 52 minutes 14 seconds remaining"
42 final int hours; local
47 // Wind back and fix the hours and minutes as needed.
53 hours = roundedHours;
56 hours = roundedHours;
61 hours = roundedHours;
67 hours = roundedHours;
72 final String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours,
73 hours);
78 final String remainingSuffix = context.getString((minutes > 1 || hours > 1 || seconds > 1
    [all...]
  /cts/libs/vogar-expect/src/vogar/util/
TimeUtilities.java 34 long hours = duration; local
37 if (hours != 0) {
38 result.append(hours);
85 long hours = duration % 24; local
94 if (result.length() > 1 || hours != 0) {
95 result.append(hours);
  /external/vogar/src/vogar/util/
TimeUtilities.java 34 long hours = duration; local
37 if (hours != 0) {
38 result.append(hours);
85 long hours = duration % 24; local
94 if (result.length() > 1 || hours != 0) {
95 result.append(hours);
  /libcore/ojluni/src/main/java/java/time/
ZoneOffset.java 94 * This is usually a fixed number of hours and minutes.
100 * For example, Paris is one hour ahead of Greenwich/UTC in winter and two hours
110 * The fields of hours, minutes and seconds make assumptions that are valid for the
205 final int hours, minutes, seconds; local
210 hours = parseNumber(offsetId, 1, false);
215 hours = parseNumber(offsetId, 1, false);
220 hours = parseNumber(offsetId, 1, false);
225 hours = parseNumber(offsetId, 1, false);
230 hours = parseNumber(offsetId, 1, false);
242 return ofHoursMinutesSeconds(-hours, -minutes, -seconds)
    [all...]
  /external/autotest/client/cros/video/
screenshot_file_namer.py 54 hours, remainder = divmod(time_delta_value.total_seconds(), 3600)
62 hours, minutes, seconds, milliseconds)
  /external/toybox/toys/other/
uptime.c 30 unsigned int days, hours, minutes; local
59 hours = info.uptime%24;
62 if (hours) xprintf("%2d:%02d, ", hours, minutes);
  /libcore/ojluni/src/main/java/sun/util/calendar/
CalendarDate.java 74 private int hours; field in class:CalendarDate
219 return hours;
222 public CalendarDate setHours(int hours) {
223 if (this.hours != hours) {
224 this.hours = hours;
232 hours += n;
319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) {
320 setHours(hours);
    [all...]
  /tools/loganalysis/src/com/android/loganalysis/util/
NumberFormattingUtil.java 31 * Convert days/hours/mins/secs/msecs into milliseconds.
33 public static long getMs(long days, long hours, long mins, long secs, long msecs) {
34 return (((24 * days + hours) * 60 + mins) * 60 + secs) * 1000 + msecs;
38 * Convert hours/mins/secs/msecs into milliseconds.
40 public static long getMs(long hours, long mins, long secs, long msecs) {
41 return getMs(0, hours, mins, secs, msecs);
75 * Converts milliseconds to days/hours/mins/secs
78 * @return the duration in days/hours/mins/secs
87 - TimeUnit.HOURS.toMillis(hrs));
89 - TimeUnit.HOURS.toMillis(hrs) - TimeUnit.MINUTES.toMillis(mins))
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
Duration.java 24 * | DAYS [ HOURS [ MINUTES [ SECONDS ] ] ]
25 * | HOURS [ MINUTES [ SECONDS ] ]
34 public int hours; field in class:Duration
52 hours = 0;
104 hours = n;
136 cal.add(Calendar.HOUR, sign*hours);
149 + (60*60*hours)
  /frameworks/base/core/java/android/text/format/
Formatter.java 209 int days = 0, hours = 0, minutes = 0; local
215 hours = (int)(secondsLong / SECONDS_PER_HOUR);
216 secondsLong -= hours * SECONDS_PER_HOUR;
225 days += (hours+12)/24;
228 if (hours == 1) {
229 return context.getString(com.android.internal.R.string.durationDayHour, days, hours);
231 return context.getString(com.android.internal.R.string.durationDayHours, days, hours);
232 } else if (hours >= 2) {
233 hours += (minutes+30)/60;
234 return context.getString(com.android.internal.R.string.durationHours, hours);
    [all...]
  /external/libcxx/test/std/utilities/time/time.duration/time.duration.literals/
literals1.pass.cpp 19 hours h = 4h;
20 assert ( h == hours(4));
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.literals/
literals1.pass.cpp 18 hours h = 4h;
19 assert ( h == hours(4));
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.literals/
literals1.pass.cpp 18 hours h = 4h;
19 assert ( h == hours(4));
  /external/libcxx/test/std/utilities/time/
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/
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> ();
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> ();
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> ();
  /frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
PlaybackSeekDataProviderSample.java 64 long hours = minutes / 60; local
66 minutes -= hours * 60;
69 if (hours > 0) {
70 b.append(hours).append(':');
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/
hours.pass.cpp 12 // typedef duration<signed integral type of at least 23 bits, ratio<3600>> hours;
20 typedef std::chrono::hours D;
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/
hours.pass.cpp 12 // typedef duration<signed integral type of at least 23 bits, ratio<3600>> hours;
20 typedef std::chrono::hours D;

Completed in 2012 milliseconds

12 3 4 5 6 7 8 91011>>