HomeSort by relevance Sort by last modified time
    Searched refs:seconds (Results 1 - 25 of 446) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/WebCore/dom/
DOMTimeStamp.h 38 inline DOMTimeStamp convertSecondsToDOMTimeStamp(double seconds)
40 return static_cast<DOMTimeStamp>(seconds * 1000.0);
  /bionic/libc/bionic/
sleep.c 31 unsigned int sleep(unsigned int seconds)
35 /* seconds is unsigned, while t.tv_sec is signed
37 * support for it by only sleeping 2 billion seconds
39 if ((int)seconds < 0)
40 seconds = 0x7fffffff;
42 t.tv_sec = seconds;
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
Utils.java 35 * @param millis the elapsed time in milli seconds
40 int seconds = (int) Math.floor(millis / 1000); local
43 if (seconds > SECONDS_PER_DAY) {
44 days = seconds / SECONDS_PER_DAY;
45 seconds -= days * SECONDS_PER_DAY;
47 if (seconds > SECONDS_PER_HOUR) {
48 hours = seconds / SECONDS_PER_HOUR;
49 seconds -= hours * SECONDS_PER_HOUR;
51 if (seconds > SECONDS_PER_MINUTE) {
52 minutes = seconds / SECONDS_PER_MINUTE
    [all...]
  /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...]
  /system/core/toolbox/
sleep.c 39 fprintf(stderr, "USAGE: %s SECONDS\n", s);
45 unsigned long seconds; local
52 seconds = strtoul(argv[1], &endptr, 10);
59 sleep((unsigned 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);
  /ndk/sources/cxx-stl/llvm-libc++/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);
  /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/kernel-headers/original/linux/
delay.h 42 static inline void ssleep(unsigned int seconds)
44 msleep(seconds * 1000);
  /external/replicaisland/src/com/replica/replicaisland/
VibrationSystem.java 34 public void vibrate(float seconds) {
39 vibrator.vibrate((int)(seconds * 1000));
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
Stopwatches.java 99 long hundreds, seconds, minutes, hours; local
100 seconds = time / 1000;
101 hundreds = (time - seconds * 1000) / 10;
102 minutes = seconds / 60;
103 seconds = seconds - minutes * 60;
118 seconds, hundreds, decimalSeparator, lap);
129 long hundreds, seconds, minutes, hours; local
130 seconds = time / 1000;
131 hundreds = (time - seconds * 1000) / 10
    [all...]
  /external/chromium/base/
time_posix.cc 19 time_t seconds = 0; local
21 seconds = InSeconds();
22 microseconds -= seconds * Time::kMicrosecondsPerSecond;
25 {seconds,
63 // Combine seconds and microseconds in a 64-bit field containing microseconds
82 time_t seconds = milliseconds / kMillisecondsPerSecond; local
86 localtime_r(&seconds, &timestruct);
88 gmtime_r(&seconds, &timestruct);
117 time_t seconds; local
119 seconds = mktime(&timestruct)
    [all...]
  /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...]
  /device/samsung/manta/bubblelevel/
BubbleLevel.h 37 // Set the callback interval in seconds
38 virtual int setPollInterval(unsigned int seconds) = 0;
59 // Set the callback interval in seconds
61 unsigned int seconds);
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.duration/time.duration.nonmember/
op_+.pass.cpp 24 std::chrono::seconds s1(3);
25 std::chrono::seconds s2(5);
26 std::chrono::seconds r = s1 + s2;
30 std::chrono::seconds s1(3);
49 constexpr std::chrono::seconds s1(3);
50 constexpr std::chrono::seconds s2(5);
51 constexpr std::chrono::seconds r = s1 + s2;
55 constexpr std::chrono::seconds s1(3);
op_-.pass.cpp 25 std::chrono::seconds s1(3);
26 std::chrono::seconds s2(5);
27 std::chrono::seconds r = s1 - s2;
31 std::chrono::seconds s1(3);
50 constexpr std::chrono::seconds s1(3);
51 constexpr std::chrono::seconds s2(5);
52 constexpr std::chrono::seconds r = s1 - s2;
56 constexpr std::chrono::seconds s1(3);
  /external/qemu/distrib/sdl-1.2.15/test/
testvidinfo.c 81 float seconds; local
121 seconds = (float)(now - then) / 1000.0f;
122 if ( seconds > 0.0f ) {
123 printf("%d fills and flips in %2.2f seconds, %2.2f FPS\n", frames, seconds, (float)frames / seconds);
125 printf("%d fills and flips in zero seconds!n", frames);
150 seconds = (float)(now - then) / 1000.0f;
151 if ( seconds > 0.0f ) {
152 printf("%d blits / %d updates in %2.2f seconds, %2.2f FPS\n", NUM_BLITS*frames, frames, seconds, (float)frames / seconds)
    [all...]
  /bionic/libc/kernel/common/linux/netfilter_ipv4/
ipt_recent.h 35 u_int32_t seconds; member in struct:ipt_recent_info
  /development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
ipt_recent.h 30 u_int32_t seconds; member in struct:ipt_recent_info
  /development/samples/training/notify-user/src/com/example/android/pingme/
MainActivity.java 44 int seconds; local
54 // The number of seconds the timer should run.
60 seconds = R.string.seconds_default;
62 seconds = Integer.parseInt(input);
64 int milliseconds = (seconds * 1000);
  /external/kernel-headers/original/linux/netfilter_ipv4/
ipt_recent.h 19 u_int32_t seconds; member in struct:ipt_recent_info
  /external/skia/bench/
BenchSysTimer_mach.cpp 41 duration_clock = (end_clock.seconds - start_clock.seconds-1)*1000;
46 duration_clock = (end_clock.seconds - start_clock.seconds)*1000;

Completed in 1015 milliseconds

1 2 3 4 5 6 7 8 91011>>