/external/chromium_org/ash/system/chromeos/power/ |
H A D | power_status_unittest.cc | 107 int hours = 0, minutes = 0; local 109 base::TimeDelta::FromSeconds(0), &hours, &minutes); 110 EXPECT_EQ(0, hours); 114 base::TimeDelta::FromSeconds(60), &hours, &minutes); 115 EXPECT_EQ(0, hours); 119 base::TimeDelta::FromSeconds(3600), &hours, &minutes); 120 EXPECT_EQ(1, hours); 124 base::TimeDelta::FromSeconds(3600 + 60), &hours, &minutes); 125 EXPECT_EQ(1, hours); 129 base::TimeDelta::FromSeconds(7 * 3600 + 23 * 60), &hours, [all...] |
H A D | power_status.cc | 110 int* hours, 112 DCHECK(hours); 114 *hours = time.InHours(); 115 *minutes = (time - base::TimeDelta::FromHours(*hours)).InMinutes(); 109 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/icu4c/i18n/ |
H A D | utmscale.c | 19 #define hours (minutes * 60) macro 20 #define days (hours * 24)
|
/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/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/media/video/capture/ |
H A D | fake_video_capture_device.cc | 190 int hours = (elapsed_ms / 1000 / 60 / 60) % 60; local 193 base::StringPrintf("%d:%02d:%02d:%03d %d", hours, minutes,
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | MediaFragmentURIParser.cpp | 238 enum Mode { minutes, hours }; enumerator in enum:WebCore::Mode 246 // fractional part to indicate miliseconds, or as colon-separated hours, 248 // seconds must be specified as exactly two digits, hours and fractional 249 // seconds can be any number of digits. The hours, minutes and seconds 283 mode = hours; 295 // Detect whether this timestamp includes hours. 297 if (mode == hours || (offset < length && timeString[offset] == ':')) {
|
/external/dropbear/ |
H A D | progressmeter.c | 118 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 D | progressmeter.c | 128 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 D | time.h | 59 static TimeDelta FromHours(int64 hours); 423 inline TimeDelta TimeDelta::FromHours(int64 hours) { argument 424 return TimeDelta(hours * Time::kMicrosecondsPerHour);
|
/external/chromium_org/ash/system/session_length_limit/ |
H A D | tray_session_length_limit.cc | 230 // If the remaining session time is 100 hours or more, show 99:59:59 instead. 231 seconds = std::min(seconds, 100 * 60 * 60 - 1); // 100 hours - 1 second. 234 const int hours = minutes / 60; local 237 const base::string16 hours_str = IntToTwoDigitString(hours);
|
/external/chromium_org/base/time/ |
H A D | time.h | 65 static TimeDelta FromHours(int64 hours); 497 inline TimeDelta TimeDelta::FromHours(int64 hours) { argument 498 return TimeDelta(hours * Time::kMicrosecondsPerHour);
|
/external/chromium_org/chromeos/network/ |
H A D | sms_watcher.cc | 43 int hours = decode_bcd(&sms_timestamp[13]); local 45 hours = -hours; 46 sms->timestamp -= base::TimeDelta::FromHours(hours);
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/ |
H A D | WebVTTParser.cpp | 401 enum Mode { minutes, hours }; enumerator in enum:WebCore::Mode 410 // 7 - If not 2 characters or value is greater than 59, interpret as hours. 412 mode = hours; 424 // 13 - Detect whether this timestamp includes hours. 426 if (mode == hours || (*position < line.length() && line[*position] == ':')) {
|
/external/iptables/extensions/ |
H A D | libxt_time.c | 364 static inline void divide_time(unsigned int fulltime, unsigned int *hours, argument 370 *hours = fulltime / 60;
|
/external/valgrind/main/coregrind/ |
H A D | m_libcprint.c | 328 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/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderMediaControlsChromium.cpp | 425 int hours = seconds / (60 * 60); local 434 if (durationHours || hours) 435 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
|
H A D | RenderTheme.cpp | 511 int hours = seconds / (60 * 60); local 514 if (hours) { 515 if (hours > 9) 516 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds); 518 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 | 595 static char* parseES5TimePortion(char* currentPosition, long& hours, long& minutes, double& seconds, long& timeZoneSeconds) argument 600 if (!parseLong(currentPosition, &postParsePosition, 10, &hours)) 631 // We check the next character to avoid reading +/- timezone hours after an invalid decimal. 703 long hours = 0; local 715 currentPosition = parseES5TimePortion(currentPosition + 1, hours, minutes, seconds, timeZoneSeconds); 731 if (hours < 0 || hours > 24) 733 if (hours == 24 && (minutes || seconds)) 744 double dateSeconds = ymdhmsToSeconds(year, month, day, hours, minutes, seconds) - timeZoneSeconds; 1060 String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigne argument [all...] |
/external/llvm/unittests/Support/ |
H A D | YAMLIOTest.cpp | 652 : hours(0), minutes(0), seconds(0) { 655 : hours(secs/3600), 656 minutes((secs - (hours*3600))/60), 660 return TotalSeconds(hours*3600 + minutes*60 + seconds); 663 uint32_t hours; member in class:llvm::yaml::MappingTraits::NormalizedSeconds 671 io.mapOptional("hours", keys->hours, (uint32_t)0); 685 Input yin("---\n - hours: 1\n seconds: 5\n - seconds: 59\n...\n");
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | httpcommon.cc | 390 int hours = (zone[1] - '0') * 10 + (zone[2] - '0'); local 392 int offset = (hours * 60 + minutes) * 60;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | httpcommon.cc | 390 int hours = (zone[1] - '0') * 10 + (zone[2] - '0'); local 392 int offset = (hours * 60 + minutes) * 60;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | dtfmttst.cpp | 103 int32_t offset, hours, minutes, seconds; local 142 hours = offset/3600000; 145 UnicodeString dstOffset = (UnicodeString)"" + sign + (hours < 10 ? "0" : "") + 146 (int32_t)hours + ":" + (minutes < 10 ? "0" : "") + (int32_t)minutes;
|