/external/webrtc/webrtc/system_wrappers/include/ |
sleep.h | 20 void SleepMs(int msecs);
|
/external/syslinux/gpxe/src/core/ |
timer.c | 26 * @v msecs Number of milliseconds for which to delay 28 void mdelay ( unsigned long msecs ) { 29 while ( msecs-- )
|
/external/webrtc/webrtc/system_wrappers/source/ |
sleep.cc | 24 void SleepMs(int msecs) { 26 Sleep(msecs); 30 short_wait.tv_sec = msecs / 1000; 31 short_wait.tv_nsec = (msecs % 1000) * 1000 * 1000;
|
/external/pdfium/testing/ |
embedder_test_mock_delegate.h | 17 MOCK_METHOD2(SetTimer, int(int msecs, TimerCallback fn)); 18 MOCK_METHOD1(KillTimer, void(int msecs));
|
embedder_test_timer_handling_delegate.h | 40 int SetTimer(int msecs, TimerCallback fn) override { 43 std::pair<int, Timer>(msecs + fake_elapsed_msecs_, {id, msecs, fn}));
|
embedder_test.h | 48 virtual int SetTimer(int msecs, TimerCallback fn) { return 0; } 143 int msecs,
|
/external/syslinux/core/lwip/src/include/lwip/ |
timers.h | 78 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_name); 79 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler) 81 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
|
tcpip.h | 106 err_t tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg); 145 u32_t msecs; member in struct:tcpip_msg::__anon32060::__anon32063
|
/external/ppp/pppd/plugins/radius/ |
util.c | 54 void rc_mdelay(int msecs) 58 tv.tv_sec = (int) msecs / 1000; 59 tv.tv_usec = (msecs % 1000) * 1000;
|
/external/vboot_reference/tests/ |
sha_benchmark.c | 33 uint32_t msecs; local 45 msecs = GetDurationMsecs(&ct); 47 / (msecs / 10e3)); /* Mbytes/sec */ 50 hash_functions[i].description, msecs, speed);
|
rsa_verify_benchmark.c | 21 double speed, msecs; local 72 msecs = (float) GetDurationMsecs(&ct) / NUM_OPERATIONS; 73 speed = 1000.0 / msecs ; 76 msecs, speed); 78 msecs);
|
/tools/loganalysis/src/com/android/loganalysis/util/ |
NumberFormattingUtil.java | 31 * Convert days/hours/mins/secs/msecs into milliseconds. 33 public static long getMs(long days, long hours, long mins, long secs, long msecs) { 34 return (((24 * days + hours) * 60 + mins) * 60 + secs) * 1000 + msecs; 38 * Convert hours/mins/secs/msecs into milliseconds. 40 public static long getMs(long hours, long mins, long secs, long msecs) { 41 return getMs(0, hours, mins, secs, msecs);
|
/prebuilts/go/darwin-x86/src/net/ |
tcpsockopt_dragonfly.go | 21 msecs := int(d / time.Millisecond) 22 if err := syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, msecs); err != nil { 25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, msecs))
|
tcpsockopt_windows.go | 22 msecs := uint32(d / time.Millisecond) 25 Time: msecs, 26 Interval: msecs,
|
/prebuilts/go/linux-x86/src/net/ |
tcpsockopt_dragonfly.go | 21 msecs := int(d / time.Millisecond) 22 if err := syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, msecs); err != nil { 25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, msecs))
|
tcpsockopt_windows.go | 22 msecs := uint32(d / time.Millisecond) 25 Time: msecs, 26 Interval: msecs,
|
/external/syslinux/gpxe/src/include/ |
unistd.h | 37 extern void mdelay ( unsigned long msecs );
|
/external/syslinux/gpxe/src/util/ |
mucurses_test.c | 7 void mdelay( int msecs ); 61 void mdelay ( int msecs ) { 62 usleep( msecs * 1000 );
|
/external/ltp/lib/ |
tst_checkpoint.c | 102 unsigned int msecs = 0, waked = 0; local 117 msecs++; 119 if (msecs >= msec_timeout) {
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
mlos.h | 61 void inv_sleep(int mSecs); 84 static inline void msleep(long msecs) 86 inv_sleep(msecs);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
mlos.h | 61 void inv_sleep(int mSecs); 84 static inline void msleep(long msecs) 86 inv_sleep(msecs);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureStrokeRecognitionPoints.java | 238 final int msecs = time - mEventTimes.get(lastIndex); local 239 if (msecs > 0) { 243 final float speed = (float)pixelsPerSec / msecs / mKeyWidth; 246 // Equivalent to (pixels / msecs < mStartSpeedThreshold / MSEC_PER_SEC) 247 if (!hasDetectedFastMove() && pixelsPerSec > mDetectFastMoveSpeedThreshold * msecs) { 249 final float speed = (float)pixelsPerSec / msecs / mKeyWidth; 293 final int msecs = (int)(time - mLastMajorEventTime); local 294 if (msecs <= 0) { 299 // Equivalent to (pixels / msecs < mGestureRecognitionThreshold / MSEC_PER_SEC) 300 if (pixelsPerSec < mGestureRecognitionSpeedThreshold * msecs) { [all...] |
/system/bt/embdrv/sbc/decoder/include/ |
oi_bt_spec.h | 226 #define OI_MSECS_TO_BT_TICKS(msecs) (((msecs)*8) / 5)
|
/external/libnl/src/lib/ |
addr.c | 112 uint64_t msecs; local 118 if ((err = nl_str2msec(arg, &msecs)) < 0) 122 return (msecs / 1000);
|
/external/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
sem_sleepingbarber.c | 45 void mdelay(unsigned msecs) 48 req.tv_sec = msecs / 1000; 49 req.tv_nsec = (msecs % 1000) * 1000000;
|