/external/replicaisland/src/com/replica/replicaisland/ |
H A D | VibrationSystem.java | 34 public void vibrate(float seconds) { argument 39 vibrator.vibrate((int)(seconds * 1000));
|
H A D | TimeSystem.java | 20 * Maintains a canonical time step, in seconds, for the entire game engine. This time step 112 public void freeze(float seconds) { argument 113 mFreezeDelay = seconds;
|
/external/kernel-headers/original/uapi/scsi/ |
H A D | scsi_netlink_fc.h | 60 uint64_t seconds; member in struct:fc_nl_event
|
/external/icu/icu4c/source/i18n/ |
H A D | utmscale.c | 17 #define seconds (milliseconds * 1000) macro 18 #define minutes (seconds * 60) 26 {seconds, INT64_C(62135596800), INT64_C(-984472800485), INT64_C(860201606885), U_INT64_MIN, U_INT64_MAX, INT64_C(62135596801), INT64_C(62135596799), INT64_C(5000000), INT64_C(-9223372036849775808), INT64_C(9223372036849775807)}, 30 {seconds, INT64_C(60052752000), INT64_C(-982389955685), INT64_C(862284451685), U_INT64_MIN, U_INT64_MAX, INT64_C(60052752001), INT64_C(60052751999), INT64_C(5000000), INT64_C(-9223372036849775808), INT64_C(9223372036849775807)}, 31 {seconds, INT64_C(63113904000), INT64_C(-985451107685), INT64_C(859223299685), U_INT64_MIN, U_INT64_MAX, INT64_C(63113904001), INT64_C(63113903999), INT64_C(5000000), INT64_C(-9223372036849775808), INT64_C(9223372036849775807)},
|
/external/deqp/framework/delibs/dethread/unix/ |
H A D | deThreadUnix.c | 146 deUint32 seconds = milliseconds / 1000; local 148 milliseconds = milliseconds - seconds * 1000; 150 if (seconds > 0) 151 sleep(seconds);
|
/external/fio/ |
H A D | mutex.c | 95 static int mutex_timed_out(struct timeval *t, unsigned int seconds) argument 97 return mtime_since_now(t) >= seconds * 1000; 100 int fio_mutex_down_timeout(struct fio_mutex *mutex, unsigned int seconds) argument 109 t.tv_sec = tv_s.tv_sec + seconds; 122 if (ret == ETIMEDOUT && !mutex_timed_out(&tv_s, seconds))
|
/external/iptables/include/linux/netfilter/ |
H A D | xt_recent.h | 27 __u32 seconds; member in struct:xt_recent_mtinfo 36 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
H A D | xt_recent.h | 27 __u32 seconds; member in struct:xt_recent_mtinfo 36 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|
/external/llvm/unittests/Support/ |
H A D | ProgramTest.cpp | 25 void sleep_for(unsigned int seconds) { argument 26 sleep(seconds); 30 void sleep_for(unsigned int seconds) { argument 31 Sleep(seconds * 1000); 168 sleep_for(/*seconds*/ 1); 229 sleep_for(/*seconds*/ 10);
|
/external/toybox/toys/other/ |
H A D | netcat.c | 18 -q SECONDS quit this many seconds after EOF on stdin. 48 long quit_delay; // -q Exit after EOF from stdin after # seconds. 51 long wait; // -w Wait # seconds for a connection. 61 static void set_alarm(int seconds) argument 63 xsignal(SIGALRM, seconds ? timeout : SIG_DFL); 64 alarm(seconds);
|
/external/v8/test/mjsunit/ |
H A D | to_number_order.js | 64 var seconds = { valueOf: function() { x += 6; return 0; } }; 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); 82 new Date().setSeconds(seconds, ms); 86 new Date().setSeconds(seconds, ms); 90 new Date().setUTCSeconds(seconds, ms); 94 new Date().setMinutes(minutes, seconds, ms); 98 new Date().setUTCMinutes(minutes, seconds, ms); 102 new Date().setHours(hours, minutes, seconds, m [all...] |
/external/v8/test/webkit/ |
H A D | date-constructor.js | 82 var seconds = { valueOf: function() { testStr += 6; return 0; } }; 86 new Date(year, month, date, hours, minutes, seconds, ms); 90 Date.UTC(year, month, date, hours, minutes, seconds, ms);
|
/external/clang/test/Analysis/ |
H A D | casts.c | 73 double seconds = intSeconds; local 74 if (seconds)
|
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | AbstractSessionContext.java | 42 * Maximum lifetime of a session (in seconds) after which it's considered invalid and should not 152 public void setSessionTimeout(int seconds) argument 154 if (seconds < 0) { 155 throw new IllegalArgumentException("seconds < 0"); 157 timeout = seconds;
|
/external/icu/icu4c/source/samples/date/ |
H A D | date.c | 48 static UDate getWhen(const char *millis, const char *seconds, const char *format, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status); 74 char *seconds = NULL; local 118 seconds = argv[optInd]; 161 when = getWhen(millis, seconds, format, style, parse, tz, &status); 190 puts(" -r <seconds> Use <seconds> as the time (Epoch 1970) rather than now."); 291 static UDate getWhen(const char *millis, const char *seconds, const char *format, argument 302 } else if(seconds != NULL) { 303 sscanf(seconds, "%lf", &when);
|
/external/tcpdump/ |
H A D | print-ntp.c | 242 time_t seconds = i - JAN_1970; local 246 tm = localtime(&seconds);
|
/external/toybox/toys/pending/ |
H A D | ps.c | 181 long seconds = (i==16) ? slot[20] : slot[11]+slot[12], ll = 60*60*24; local 183 seconds /= sysconf(_SC_CLK_TCK); 184 if (i==16) seconds = TT.uptime-seconds; 186 if (i>1 || seconds > ll) 187 s += sprintf(s, (i==3) ? "%02ld" : "%ld%c", seconds/ll, "-::"[i]); 188 seconds %= ll;
|
/external/android-clat/ |
H A D | clatd_microbenchmark.c | 133 double seconds = (end.tv_sec - tv1.tv_sec); local 134 seconds += (((double) (end.tv_nsec - tv1.tv_nsec)) / SEC_TO_NANOSEC); 135 return seconds; 156 double seconds = timedelta(tv1, tv2); local 157 int pps = (int) (i / seconds); 158 double mbps = (i * PAYLOADSIZE / 1000000 * 8 / seconds); 159 printf("%s: %d packets in %.2fs (%d pps, %.2f Mbps), ", name, i, seconds, pps, mbps);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix_libcdep.cc | 105 void SleepForSeconds(int seconds) { argument 106 sleep(seconds);
|
/external/icu/icu4c/source/test/threadtest/ |
H A D | threadtest.cpp | 105 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 D | JDBCStatement.java | 58 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/jetty/src/java/org/eclipse/jetty/server/ |
H A D | SessionManager.java | 125 * @return the max period of inactivity, after which the session is invalidated, in seconds. 132 * Sets the max period of inactivity, after which the session is invalidated, in seconds. 134 * @param seconds the max inactivity period, in seconds. 137 public void setMaxInactiveInterval(int seconds); argument
|
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
H A D | HashSessionManager.java | 148 * @return the period in seconds at which a check is made for sessions to be invalidated. 171 * @return seconds Idle period after which a session is saved 183 * Configures the period in seconds after which a session is deemed idle and saved 188 * @param seconds Idle period after which a session is saved 190 public void setIdleSavePeriod(int seconds) argument 192 _idleSavePeriodMs = seconds * 1000L; 197 public void setMaxInactiveInterval(int seconds) argument 199 super.setMaxInactiveInterval(seconds); 206 * @param seconds the period is seconds a 208 setSavePeriod(int seconds) argument 260 setScavengePeriod(int seconds) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | TimeValue.h | 78 typedef int64_t SecondsType; ///< Type used for representing seconds. 97 /// Caller provides the exact value in seconds and nanoseconds. The 100 explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0) argument 101 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } 103 /// Caller provides the exact value as a double in seconds with the 204 /// Returns only the seconds component of the TimeValue. The nanoseconds 206 /// @brief Retrieve the seconds component 207 SecondsType seconds() const { return seconds_; } function in class:llvm::sys::TimeValue 209 /// Returns only the nanoseconds component of the TimeValue. The seconds 248 /// Converts the TimeValue into the corresponding number of seconds 267 getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const argument 285 void seconds (SecondsType sec ) { function in class:llvm::sys::TimeValue [all...] |
/external/openssh/ |
H A D | progressmeter.c | 47 #define STALL_TIME 5 /* we're stalled after this many seconds */ 129 int hours, minutes, seconds; local 204 seconds = bytes_left / bytes_per_second; 206 seconds = elapsed; 208 hours = seconds / 3600; 209 seconds -= hours * 3600; 210 minutes = seconds / 60; 211 seconds -= minutes * 60; 215 "%d:%02d:%02d", hours, minutes, seconds); 218 " %02d:%02d", minutes, seconds); [all...] |