Home
last modified time | relevance | path

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

1234

/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/gm/
DSkAnimTimer.h83 SkMSec msec() const { in msec() function
84 const double msec = (fCurrTimeNanos - fBaseTimeNanos) * 1e-6; in msec() local
85 SkASSERT(SK_MSecMax >= msec); in msec()
86 return static_cast<SkMSec>(msec); in msec()
/external/libevent/
Dpoll.c122 long msec = -1; in poll_dispatch() local
158 msec = evutil_tv_to_msec(tv); in poll_dispatch()
159 if (msec < 0 || msec > INT_MAX) in poll_dispatch()
160 msec = INT_MAX; in poll_dispatch()
165 res = poll(event_set, nfds, msec); in poll_dispatch()
Dwin32select.c302 long msec = tv ? evutil_tv_to_msec(tv) : LONG_MAX; in win32_dispatch() local
304 if (msec < 0) in win32_dispatch()
305 msec = LONG_MAX; in win32_dispatch()
307 Sleep(msec); in win32_dispatch()
/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));
Dcondition-variable.cc304 int64_t msec = (end - now).InMilliseconds();
305 if (msec >= static_cast<int64_t>(INFINITE)) {
312 result = event->WaitFor((msec < 0) ? 0 : static_cast<DWORD>(msec));
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D23-1.c60 int msec = 0; in child_func() local
75 msec = (int)(20.0 * rand() / RAND_MAX); in child_func()
76 ts.tv_nsec = msec * 1000000; in child_func()
/external/syslinux/com32/lib/sys/
Dsleep.c9 unsigned int msleep(unsigned int msec) in msleep() argument
13 while (times(NULL) - start < msec) in msleep()
/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/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/fio/
Dtime.c9 void timeval_add_msec(struct timeval *tv, unsigned int msec) in timeval_add_msec() argument
11 unsigned long adj_usec = 1000 * msec; in timeval_add_msec()
Ddiskutil.c109 dus->s.msec += mtime_since(&du->time, &t); in update_io_tick_disk()
544 util = (double) (100 * dus->s.io_ticks / (double) slavedu->dus.s.msec); in aggregate_slaves_stats()
579 if (dus->s.msec) in print_disk_util()
580 util = (double) 100 * dus->s.io_ticks / (double) dus->s.msec; in print_disk_util()
628 if (dus->s.msec) in json_array_add_disk_util()
629 util = (double) 100 * dus->s.io_ticks / (double) dus->s.msec; in json_array_add_disk_util()
/external/libdrm/tests/modetest/
Dcursor.c74 uint32_t msec; member
164 usleep(1000 * step->msec); in cursor_thread_func()
/external/libcups/cups/
Ddest.c226 int msec, int *cancel,
233 static int cups_enum_dests(http_t *http, unsigned flags, int msec, int *cancel, cups_p…
598 int msec, /* I - Timeout in milliseconds */ in cupsConnectDest() argument
617 … resourcesize=" CUPS_LLFMT ", cb=%p, user_data=%p)", (void *)dest, flags, msec, (void *)cancel, ca… in cupsConnectDest()
648 uri = cups_dnssd_resolve(dest, uri, msec, cancel, cb, user_data); in cupsConnectDest()
658 uri = cups_dnssd_resolve(dest, uri, msec, cancel, cb, user_data); in cupsConnectDest()
749 if (!httpReconnect2(http, msec, cancel) && cb) in cupsConnectDest()
786 int msec, /* I - Timeout in milliseconds */ in cupsConnectDestBlock() argument
792 return (cupsConnectDest(dest, flags, msec, cancel, resource, resourcesize, in cupsConnectDestBlock()
975 int msec, /* I - Timeout in milliseconds, -1 for indefinite */ in cupsEnumDests() argument
[all …]
Dhttp-addrlist.c60 int msec, /* I - Timeout in milliseconds */ in httpAddrConnect2() argument
95 …addrlist=%p, sock=%p, msec=%d, cancel=%p)", (void *)addrlist, (void *)sock, msec, (void *)cancel)); in httpAddrConnect2()
107 if (msec <= 0) in httpAddrConnect2()
108 msec = INT_MAX; in httpAddrConnect2()
115 remaining = msec; in httpAddrConnect2()
Dhttp.c457 int msec, /* I - Connection timeout in milliseconds, 0 means don't connect */ in httpConnect2() argument
463 …d, cancel=%p)", host, port, (void *)addrlist, family, encryption, blocking, msec, (void *)cancel)); in httpConnect2()
477 if (msec == 0 || !httpReconnect2(http, msec, cancel)) in httpConnect2()
2362 int msec, /* I - Timeout in milliseconds */ in httpReconnect2() argument
2372 DEBUG_printf(("httpReconnect2(http=%p, msec=%d, cancel=%p)", (void *)http, msec, (void *)cancel)); in httpReconnect2()
2427 if ((addr = httpAddrConnect2(http->addrlist, &(http->fd), msec, cancel)) == NULL) in httpReconnect2()
3046 int msec, /* I - Milliseconds to wait */ in _httpWait() argument
3058 DEBUG_printf(("4_httpWait(http=%p, msec=%d, usessl=%d)", (void *)http, msec, usessl)); in _httpWait()
3088 nfds = poll(&pfd, 1, msec); in _httpWait()
3098 DEBUG_printf(("6_httpWait: msec=%d, http->fd=%d", msec, http->fd)); in _httpWait()
[all …]
/external/skia/src/pdf/
DSkPDFMetadata.cpp80 double msec = SkTime::GetMSecs(); in CreateUUID() local
81 md5.write(&msec, sizeof(msec)); in CreateUUID()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dbandwidth_estimator.c169 int32_t msec; in WebRtcIsacfix_UpdateUplinkBwImpl() local
280 msec = (arrivalTime - bweStr->lastReduction); in WebRtcIsacfix_UpdateUplinkBwImpl()
284 if (msec > 208000) { in WebRtcIsacfix_UpdateUplinkBwImpl()
285 msec = 208000; in WebRtcIsacfix_UpdateUplinkBwImpl()
290 exponent = WEBRTC_SPL_UMUL(0x0000004C, msec); in WebRtcIsacfix_UpdateUplinkBwImpl()
/external/vboot_reference/firmware/lib/include/
Dvboot_audio_private.h15 uint16_t msec; member

1234