/external/toybox/toys/other/ |
uptime.c | 28 unsigned int days, hours, minutes; local 48 hours = info.uptime%24; 51 if (hours) xprintf("%2d:%02d, ", hours, minutes);
|
/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);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 34 long hours = TimeUnit.MILLISECONDS.toHours(elapsedTimeMs); local 36 if (hours > 0) { 37 time.append(hours);
|
/external/icu/icu4c/source/i18n/ |
utmscale.c | 19 #define hours (minutes * 60) macro 20 #define days (hours * 24)
|
/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);
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
InCallDateUtils.java | 15 * "3 hours 1 second". Returns the hours, minutes and seconds in that order if they exist. 18 int hours = 0; local 23 hours = elapsedSeconds / 3600; 24 elapsedSeconds -= hours * 3600; 35 if (hours > 0) { 36 duration.append(res.getQuantityString(R.plurals.duration_hours, hours, hours)); 39 if (hours > 0) { 45 if (hours > 0 || minutes > 0) [all...] |
/bionic/libc/dns/nameser/ |
ns_ttl.c | 52 int secs, mins, hours, days, weeks, x; local 57 hours = (int)(src % 24); src /= 24; 70 if (hours) { 71 T(fmt1(hours, 'H', &dst, &dstlen)); 78 if (secs || !(weeks || days || hours || mins)) {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 51 long hours = Long.parseLong(in.split(":")[0].trim()); local 56 return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies;
|
/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; 101 hours = n; 133 cal.add(Calendar.HOUR, sign*hours); 146 + (60*60*hours)
|
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 58 long hours = minutes / 60; local 59 minutes = minutes - hours * 60; 60 if (hours > 999) { 61 hours = 0; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 66 if (hours == 0 && minutes == 0 && seconds == 0) { 78 hours++; 83 // Hours may be empty 84 if (hours >= 10) [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 58 long hours = minutes / 60; local 59 minutes = minutes - hours * 60; 60 if (hours > 999) { 61 hours = 0; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 66 if (hours == 0 && minutes == 0 && seconds == 0) { 78 hours++; 83 // Hours may be empty 84 if (hours >= 10) [all...] |
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 58 long hours = minutes / 60; local 59 minutes = minutes - hours * 60; 60 if (hours > 999) { 61 hours = 0; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 66 if (hours == 0 && minutes == 0 && seconds == 0) { 78 hours++; 83 // Hours may be empty 84 if (hours >= 10) [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
GenerateCTimeScaleData.java | 40 private static final long hours = minutes * 60; field in class:GenerateCTimeScaleData 41 private static final long days = hours * 24; 86 } else if (units == hours) { 87 cargs[0] = "hours";
|
EpochOffsets.java | 41 private static final long hours = minutes * 60; field in class:EpochOffsets 42 private static final long days = hours * 24;
|
/external/toybox/toys/pending/ |
last.c | 74 unsigned days, hours, mins; local 82 hours = (mins = (mins%(24*60)))/60; 84 sprintf(toybuf+28, "(%u+%02u:%02u)", days, hours, mins); // Duration.
|
/external/v8/test/mjsunit/ |
to_number_order.js | 62 var hours = { valueOf: function() { x += 4; return 13; } }; 68 new Date(year, month, date, hours, minutes, seconds, ms); 73 Date(year, month, date, hours, minutes, seconds, ms); 77 Date.UTC(year, month, date, hours, minutes, seconds, ms); 102 new Date().setHours(hours, minutes, seconds, ms); 106 new Date().setUTCHours(hours, minutes, seconds, ms); 110 new Date().setDate(date, hours, minutes, seconds, ms); 114 new Date().setUTCDate(date, hours, minutes, seconds, ms); 118 new Date().setMonth(month, date, hours, minutes, seconds, ms); 122 new Date().setUTCMonth(month, date, hours, minutes, seconds, ms) [all...] |
/external/v8/test/webkit/ |
date-constructor.js | 80 var hours = { valueOf: function() { testStr += 4; return 13; } }; 86 new Date(year, month, date, hours, minutes, seconds, ms); 90 Date.UTC(year, month, date, hours, minutes, seconds, ms);
|
/hardware/bsp/intel/peripheral/libupm/src/ds1307/ |
ds1307.h | 63 * about seconds, minutes, hours, day of the week, day of the month, 160 * Holds hours; 1-12 in the am/pm format, 0-23 otherwise 162 unsigned int hours; member in class:upm::DS1307
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmUtils.java | 54 * format "Alarm set for 2 days, 7 hours, and 53 minutes from now." 70 int hours = (int) delta / (1000 * 60 * 60); local 72 final int days = hours / 24; 73 hours = hours % 24; 77 String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours, hours); 80 final boolean showHours = hours > 0;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1GeneralizedTime.java | 224 int hours = offset / (60 * 60 * 1000); local 225 int minutes = (offset - (hours * 60 * 60 * 1000)) / (60 * 1000); 231 hours += sign.equals("+") ? 1 : -1; 239 return "GMT" + sign + convert(hours) + ":" + convert(minutes);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
DateTimeRule.java | 268 int hours = time / 60; local 276 buf.append(hours);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
DateTimeRule.java | 303 int hours = time / 60; local 311 buf.append(hours);
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfTimeCode.cpp | 56 (int hours, 75 setHours (hours); 162 TimeCode::hours () const function in class:Imf::TimeCode 172 throw Iex::ArgExc ("Cannot set hours field in time code. "
|
/external/opencv3/apps/traincascade/ |
cascadeclassifier.cpp | 271 int hours = (int(seconds) / 60 / 60) % 24; local 274 cout << "Training until now has taken " << days << " days " << hours << " hours " << minutes << " minutes " << seconds_left <<" seconds." << endl;
|
/frameworks/base/core/java/android/text/format/ |
Formatter.java | 204 int days = 0, hours = 0, minutes = 0; local 210 hours = (int)(secondsLong / SECONDS_PER_HOUR); 211 secondsLong -= hours * SECONDS_PER_HOUR; 220 days += (hours+12)/24; 223 if (hours == 1) { 224 return context.getString(com.android.internal.R.string.durationDayHour, days, hours); 226 return context.getString(com.android.internal.R.string.durationDayHours, days, hours); 227 } else if (hours >= 2) { 228 hours += (minutes+30)/60; 229 return context.getString(com.android.internal.R.string.durationHours, hours); [all...] |