Searched defs:hours (Results 1 - 25 of 29) sorted by relevance

12

/external/icu4c/i18n/
H A Dutmscale.c19 #define hours (minutes * 60) macro
20 #define days (hours * 24)
/external/v8/test/mjsunit/
H A Dto_number_order.js62 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, minute
[all...]
/external/dropbear/
H A Dprogressmeter.c118 int hours, minutes, seconds; local
197 hours = seconds / 3600;
198 seconds -= hours * 3600;
202 if (hours != 0)
204 "%d:%02d:%02d", hours, minutes, seconds);
/external/openssh/
H A Dprogressmeter.c128 int hours, minutes, seconds; local
207 hours = seconds / 3600;
208 seconds -= hours * 3600;
212 if (hours != 0)
214 "%d:%02d:%02d", hours, minutes, seconds);
/external/chromium/base/
H A Dtime.h59 static TimeDelta FromHours(int64 hours);
423 inline TimeDelta TimeDelta::FromHours(int64 hours) { argument
424 return TimeDelta(hours * Time::kMicrosecondsPerHour);
/external/iptables/extensions/
H A Dlibxt_time.c364 static inline void divide_time(unsigned int fulltime, unsigned int *hours, argument
370 *hours = fulltime / 60;
/external/valgrind/main/coregrind/
H A Dm_libcprint.c328 UInt t, ms, s, mins, hours, days; local
339 t /= 60; /* now in hours */
341 hours = t % 24;
346 VG_(sprintf)(buf, "%02u:%02u:%02u:%02u.%03u ", days, hours, mins, s, ms);
/external/quake/quake/src/WinQuake/
H A Dhost_cmd.cpp68 int hours = 0; local
101 hours = minutes / 60;
102 if (hours)
103 minutes -= (hours * 60);
106 hours = 0;
107 print ("#%-2u %-16.16s %3i %2i:%02i:%02i\n", j+1, client->name, (int)client->edict->u.v.frags, hours, minutes, seconds);
/external/webkit/Source/WebCore/platform/gtk/
H A DLocalizedStringsGtk.cpp537 int hours = seconds / (60 * 60); local
542 GOwnPtr<gchar> string(g_strdup_printf("%d days %d hours %d minutes %d seconds", days, hours, minutes, seconds));
546 if (hours) {
547 GOwnPtr<gchar> string(g_strdup_printf("%d hours %d minutes %d seconds", hours, minutes, seconds));
/external/webkit/Source/WebCore/rendering/
H A DRenderTheme.cpp494 int hours = seconds / (60 * 60); local
497 if (hours) {
498 if (hours > 9)
499 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
501 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
H A DFullscreenVideoController.cpp489 int hours = seconds / (60 * 60); local
493 if (hours) {
494 if (hours > 9)
495 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
496 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
/external/webkit/Source/JavaScriptCore/runtime/
H A DDatePrototype.cpp301 // hours
304 double hours = exec->argument(idx++).toIntegerPreserveNaN(exec); local
305 ok = isfinite(hours);
306 milliseconds += hours * msPerHour;
/external/webkit/Source/JavaScriptCore/wtf/
H A DDateMath.cpp607 long hours; local
610 if (!parseLong(currentPosition, &postParsePosition, 10, &hours))
639 // We check the next character to avoid reading +/- timezone hours after an invalid decimal.
661 if (hours < 0 || hours > 24)
663 if (hours == 24 && (minutes || seconds))
720 double dateSeconds = ymdhmsToSeconds(year, month, day, hours, minutes, seconds) - timeZoneSeconds;
/external/webkit/Source/WebCore/platform/
H A DDefaultLocalizationStrategy.cpp850 int hours = seconds / (60 * 60); local
855 return formatLocalizedString(WEB_UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day"), days, hours, minutes, seconds);
856 if (hours)
857 return formatLocalizedString(WEB_UI_STRING("%1$d hours %2$d minutes %3$d seconds", "accessibility help text for media controller time value >= 60 minutes"), hours, minutes, seconds);
/external/webkit/Source/WebKit/qt/WebCoreSupport/
H A DWebPlatformStrategies.cpp659 int hours = seconds / (60 * 60); local
664 return QCoreApplication::translate("QWebPage", "%1 days %2 hours %3 minutes %4 seconds", "Media time description").arg(days).arg(hours).arg(minutes).arg(seconds);
666 if (hours)
667 return QCoreApplication::translate("QWebPage", "%1 hours %2 minutes %3 seconds", "Media time description").arg(hours).arg(minutes).arg(seconds);
/external/webkit/Source/WebKit/win/
H A DFullscreenVideoController.cpp469 int hours = seconds / (60 * 60); local
473 if (hours) {
474 if (hours > 9)
475 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
476 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
/external/webkit/Source/WebKit/wince/WebCoreSupport/
H A DPlatformStrategiesWinCE.cpp618 int hours = seconds / (60 * 60); local
623 return String::format(UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day"), days, hours, minutes, seconds);
625 if (hours)
626 return String::format(UI_STRING("%1$d hours %2$d minutes %3$d seconds", "accessibility help text for media controller time value >= 60 minutes"), hours, minutes, seconds);
/external/chromium/third_party/libjingle/source/talk/base/
H A Dhttpcommon.cc390 int hours = (zone[1] - '0') * 10 + (zone[2] - '0'); local
392 int offset = (hours * 60 + minutes) * 60;
/external/icu4c/test/intltest/
H A Ddtfmttst.cpp105 int32_t offset, hours, minutes, seconds; local
151 hours = offset/3600000;
154 UnicodeString dstOffset = (UnicodeString)"" + sign + (hours < 10 ? "0" : "") +
155 (int32_t)hours + ":" + (minutes < 10 ? "0" : "") + (int32_t)minutes;
/external/icu4c/tools/tzcode/
H A Dzic.c1082 warning(_("values over 24 hours not handled by pre-2007 versions of zic"));
1930 register int hours; local
1943 hours = offset;
1944 if (hours >= HOURSPERDAY) {
1948 (void) sprintf(end(result), "%d", hours); local
/external/kernel-headers/original/linux/
H A Dvideodev2.h547 __u8 hours; member in struct:v4l2_timecode
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/
H A Dperformanceui.jarMETA-INF/MANIFEST.MF .project about.html plugin.xml build.properties images/FAIL ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 726 milliseconds

12