/external/vboot_reference/tests/ |
D | vboot_api_devmode_tests.c | 33 uint16_t msec; member 242 void VbExSleepMs(uint32_t msec) { in VbExSleepMs() argument 243 current_ticks += (uint64_t)msec * TICKS_PER_MSEC; in VbExSleepMs() 245 VBDEBUG(("VbExSleepMs(%d) -> %d\n", msec, current_time)); in VbExSleepMs() 252 VbError_t VbExBeep(uint32_t msec, uint32_t frequency) { in VbExBeep() argument 253 VBDEBUG(("VbExBeep(%d, %d) at %d msec\n", msec, frequency, current_time)); in VbExBeep() 256 msec == expected_event[current_event].msec && in VbExBeep() 262 if (msec) in VbExBeep() 263 VbExSleepMs(msec); in VbExBeep()
|
D | vboot_audio_tests.c | 85 if ( a[i].msec != b[i].msec || a[i].frequency != b[i].frequency) in NotesMatch() 155 a->music_notes[use_hdr->count].msec == 28700 && in VbAudioTest() 162 use_notes[6].msec = 10; in VbAudioTest()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_audio.c | 48 static uint64_t VbMsecToTicks(uint16_t msec) { in VbMsecToTicks() argument 49 return ticks_per_msec * msec; in VbMsecToTicks() 141 this_msecs = hdr->notes[i].msec ; in VbGetDevMusicNotes() 184 notebuf[hdr->count].msec = this_msecs; in VbGetDevMusicNotes() 260 uint16_t msec = 0; in VbAudioLooping() local 267 msec = audio->music_notes[audio->next_note].msec; in VbAudioLooping() 268 audio->play_until += VbMsecToTicks(msec); in VbAudioLooping() 283 } else if (freq && msec) { in VbAudioLooping() 284 VbExBeep(msec, freq); in VbAudioLooping()
|
/external/skia/src/utils/ |
D | SkAnimCodecPlayer.cpp | 80 bool SkAnimCodecPlayer::seek(uint32_t msec) { in seek() argument 85 msec %= fTotalDuration; in seek() 87 auto lower = std::lower_bound(fFrameInfos.begin(), fFrameInfos.end(), msec, in seek() 88 [](const SkCodec::FrameInfo& info, uint32_t msec) { in seek() argument 89 return (uint32_t)info.fDuration < msec; in seek()
|
/external/skqp/src/utils/ |
D | SkAnimCodecPlayer.cpp | 80 bool SkAnimCodecPlayer::seek(uint32_t msec) { in seek() argument 85 msec %= fTotalDuration; in seek() 87 auto lower = std::lower_bound(fFrameInfos.begin(), fFrameInfos.end(), msec, in seek() 88 [](const SkCodec::FrameInfo& info, uint32_t msec) { in seek() argument 89 return (uint32_t)info.fDuration < msec; in seek()
|
/external/u-boot/drivers/sound/ |
D | sound-i2s.c | 172 int sound_play(uint32_t msec, uint32_t frequency) in sound_play() argument 192 while (msec >= 1000) { in sound_play() 195 msec -= 1000; in sound_play() 197 if (msec) { in sound_play() 199 (data_size * msec) / (sizeof(int) * 1000); in sound_play()
|
D | sandbox.c | 10 int sound_play(uint32_t msec, uint32_t frequency) in sound_play() argument 13 mdelay(msec); in sound_play()
|
/external/skqp/tools/timer/ |
D | SkAnimTimer.h | 98 SkMSec msec() const { in msec() function 99 const double msec = fElapsedNanos * 1e-6; in msec() local 100 SkASSERT(SK_MSecMax >= msec); in msec() 101 return static_cast<SkMSec>(msec); in msec()
|
/external/skia/tools/timer/ |
D | SkAnimTimer.h | 98 SkMSec msec() const { in msec() function 99 const double msec = fElapsedNanos * 1e-6; in msec() local 100 SkASSERT(SK_MSecMax >= msec); in msec() 101 return static_cast<SkMSec>(msec); in msec()
|
/external/libevent/ |
D | poll.c | 128 long msec = -1; in poll_dispatch() local 164 msec = evutil_tv_to_msec_(tv); in poll_dispatch() 165 if (msec < 0 || msec > INT_MAX) in poll_dispatch() 166 msec = INT_MAX; in poll_dispatch() 171 res = poll(event_set, nfds, msec); in poll_dispatch()
|
D | win32select.c | 308 long msec = tv ? evutil_tv_to_msec_(tv) : LONG_MAX; in win32_dispatch() local 310 if (msec < 0) in win32_dispatch() 311 msec = LONG_MAX; in win32_dispatch() 313 Sleep(msec); in win32_dispatch()
|
/external/u-boot/cmd/ |
D | sound.c | 32 int msec = 1000; in do_play() local 36 msec = simple_strtoul(argv[1], NULL, 10); in do_play() 40 ret = sound_play(msec, freq); in do_play()
|
/external/v8/src/base/platform/ |
D | semaphore.cc | 169 int64_t msec = (end - now).InMilliseconds(); 170 if (msec >= static_cast<int64_t>(INFINITE)) { 179 native_handle_, (msec < 0) ? 0 : static_cast<DWORD>(msec));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 23-1.c | 55 int msec = 0; in child_func() local 70 msec = (int)(20.0 * rand() / RAND_MAX); in child_func() 71 ts.tv_nsec = msec * 1000000; in child_func()
|
/external/libxml2/ |
D | testSAX.c | 119 long msec; in endTimer() local 123 msec = end.tv_sec - begin.tv_sec; in endTimer() 124 msec *= 1000; in endTimer() 125 msec += (end.tv_usec - begin.tv_usec) / 1000; in endTimer() 134 fprintf(stderr, " took %ld ms\n", msec); in endTimer() 155 long msec; in endTimer() local 159 msec = ((end - begin) * 1000) / CLOCKS_PER_SEC; in endTimer() 167 fprintf(stderr, " took %ld ms\n", msec); in endTimer() 191 fprintf(stderr, " was not timed\n", msec); in endTimer()
|
/external/u-boot/include/linux/ |
D | delay.h | 11 static inline void mdelay(unsigned long msec) in mdelay() argument 13 while (msec--) in mdelay()
|
/external/python/cpython2/Lib/ |
D | timeit.py | 334 msec = usec / 1000 335 if msec < 1000: 336 print "best of %d: %.*g msec per loop" % (repeat, precision, msec) 338 sec = msec / 1000
|
/external/syzkaller/sys/linux/ |
D | init.go | 208 msec := uint64(10) 210 msec = 30 214 nsec.OpAdd = msec * 1e3 216 nsec.OpAdd = msec * 1e6
|
/external/skia/gm/ |
D | animatedGif.cpp | 139 double secs = timer.msec() * .1; in onAnimate() 219 fBaseMSec = timer.msec(); in onAnimate() 222 (void)p->seek(timer.msec() - fBaseMSec); in onAnimate()
|
/external/skqp/gm/ |
D | animatedGif.cpp | 152 double secs = timer.msec() * .1; in onAnimate() 232 fBaseMSec = timer.msec(); in onAnimate() 235 (void)p->seek(timer.msec() - fBaseMSec); in onAnimate()
|
/external/blktrace/btt/ |
D | q2d.c | 38 long msec = (long)(q2d / 0.001); in q2d_histo_add() local 40 switch (msec) { in q2d_histo_add()
|
/external/vboot_reference/firmware/stub/ |
D | vboot_api_stub.c | 22 void VbExSleepMs(uint32_t msec) in VbExSleepMs() argument 26 VbError_t VbExBeep(uint32_t msec, uint32_t frequency) in VbExBeep() argument
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PollingTask.java | 184 private void scheduleRetry(long msec) { in scheduleRetry() argument 185 logger.print("scheduleRetry msec=" + msec); in scheduleRetry() 207 SystemClock.elapsedRealtime() + msec, mRetryAlarmIntent); in scheduleRetry()
|
D | CapabilityPolling.java | 420 public synchronized void schedulePolling(long msec, int type) { in schedulePolling() argument 421 logger.print("schedulePolling msec=" + msec + " type=" + type); in schedulePolling() 433 if ((scheduled > 0) && (scheduled < msec)) { in schedulePolling() 440 long nextTime = System.currentTimeMillis() + msec; in schedulePolling() 442 (msec / 1000) + " seconds at " in schedulePolling() 447 if (msec <= 0) { in schedulePolling() 459 SystemClock.elapsedRealtime() + msec, mDiscoveryAlarmIntent); in schedulePolling()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowVideoView.java | 98 protected void seekTo(int msec) { in seekTo() argument 99 currentPosition = msec; in seekTo()
|