Searched defs:seconds (Results 51 - 75 of 157) sorted by relevance

1234567

/external/chromium_org/ash/system/tray/
H A Dsystem_tray_bubble.cc304 void SystemTrayBubble::StartAutoCloseTimer(int seconds) { argument
306 autoclose_delay_ = seconds;
/external/chromium_org/base/time/
H A Dtime_posix.cc116 time_t seconds = 0; local
118 seconds = InSeconds();
119 microseconds -= seconds * Time::kMicrosecondsPerSecond;
122 {seconds,
162 // Combine seconds and microseconds in a 64-bit field containing microseconds
182 SysTime seconds; // Seconds since epoch. local
187 seconds = milliseconds / kMillisecondsPerSecond;
193 seconds = (milliseconds - kMillisecondsPerSecond + 1) /
202 SysTimeToTimeStruct(seconds, &timestruct, is_local);
233 SysTime seconds; local
[all...]
/external/chromium_org/cc/animation/
H A Dlayer_animation_controller_unittest.cc26 static base::TimeTicks TicksFromSecondsF(double seconds) { argument
27 return base::TimeTicks::FromInternalValue(seconds *
/external/chromium_org/chrome/browser/chromeos/system/
H A Dautomatic_reboot_manager.cc54 const int kLoginManagerIdleTimeoutMs = 60 * 1000; // 60 seconds.
71 double seconds; local
72 if (!base::StringToDouble(contents.substr(0, contents.find(' ')), &seconds) ||
73 seconds < 0.0) {
76 return base::TimeDelta::FromMilliseconds(seconds * 1000.0);
/external/chromium_org/components/data_reduction_proxy/common/
H A Ddata_reduction_proxy_headers.cc93 int64 seconds; local
96 &seconds) || seconds < 0) {
99 if (seconds != 0) {
100 *bypass_duration = TimeDelta::FromSeconds(seconds);
118 // <duration> is the number of seconds to wait before retrying
/external/chromium_org/content/browser/speech/endpointer/
H A Denergy_endpointer.cc32 int64 Secs2Usecs(float seconds) { argument
33 return static_cast<int64>(0.5 + (1.0e6 * seconds));
62 // the time in seconds specified by 'duration'. The returned interval is
63 // in seconds.
/external/chromium_org/content/renderer/media/
H A Dwebmediaplayer_ms.cc230 void WebMediaPlayerMS::seek(double seconds) { argument
/external/chromium_org/media/base/
H A Dmedia_log.cc153 scoped_ptr<MediaLogEvent> MediaLog::CreateSeekEvent(float seconds) { argument
155 event->params.SetDouble("seek_target", seconds);
H A Dstream_parser_buffer.h66 static DecodeTimestamp FromSecondsD(double seconds) { argument
67 return DecodeTimestamp(base::TimeDelta::FromSecondsD(seconds));
/external/chromium_org/media/midi/
H A Dmidi_manager_mac.cc245 MIDITimeStamp MidiManagerMac::SecondsToMIDITimeStamp(double seconds) { argument
246 UInt64 nanos = UInt64(seconds * 1.0e9);
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DCachingCorrectnessTest.cpp65 void advanceClock(double seconds) argument
67 m_proxyPlatform.advanceClock(seconds);
114 void advanceClock(double seconds) argument
116 m_elapsedSeconds += seconds;
/external/chromium_org/third_party/icu/source/test/threadtest/
H A Dthreadtest.cpp105 int seconds = millis/1000; local
106 if (seconds <= 0) seconds = 1;
107 ::sleep(seconds);
293 " -time nnn Total time to run, in seconds. Default is forever.\n"
294 " -ctime nnn Time between extra consistency checks, in seconds. Default 10\n"
432 // Each "ctime" seconds,
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dmalloc_hook_test.cc84 void Sleep(int seconds) { argument
86 _sleep(seconds * 1000); // Windows's _sleep takes milliseconds argument
88 sleep(seconds);
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dmalloc_hook_test.cc84 void Sleep(int seconds) { argument
86 _sleep(seconds * 1000); // Windows's _sleep takes milliseconds argument
88 sleep(seconds);
/external/chromium_org/third_party/webrtc/base/
H A Dmacsocketserver.cc180 CFTimeInterval seconds = cms / 1000.0; local
181 result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, seconds, false);
/external/chromium_org/ui/ozone/platform/dri/
H A Dhardware_display_controller.cc40 unsigned int seconds,
44 ->OnPageFlipEvent(frame, seconds, useconds);
181 unsigned int seconds,
187 static_cast<uint64_t>(seconds) * base::Time::kMicrosecondsPerSecond +
38 HandlePageFlipEvent(int fd, unsigned int frame, unsigned int seconds, unsigned int useconds, void* controller) argument
180 OnPageFlipEvent(unsigned int frame, unsigned int seconds, unsigned int useconds) argument
/external/icu/icu4c/source/test/threadtest/
H A Dthreadtest.cpp105 int seconds = millis/1000; local
106 if (seconds <= 0) seconds = 1;
107 ::sleep(seconds);
293 " -time nnn Total time to run, in seconds. Default is forever.\n"
294 " -ctime nnn Time between extra consistency checks, in seconds. Default 10\n"
432 // Each "ctime" seconds,
/external/javasqlite/src/main/java/SQLite/JDBC2z/
H A DJDBCStatement.java58 public void setQueryTimeout(int seconds) throws SQLException { argument
61 // seconds >= 0 is not satisfied"
65 } else if (seconds < 0) {
66 throw new SQLException("can't set a query timeout of less than 0 seconds");
67 } else if (seconds == 0) {
68 // An argument of 0 seconds should set an unlimited timeout. However, since this was not
72 conn.timeout = seconds * 1000;
78 return conn.timeout / 1000; // android-changed: should return seconds
/external/llvm/include/llvm/Support/
H A DTimeValue.h68 typedef int64_t SecondsType; ///< Type used for representing seconds.
87 /// Caller provides the exact value in seconds and nanoseconds. The
90 explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0) argument
91 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); }
93 /// Caller provides the exact value as a double in seconds with the
194 /// Returns only the seconds component of the TimeValue. The nanoseconds
196 /// @brief Retrieve the seconds component
197 SecondsType seconds() const { return seconds_; } function in class:llvm::sys::TimeValue
199 /// Returns only the nanoseconds component of the TimeValue. The seconds
238 /// Converts the TimeValue into the corresponding number of seconds
257 getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const argument
275 void seconds (SecondsType sec ) { function in class:llvm::sys::TimeValue
[all...]
/external/stressapptest/src/
H A Dsattypes.h160 // Convert microseconds argument to nano seconds.
166 inline bool sat_sleep(time_t seconds) { argument
168 req.tv_sec = seconds;
/external/chromium_org/chrome/browser/chromeos/login/screens/
H A Dupdate_screen.cc380 void UpdateScreen::SetRebootCheckDelay(int seconds) { argument
381 if (seconds <= 0)
384 reboot_check_delay_ = seconds;
/external/chromium_org/chrome/browser/net/
H A Durl_info.cc35 // 180 seconds, but simpler is just to do the lookups all the time (wasting OS
269 static std::string HoursMinutesSeconds(int seconds) { argument
271 int print_seconds = seconds % 60;
272 int minutes = seconds / 60;
/external/chromium_org/media/cast/
H A Dcast_defines.h94 // January 1970, in NTP seconds.
95 // Network Time Protocol (NTP), which is in seconds relative to 0h UTC on
100 // fractional NTP seconds.
134 // Create a NTP diff from seconds and fractions of seconds; delay_fraction is
149 uint32* seconds,
160 *seconds = static_cast<uint32>(seconds_component);
148 ConvertTimeToFractions(int64 ntp_time_us, uint32* seconds, uint32* fractions) argument
/external/chromium_org/net/base/
H A Dsdch_manager.cc563 int64 seconds; local
564 base::StringToInt64(value, &seconds);
565 expiration = base::Time::Now() + base::TimeDelta::FromSeconds(seconds);
/external/chromium_org/net/quic/crypto/
H A Dquic_crypto_server_config_test.cc174 void SelectNewPrimaryConfig(int seconds) { argument
177 QuicWallTime::FromUNIXSeconds(seconds));
377 // |primary_time| of that Config, given in epoch seconds. (Although note
378 // that, in these tests, time is set to 1000 seconds since the epoch.) For

Completed in 2817 milliseconds

1234567