Home
last modified time | relevance | path

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

12345

/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/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/flac/src/utils/flactimer/
Dmain.cpp41 uint64_t msec = nsec / 1000000; nsec -= msec * 1000000; in printtime() local
42 uint64_t sec = msec / 1000; msec -= sec * 1000; in printtime()
47 (uint32_t)msec, in printtime()
51 (uint32_t)msec, in printtime()
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_drops.sh173 $MZ $h1 -c 0 -p 100 -d 1msec -B $h2_ipv4 -q "$rp1mac $h1mac \
204 -B $dip -d 1msec -q &
240 -b $rp1mac -B $dip -d 1msec -q &
275 -B $dip -d 1msec -q &
311 -b $rp1mac -B $dip -d 1msec -q &
343 -B $h2_ipv4 -d 1msec -q &
397 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload &
444 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload &
483 "33:33:00:00:00:00" -B $dip -d 1msec -q &
509 "33:33:00:00:00:00" -B $dip -d 1msec -q &
[all …]
Ddevlink_trap_l2_drops.sh105 $MZ $h1 -c 0 -p 100 -a $smac -b bcast -t ip -d 1msec -q &
132 $MZ $h1 "$opt" -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
193 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
237 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
308 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
354 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -B $dip -d 1msec -q &
401 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
Ddevlink_trap_l3_exceptions.sh190 $MZ $h1 -t udp "sp=54321,dp=12345,df" -p 1400 -c 0 -d 1msec -b $rp1mac \
226 $MZ $h1 -t udp "ttl=$ttl_val,sp=54321,dp=12345" -c 0 -d 1msec \
340 $MZ $flags $h1 -t udp "sp=54321,dp=12345" -c 0 -d 1msec -b $rp1mac \
510 $MZ $h1 -t udp "sp=54321,dp=12345" -c 0 -d 1msec -b $rp1mac \
538 $MZ -6 $h1 -t udp "sp=54321,dp=12345" -c 0 -d 1msec -b $rp1mac \
/external/toybox/toys/pending/
Dbootchartd.c33 long msec;
109 if ((TT.msec = dd*1000)<1) TT.msec = 1; in parse_config_file()
142 long tcnt = 60 * 1000 / TT.msec; in start_logging()
173 if (tcnt > 2 * 1000 / TT.msec) tcnt = 2 * 1000 / TT.msec; in start_logging()
176 msleep(TT.msec); in start_logging()
243 TT.msec = 200; in bootchartd_main()
/external/skia/src/utils/
DSkAnimCodecPlayer.cpp124 bool SkAnimCodecPlayer::seek(uint32_t msec) { in seek() argument
129 msec %= fTotalDuration; in seek()
131 auto lower = std::lower_bound(fFrameInfos.begin(), fFrameInfos.end(), msec, in seek()
132 [](const SkCodec::FrameInfo& info, uint32_t msec) { in seek() argument
133 return (uint32_t)info.fDuration <= msec; in seek()
/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/arm-trusted-firmware/drivers/delay_timer/
Ddelay_timer.c64 void mdelay(uint32_t msec) in mdelay() argument
66 assert((msec * 1000UL) < UINT32_MAX); in mdelay()
67 udelay(msec * 1000U); in mdelay()
/external/skia/tools/timer/
DTimeUtils.h17 const double msec = nanos * 1e-6; in NanosToMSec() local
18 SkASSERT(SK_MSecMax >= msec); in NanosToMSec()
19 return static_cast<SkMSec>(msec); in NanosToMSec()
/external/libevent/
Dpoll.c139 long msec = -1; in poll_dispatch() local
175 msec = evutil_tv_to_msec_(tv); in poll_dispatch()
176 if (msec < 0 || msec > INT_MAX) in poll_dispatch()
177 msec = INT_MAX; in poll_dispatch()
182 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/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/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/igt-gpu-tools/tests/i915/
Dgem_close_race.c164 #define msec(x) usec(1000*(x)) macro
192 its.it_value.tv_nsec = msec(1) + (rand() % msec(10)); in threads()
/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/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/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()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPollingTask.java186 private void scheduleRetry(long msec) { in scheduleRetry() argument
187 logger.print("scheduleRetry msec=" + msec); in scheduleRetry()
209 SystemClock.elapsedRealtime() + msec, mRetryAlarmIntent); in scheduleRetry()
/external/oboe/src/opensles/
DAudioInputStreamOpenSLES.cpp347 SLmillisecond msec = 0; in updateServiceFrameCounter() local
348 SLresult slResult = (*mRecordInterface)->GetPosition(mRecordInterface, &msec); in updateServiceFrameCounter()
354 mPositionMillis.update32(msec); in updateServiceFrameCounter()

12345