/external/lldb/test/pexpect-2.4/examples/ |
H A D | uptime.py | 41 hours = '0' variable 48 hours = str(int(p.match.group(1))) variable 55 print 'days, hours, minutes, users, cpu avg 1 min, cpu avg 5 min, cpu avg 15 min' 56 print '%s, %s, %s, %s, %s, %s, %s' % (days, hours, mins, users, av1, av5, av15)
|
/external/chromium_org/ash/system/chromeos/power/ |
H A D | power_status_unittest.cc | 101 int hours = 0, minutes = 0; local 103 base::TimeDelta::FromSeconds(0), &hours, &minutes); 104 EXPECT_EQ(0, hours); 108 base::TimeDelta::FromSeconds(60), &hours, &minutes); 109 EXPECT_EQ(0, hours); 113 base::TimeDelta::FromSeconds(3600), &hours, &minutes); 114 EXPECT_EQ(1, hours); 118 base::TimeDelta::FromSeconds(3600 + 60), &hours, &minutes); 119 EXPECT_EQ(1, hours); 123 base::TimeDelta::FromSeconds(7 * 3600 + 23 * 60), &hours, [all...] |
H A D | power_status.cc | 116 int* hours, 118 DCHECK(hours); 121 *hours = total_minutes / 60; 115 SplitTimeIntoHoursAndMinutes(const base::TimeDelta& time, int* hours, int* minutes) argument
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | utmscale.c | 19 #define hours (minutes * 60) macro 20 #define days (hours * 24)
|
/external/icu/icu4c/source/i18n/ |
H A D | utmscale.c | 19 #define hours (minutes * 60) macro 20 #define days (hours * 24)
|
/external/chromium_org/ui/base/l10n/ |
H A D | time_format.cc | 82 // Anything up to 23.5 hours (respectively 23:59:30.000 when |cutoff| 83 // permits two-value output) is formatted as hours (respectively hours and 86 const int hours = (delta + half_hour).InHours(); local 87 formatter->Format(Formatter::UNIT_HOUR, hours, time_string); 89 const int hours = (delta + half_minute).InHours(); local 92 hours, minutes, time_string); 96 // Anything bigger is formatted as days (respectively days and hours). 102 const int hours = (delta + half_hour).InHours() % 24; local 104 days, hours, time_strin [all...] |
/external/chromium_org/v8/test/mjsunit/ |
H A D | 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, minute [all...] |
/external/chromium_org/v8/test/webkit/ |
H A D | 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);
|
/external/chromium_org/media/video/capture/ |
H A D | fake_video_capture_device.cc | 140 int hours = (elapsed_ms / 1000 / 60 / 60) % 60; local 143 base::StringPrintf("%d:%02d:%02d:%03d %d", hours, minutes,
|
/external/chromium_org/base/time/ |
H A D | time.h | 65 static TimeDelta FromHours(int hours); 505 inline TimeDelta TimeDelta::FromHours(int hours) { argument 507 if (hours == std::numeric_limits<int>::max()) 509 return TimeDelta(hours * Time::kMicrosecondsPerHour);
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
H A D | data_reduction_proxy_metrics_unittest.cc | 153 void SetFakeTimeDeltaInHours(int hours) { argument 154 now_delta_ = base::TimeDelta::FromHours(hours); 157 void AddFakeTimeDeltaInHours(int hours) { argument 158 now_delta_ += base::TimeDelta::FromHours(hours); 541 // Forward 10 hours, stay in the same day. 555 // Forward 11 more hours, comes to tomorrow.
|
/external/iptables/extensions/ |
H A D | libxt_time.c | 370 static inline void divide_time(unsigned int fulltime, unsigned int *hours, argument 376 *hours = fulltime / 60;
|
/external/valgrind/main/coregrind/ |
H A D | m_libcprint.c | 350 UInt t, ms, s, mins, hours, days; local 361 t /= 60; /* now in hours */ 363 hours = t % 24; 368 VG_(sprintf)(buf, "%02u:%02u:%02u:%02u.%03u ", days, hours, mins, s, ms);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderMediaControls.cpp | 440 int hours = seconds / (60 * 60); local 449 if (durationHours || hours) 450 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
|
H A D | RenderTheme.cpp | 423 int hours = seconds / (60 * 60); local 426 if (hours) { 427 if (hours > 9) 428 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds); 430 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | DateMath.cpp | 804 String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset) argument 816 appendTwoDigitNumber(stringBuilder, hours);
|
/external/chromium_org/v8/src/base/platform/ |
H A D | time.cc | 34 TimeDelta TimeDelta::FromHours(int hours) { argument 35 return TimeDelta(hours * Time::kMicrosecondsPerHour);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | httpcommon.cc | 373 int hours = (zone[1] - '0') * 10 + (zone[2] - '0'); local 375 int offset = (hours * 60 + minutes) * 60;
|
/external/llvm/unittests/Support/ |
H A D | YAMLIOTest.cpp | 805 : hours(0), minutes(0), seconds(0) { 808 : hours(secs/3600), 809 minutes((secs - (hours*3600))/60), 813 return TotalSeconds(hours*3600 + minutes*60 + seconds); 816 uint32_t hours; member in class:llvm::yaml::MappingTraits::NormalizedSeconds 824 io.mapOptional("hours", keys->hours, (uint32_t)0); 838 Input yin("---\n - hours: 1\n seconds: 5\n - seconds: 59\n...\n");
|
/external/chromium_org/third_party/libvpx/source/libvpx/ |
H A D | vpxenc.c | 1929 int64_t hours; local 1934 hours = etl / 3600; 1935 etl -= hours * 3600; 1941 label, hours, mins, secs);
|
/external/libvpx/libvpx/ |
H A D | vpxenc.c | 1495 int64_t hours; local 1500 hours = etl / 3600; 1501 etl -= hours * 3600; 1507 label, hours, mins, secs);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | dtfmttst.cpp | 227 int32_t offset, hours, minutes, seconds; local 273 hours = offset/3600000; 276 UnicodeString dstOffset = (UnicodeString)"" + sign + (hours < 10 ? "0" : "") + 277 (int32_t)hours + ":" + (minutes < 10 ? "0" : "") + (int32_t)minutes;
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
H A D | zic.c | 1082 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/icu/icu4c/source/test/intltest/ |
H A D | dtfmttst.cpp | 229 int32_t offset, hours, minutes, seconds; local 275 hours = offset/3600000; 278 UnicodeString dstOffset = (UnicodeString)"" + sign + (hours < 10 ? "0" : "") + 279 (int32_t)hours + ":" + (minutes < 10 ? "0" : "") + (int32_t)minutes;
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | zic.c | 1082 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
|