Searched defs:minutes (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/ash/system/chromeos/power/
H A Dpower_status_unittest.cc107 int hours = 0, minutes = 0; local
109 base::TimeDelta::FromSeconds(0), &hours, &minutes);
111 EXPECT_EQ(0, minutes);
114 base::TimeDelta::FromSeconds(60), &hours, &minutes);
116 EXPECT_EQ(1, minutes);
119 base::TimeDelta::FromSeconds(3600), &hours, &minutes);
121 EXPECT_EQ(0, minutes);
124 base::TimeDelta::FromSeconds(3600 + 60), &hours, &minutes);
126 EXPECT_EQ(1, minutes);
129 base::TimeDelta::FromSeconds(7 * 3600 + 23 * 60), &hours, &minutes);
[all...]
H A Dpower_status.cc111 int* minutes) {
113 DCHECK(minutes);
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 Dutmscale.c18 #define minutes (seconds * 60) macro
19 #define hours (minutes * 60)
/external/icu4c/i18n/
H A Dutmscale.c18 #define minutes (seconds * 60) macro
19 #define hours (minutes * 60)
/external/chromium_org/v8/test/mjsunit/
H A Dto_number_order.js63 var minutes = { valueOf: function() { x += 5; return 50; } };
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);
94 new Date().setMinutes(minutes, seconds, ms);
98 new Date().setUTCMinutes(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, second
[all...]
/external/chromium_org/v8/test/webkit/
H A Ddate-constructor.js81 var minutes = { valueOf: function() { testStr += 5; return 50; } };
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 Dto_number_order.js63 var minutes = { valueOf: function() { x += 5; return 50; } };
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);
94 new Date().setMinutes(minutes, seconds, ms);
98 new Date().setUTCMinutes(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, second
[all...]
/external/chromium_org/media/video/capture/
H A Dfake_video_capture_device.cc189 int minutes = (elapsed_ms / 1000 / 60) % 60; local
193 base::StringPrintf("%d:%02d:%02d:%03d %d", hours, minutes,
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DMediaFragmentURIParser.cpp238 enum Mode { minutes, hours }; enumerator in enum:WebCore::Mode
239 Mode mode = minutes;
247 // minutes and seconds (again with an optional fraction). Minutes and
249 // seconds can be any number of digits. The hours, minutes and seconds
/external/chromium/chrome/browser/net/
H A Durl_info.cc67 // Common low end TTL for sites is 5 minutes. However, DNS servers give us
68 // the remaining time, not the original 5 minutes. Hence it doesn't much matter
70 // on average be 2.5 minutes before it expires. We could try to model this with
251 int minutes = seconds / 60; local
252 int print_minutes = minutes % 60;
253 int print_hours = minutes/60;
/external/dropbear/
H A Dprogressmeter.c118 int hours, minutes, seconds; local
199 minutes = seconds / 60;
200 seconds -= minutes * 60;
204 "%d:%02d:%02d", hours, minutes, seconds);
207 " %02d:%02d", minutes, seconds);
/external/openssh/
H A Dprogressmeter.c128 int hours, minutes, seconds; local
209 minutes = seconds / 60;
210 seconds -= minutes * 60;
214 "%d:%02d:%02d", hours, minutes, seconds);
217 " %02d:%02d", minutes, seconds);
/external/chromium/base/
H A Dtime.h60 static TimeDelta FromMinutes(int64 minutes);
428 inline TimeDelta TimeDelta::FromMinutes(int64 minutes) { argument
429 return TimeDelta(minutes * Time::kMicrosecondsPerMinute);
/external/chromium_org/ash/system/session_length_limit/
H A Dtray_session_length_limit.cc41 const int kExpiringSoonThresholdInSeconds = 5 * 60; // 5 minutes.
232 int minutes = seconds / 60; local
234 const int hours = minutes / 60;
235 minutes %= 60;
238 const base::string16 minutes_str = IntToTwoDigitString(minutes);
/external/chromium_org/base/time/
H A Dtime.h66 static TimeDelta FromMinutes(int64 minutes);
502 inline TimeDelta TimeDelta::FromMinutes(int64 minutes) { argument
503 return TimeDelta(minutes * Time::kMicrosecondsPerMinute);
/external/chromium_org/chrome/browser/net/
H A Durl_info.cc31 // Common low end TTL for sites is 5 minutes. However, DNS servers give us the
32 // remaining time, not the original 5 minutes. Hence it doesn't much matter
34 // average be 2.5 minutes before it expires. We could try to model this with
270 int minutes = seconds / 60; local
271 int print_minutes = minutes % 60;
272 int print_hours = minutes/60;
/external/chromium_org/third_party/WebKit/Source/core/html/track/
H A DWebVTTParser.cpp400 // 1-4 - Initial checks, let most significant units be minutes.
401 enum Mode { minutes, hours }; enumerator in enum:WebCore::Mode
402 Mode mode = minutes;
/external/iptables/extensions/
H A Dlibxt_time.c365 unsigned int *minutes, unsigned int *seconds)
369 *minutes = fulltime % 60;
364 divide_time(unsigned int fulltime, unsigned int *hours, unsigned int *minutes, unsigned int *seconds) argument
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderMediaControlsChromium.cpp426 int minutes = (seconds / 60) % 60; local
435 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
437 return String::format("%s%02d:%02d", (time < 0 ? "-" : ""), minutes, seconds);
439 return String::format("%s%01d:%02d", (time < 0 ? "-" : ""), minutes, seconds);
/external/chromium/chrome/browser/history/
H A Dtop_sites.cc750 int64 minutes = kMaxUpdateIntervalMinutes - local
752 return base::TimeDelta::FromMinutes(minutes);
/external/chromium_org/chrome/browser/history/
H A Dtop_sites_impl.cc711 int64 minutes = kMaxUpdateIntervalMinutes - local
713 return base::TimeDelta::FromMinutes(minutes);
H A Dtop_sites_likely_impl.cc715 int64 minutes = kMaxUpdateIntervalMinutes - local
717 return base::TimeDelta::FromMinutes(minutes);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDateMath.cpp595 static char* parseES5TimePortion(char* currentPosition, long& hours, long& minutes, double& seconds, long& timeZoneSeconds) argument
608 if (!parseLong(currentPosition, &postParsePosition, 10, &minutes))
704 long minutes = 0; local
715 currentPosition = parseES5TimePortion(currentPosition + 1, hours, minutes, seconds, timeZoneSeconds);
733 if (hours == 24 && (minutes || seconds))
735 if (minutes < 0 || minutes > 59)
744 double dateSeconds = ymdhmsToSeconds(year, month, day, hours, minutes, seconds) - timeZoneSeconds;
1060 String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset) argument
1074 stringBuilder.append(twoDigitStringFromNumber(minutes));
[all...]
/external/llvm/unittests/Support/
H A DYAMLIOTest.cpp652 : hours(0), minutes(0), seconds(0) {
656 minutes((secs - (hours*3600))/60),
660 return TotalSeconds(hours*3600 + minutes*60 + seconds);
664 uint8_t minutes; member in class:llvm::yaml::MappingTraits::NormalizedSeconds
672 io.mapOptional("minutes", keys->minutes, (uint8_t)0);
/external/chromium/third_party/libjingle/source/talk/base/
H A Dhttpcommon.cc391 int minutes = (zone[3] - '0') * 10 + (zone[4] - '0'); local
392 int offset = (hours * 60 + minutes) * 60;

Completed in 767 milliseconds

12