/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DOMTimeStamp.h | 38 inline DOMTimeStamp convertSecondsToDOMTimeStamp(double seconds) 40 return static_cast<DOMTimeStamp>(seconds * 1000.0);
|
/external/smack/src/org/jivesoftware/smackx/muc/ |
DiscussionHistory.java | 38 * <li>seconds -> only the messages received in the last "X" seconds will be included in the 52 private int seconds = -1; field in class:DiscussionHistory 74 * Returns the number of seconds to use to filter the messages received during that time. 75 * In other words, only the messages received in the last "X" seconds will be included in 78 * @return the number of seconds to use to filter the messages received during that time. 81 return seconds; 114 * Sets the number of seconds to use to filter the messages received during that time. 115 * In other words, only the messages received in the last "X" seconds will be included in 118 * @param seconds the number of seconds to use to filter the messages received during [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
clock_unittest.cc | 19 uint32_t seconds; local 21 clock->CurrentNtp(seconds, fractions); 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 5);
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
sleep.c | 44 __sleep(unsigned int seconds) 50 * Avoid overflow when `seconds' is huge. This assumes that 53 if (seconds > INT_MAX) 54 return (seconds - INT_MAX + __sleep(INT_MAX)); 56 time_to_sleep.tv_sec = seconds; 61 return (seconds); /* best guess */
|
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/development/samples/wearable/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HeaderParser.java | 54 long seconds = Long.parseLong(value); local 55 if (seconds > Integer.MAX_VALUE) { 57 } else if (seconds < 0) { 60 return (int) seconds;
|
/external/smack/src/org/jivesoftware/smack/ |
ConnectionListener.java | 50 * The connection will retry to reconnect in the specified number of seconds. 52 * @param seconds remaining seconds before attempting a reconnection. 54 public void reconnectingIn(int seconds);
|
AbstractConnectionListener.java | 34 public void reconnectingIn(int seconds) {
|
/frameworks/av/media/mtp/ |
MtpUtils.h | 25 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
|
/external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
op_+=.pass.cpp | 21 std::chrono::seconds s(3); 22 s += std::chrono::seconds(2);
|
op_-=.pass.cpp | 21 std::chrono::seconds s(3); 22 s -= std::chrono::seconds(2);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
op_+=.pass.cpp | 21 std::chrono::seconds s(3); 22 s += std::chrono::seconds(2);
|
op_+EQ.pass.cpp | 21 std::chrono::seconds s(3); 22 s += std::chrono::seconds(2);
|
op_-=.pass.cpp | 21 std::chrono::seconds s(3); 22 s -= std::chrono::seconds(2);
|
op_-EQ.pass.cpp | 21 std::chrono::seconds s(3); 22 s -= std::chrono::seconds(2);
|
/external/llvm/include/llvm/Support/ |
Watchdog.h | 28 Watchdog(unsigned int seconds);
|
/libcore/luni/src/main/java/javax/net/ssl/ |
SSLSessionContext.java | 56 * @return the timeout in seconds, or {@code zero} if unlimited. 75 * @param seconds 76 * the timeout in seconds, or {@code zero} if unlimited. 78 * if {@code seconds} is negative. 80 public void setSessionTimeout(int seconds) throws IllegalArgumentException;
|
/external/replicaisland/src/com/replica/replicaisland/ |
VibrationSystem.java | 34 public void vibrate(float seconds) { 39 vibrator.vibrate((int)(seconds * 1000));
|
/external/chromium_org/net/quic/ |
quic_time.cc | 29 QuicTime::Delta QuicTime::Delta::FromSeconds(int64 seconds) { 30 return QuicTime::Delta(base::TimeDelta::FromSeconds(seconds)); 122 QuicWallTime QuicWallTime::FromUNIXSeconds(uint64 seconds) { 123 return QuicWallTime(seconds); 163 uint64 seconds = seconds_ + delta.ToSeconds(); local 164 if (seconds < seconds_) { 165 seconds = kuint64max; 167 return QuicWallTime(seconds); 171 uint64 seconds = seconds_ - delta.ToSeconds(); local 172 if (seconds > seconds_) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
Stopwatches.java | 124 long hundreds, seconds, minutes, hours; local 125 seconds = time / 1000; 126 hundreds = (time - seconds * 1000) / 10; 127 minutes = seconds / 60; 128 seconds = seconds - minutes * 60; 143 seconds, hundreds, decimalSeparator, lap); 154 long hundreds, seconds, minutes, hours; local 155 seconds = time / 1000; 156 hundreds = (time - seconds * 1000) / 10 [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/interface/ |
clock.h | 22 // January 1970, in NTP seconds. 41 // Retrieve an NTP absolute timestamp in seconds and fractions of a second. 42 virtual void CurrentNtp(uint32_t& seconds, uint32_t& fractions) const = 0; 48 static int64_t NtpToMs(uint32_t seconds, uint32_t fractions); 69 virtual void CurrentNtp(uint32_t& seconds,
|
/frameworks/support/v4/java/android/support/v4/util/ |
TimeUtils.java | 101 int seconds = (int) Math.floor(duration / 1000); local 104 if (seconds > SECONDS_PER_DAY) { 105 days = seconds / SECONDS_PER_DAY; 106 seconds -= days * SECONDS_PER_DAY; 108 if (seconds > SECONDS_PER_HOUR) { 109 hours = seconds / SECONDS_PER_HOUR; 110 seconds -= hours * SECONDS_PER_HOUR; 112 if (seconds > SECONDS_PER_MINUTE) { 113 minutes = seconds / SECONDS_PER_MINUTE; 114 seconds -= minutes * SECONDS_PER_MINUTE [all...] |
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_recent.h | 40 __u32 seconds; member in struct:xt_recent_mtinfo 50 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|
/development/ndk/platforms/android-L/include/linux/netfilter/ |
xt_recent.h | 40 __u32 seconds; member in struct:xt_recent_mtinfo 50 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|