/external/webrtc/webrtc/system_wrappers/include/ |
sleep.h | 20 void SleepMs(int 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 | 42 int SetTimer(int msecs, TimerCallback fn) override { 44 msecs + imaginary_elapsed_msecs_, Timer(++next_timer_id_, fn)));
|
embedder_test.h | 48 virtual int SetTimer(int msecs, TimerCallback fn) { return 0; } 143 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/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);
|
/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 | 215 #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);
|
/hardware/intel/common/libmix/mix_audio/src/ |
mixaudio.h | 161 MIX_RESULT (*get_timestamp) (MixAudio *mix, guint64 *msecs); 167 MIX_RESULT (*set_volume) (MixAudio *mix, gint currvol, MixVolType type, gulong msecs, MixVolRamp ramptype); 418 * @msecs: play time in milliseconds. 423 MIX_RESULT mix_audio_get_timestamp(MixAudio *mix, guint64 *msecs); 491 MIX_RESULT mix_audio_set_volume(MixAudio *mix, gint currvol, MixVolType type, gulong msecs, MixVolRamp ramptype); 565 * @msecs: stream byte decoded..
|
/external/libnl/include/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-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("%.0f %dbyte iops/sec\n", (float)iops * 1000 / msecs, TST_BLK_SIZE);
|
/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/platforms/android-5/include/ |
pthread.h | 214 unsigned msecs); 216 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 221 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|
/development/ndk/platforms/android-8/include/ |
pthread.h | 219 unsigned msecs); 221 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 226 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|
/development/ndk/platforms/android-9/include/ |
pthread.h | 221 unsigned msecs); 223 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 228 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/ |
pthread.h | 221 unsigned msecs); 223 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 228 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/ |
pthread.h | 221 unsigned msecs); 223 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 228 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/ |
pthread.h | 221 unsigned msecs); 223 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 228 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/ |
pthread.h | 221 unsigned msecs); 223 /* same as pthread_mutex_lock(), but will wait up to 'msecs' milli-seconds 228 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
|