Home
last modified time | relevance | path

Searched refs:msec (Results 1 – 25 of 132) sorted by relevance

123456

/external/vboot_reference/tests/
Dvboot_api_devmode_tests.c33 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()
Dvboot_audio_tests.c85 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/
Dvboot_audio.c48 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/
DSkAnimCodecPlayer.cpp80 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/
DSkAnimCodecPlayer.cpp80 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/
Dsound-i2s.c172 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()
Dsandbox.c10 int sound_play(uint32_t msec, uint32_t frequency) in sound_play() argument
13 mdelay(msec); in sound_play()
/external/skqp/tools/timer/
DSkAnimTimer.h98 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/
DSkAnimTimer.h98 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/
Dpoll.c128 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()
Dwin32select.c308 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/
Dsound.c32 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/
Dsemaphore.cc169 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/
D23-1.c55 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/
DtestSAX.c119 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/
Ddelay.h11 static inline void mdelay(unsigned long msec) in mdelay() argument
13 while (msec--) in mdelay()
/external/python/cpython2/Lib/
Dtimeit.py334 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/
Dinit.go208 msec := uint64(10)
210 msec = 30
214 nsec.OpAdd = msec * 1e3
216 nsec.OpAdd = msec * 1e6
/external/skia/gm/
DanimatedGif.cpp139 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/
DanimatedGif.cpp152 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/
Dq2d.c38 long msec = (long)(q2d / 0.001); in q2d_histo_add() local
40 switch (msec) { in q2d_histo_add()
/external/vboot_reference/firmware/stub/
Dvboot_api_stub.c22 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/
DPollingTask.java184 private void scheduleRetry(long msec) { in scheduleRetry() argument
185 logger.print("scheduleRetry msec=" + msec); in scheduleRetry()
207 SystemClock.elapsedRealtime() + msec, mRetryAlarmIntent); in scheduleRetry()
DCapabilityPolling.java420 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/
DShadowVideoView.java98 protected void seekTo(int msec) { in seekTo() argument
99 currentPosition = msec; in seekTo()

123456