/external/webrtc/src/system_wrappers/interface/ |
sleep.h | 20 void SleepMs(int msecs);
|
/external/webrtc/src/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/srec/portable/src/ |
ptimestamp.c | 32 timestamp->msecs = 0; 40 timestamp->msecs = now.millitm; 45 timestamp->msecs = now.tv_nsec / MSECOND2NSECOND; 55 return (a->secs - b->secs) * 1000 + a->msecs - b->msecs;
|
/external/srec/portable/include/ |
ptimestamp.h | 38 * msecs represent the number of milliseconds within that second. 50 asr_uint16_t msecs; member in struct:PTimeStamp_t 56 * msecs field to 0 if platform does not support it.
|
/external/kernel-headers/original/linux/ |
delay.h | 39 void msleep(unsigned int msecs); 40 unsigned long msleep_interruptible(unsigned int msecs);
|
/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/qemu/ |
qemu-thread.h | 26 int qemu_mutex_timedlock(QemuMutex *mutex, uint64_t msecs); 34 int qemu_cond_timedwait(QemuCond *cond, QemuMutex *mutex, uint64_t msecs);
|
qemu-thread.c | 60 static void timespec_add_ms(struct timespec *ts, uint64_t msecs) 62 ts->tv_sec = ts->tv_sec + (long)(msecs / 1000); 63 ts->tv_nsec = (ts->tv_nsec + ((long)msecs % 1000) * 1000000); 70 int qemu_mutex_timedlock(QemuMutex *mutex, uint64_t msecs) 76 timespec_add_ms(&ts, msecs); 138 int qemu_cond_timedwait(QemuCond *cond, QemuMutex *mutex, uint64_t msecs) 144 timespec_add_ms(&ts, msecs);
|
/external/smack/src/org/xbill/DNS/ |
Resolver.java | 66 * @param msecs The number of milliseconds to wait. 68 void setTimeout(int secs, int msecs);
|
/hardware/invensense/60xx/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/60xx/mlsdk/platform/include/ |
mlos.h | 72 void inv_sleep(int mSecs); 93 static inline void msleep(long msecs) 95 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/ |
GestureStroke.java | 294 final int msecs = time - mEventTimes.get(lastIndex); local 295 if (msecs > 0) { 299 final float speed = (float)pixelsPerSec / msecs / mKeyWidth; 302 // Equivalent to (pixels / msecs < mStartSpeedThreshold / MSEC_PER_SEC) 303 if (!hasDetectedFastMove() && pixelsPerSec > mDetectFastMoveSpeedThreshold * msecs) { 305 final float speed = (float)pixelsPerSec / msecs / mKeyWidth; 348 final int msecs = (int)(time - mLastMajorEventTime); local 349 if (msecs <= 0) { 354 // Equivalent to (pixels / msecs < mGestureRecognitionThreshold / MSEC_PER_SEC) 355 if (pixelsPerSec < mGestureRecognitionSpeedThreshold * msecs) { [all...] |
/external/dhcpcd/ |
eloop.c | 284 int msecs, n; local 311 msecs = INT_MAX; 313 msecs = tv.tv_sec * 1000 + 317 msecs = -1; 324 if (msecs == -1 && nfds == 0) { 341 n = poll(fds, nfds, msecs);
|
/external/libnl-headers/netlink/ |
attr.h | 217 * Add msecs attribute to netlink message. 220 * @arg msecs Numeric value in micro seconds. 222 #define NLA_PUT_MSECS(msg, attrtype, msecs) \ 223 NLA_PUT_U64(msg, attrtype, msecs)
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_imaadpcm.c | 285 EAS_I32 secs, msecs; local 305 /* break down into secs and msecs */ 307 msecs = time - (secs * 1000); 309 /* calculate sample number fraction from msecs */ 310 temp = (msecs * pState->sampleRate);
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_imaadpcm.c | 285 EAS_I32 secs, msecs; local 305 /* break down into secs and msecs */ 307 msecs = time - (secs * 1000); 309 /* calculate sample number fraction from msecs */ 310 temp = (msecs * pState->sampleRate);
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_imaadpcm.c | 285 EAS_I32 secs, msecs; local 305 /* break down into secs and msecs */ 307 msecs = time - (secs * 1000); 309 /* calculate sample number fraction from msecs */ 310 temp = (msecs * pState->sampleRate);
|
/system/extras/tests/ext4/ |
rand_emmc_perf.c | 151 int msecs; local 179 msecs = (res.tv_sec * 1000) + (res.tv_usec / 1000); 180 printf("%d %dbyte iops/sec\n", iops * 1000 / msecs, TST_BLK_SIZE);
|
/bionic/libc/bionic/ |
pthread.c | 818 /* initialize 'abstime' to the current time according to 'clock' plus 'msecs' 822 __timespec_to_relative_msec(struct timespec* abstime, unsigned msecs, clockid_t clock) 825 abstime->tv_sec += msecs/1000; 826 abstime->tv_nsec += (msecs%1000)*1000000; 834 int pthread_mutex_lock_timeout_np_impl(pthread_mutex_t *mutex, unsigned msecs) 842 __timespec_to_relative_msec(&abstime, msecs, clock); [all...] |
/external/sonivox/jet_tools/JetCreator/ |
eas.py | 406 msecs = c_int(0)
408 result = eas_dll.EAS_GetLocation(self.eas.handle, self.handle, byref(msecs))
411 msecs = float(msecs.value) / 1000
412 eas_logger.debug('EAS_GetLocation: location=%.3f' % msecs)
413 return msecs
806 msecs = c_int(0)
808 result = eas_dll.EAS_GetRenderTime(self.handle, byref(msecs))
811 msecs = float(msecs.value) / 1000 [all...] |
/development/ndk/sources/android/libportable/arch-mips/ |
pthread.c | 214 unsigned msecs), (cond, mutex, msecs), "(cond:%p, mutex:%p, msecs:%u)"); 216 PTHREAD_WRAPPER(pthread_mutex_lock_timeout_np, (pthread_mutex_t *mutex, unsigned msecs), 217 (mutex, msecs), "(mutex:%p, msecs:%u)");
|
/bionic/libc/include/ |
pthread.h | 217 unsigned msecs); 219 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 224 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|
/development/ndk/platforms/android-5/include/ |
pthread.h | 208 unsigned msecs); 210 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 215 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|
/development/ndk/platforms/android-8/include/ |
pthread.h | 213 unsigned msecs); 215 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 220 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|