/third_party/pulseaudio/src/tests/ |
D | smoother-test.c | 46 int msec[200]; in START_TEST() local 53 for (m = 0, u = 0; u < PA_ELEMENTSOF(msec); u+= 2) { in START_TEST() 55 msec[u] = m+1 + (rand() % 100) - 50; in START_TEST() 56 msec[u+1] = m + (rand() % 2000) - 1000 + 5000; in START_TEST() 60 if (msec[u] < 0) in START_TEST() 61 msec[u] = 0; in START_TEST() 63 if (msec[u+1] < 0) in START_TEST() 64 msec[u+1] = 0; in START_TEST() 71 while (u < PA_ELEMENTSOF(msec) && (pa_usec_t) msec[u]*PA_USEC_PER_MSEC < x) { in START_TEST() 72 …pa_smoother_put(s, (pa_usec_t) msec[u] * PA_USEC_PER_MSEC, (pa_usec_t) msec[u+1] * PA_USEC_PER_MSE… in START_TEST() [all …]
|
/third_party/flutter/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()
|
/third_party/flutter/skia/tools/timer/ |
D | TimeUtils.h | 16 const double msec = nanos * 1e-6; in NanosToMSec() local 17 SkASSERT(SK_MSecMax >= msec); in NanosToMSec() 18 return static_cast<SkMSec>(msec); in NanosToMSec()
|
/third_party/typescript/tests/baselines/reference/ |
D | fatarrowfunctionsInFunctions.types | 2 declare function setTimeout(expression: any, msec?: number, language?: any): number; 3 …andler, timeout?: number, ...arguments: any[]): number; (expression: any, msec?: number, language?… 5 >msec : number 26 …andler, timeout?: number, ...arguments: any[]): number; (expression: any, msec?: number, language?…
|
D | thisBinding2.types | 48 declare function setTimeout(expression: any, msec?: number, language?: any): number; 49 …andler, timeout?: number, ...arguments: any[]): number; (expression: any, msec?: number, language?… 51 >msec : number 68 …andler, timeout?: number, ...arguments: any[]): number; (expression: any, msec?: number, language?…
|
D | fatarrowfunctionsInFunctions.symbols | 2 declare function setTimeout(expression: any, msec?: number, language?: any): number; 5 >msec : Symbol(msec, Decl(fatarrowfunctionsInFunctions.ts, 0, 44))
|
D | thisBinding2.symbols | 35 declare function setTimeout(expression: any, msec?: number, language?: any): number; 38 >msec : Symbol(msec, Decl(thisBinding2.ts, 13, 44))
|
/third_party/skia/src/utils/ |
D | SkAnimCodecPlayer.cpp | 124 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()
|
/third_party/skia/tools/timer/ |
D | TimeUtils.h | 17 const double msec = nanos * 1e-6; in NanosToMSec() local 18 SkASSERT(SK_MSecMax >= msec); in NanosToMSec() 19 return static_cast<SkMSec>(msec); in NanosToMSec()
|
/third_party/NuttX/fs/vfs/ |
D | fs_select.c | 104 int msec; in do_select() local 234 msec = timeout->tv_sec * 1000 + timeout->tv_usec / 1000; in do_select() 240 msec = -1; in do_select() 245 ret = poll(pollset, npfds, msec); in do_select()
|
/third_party/boost/libs/asio/include/boost/asio/detail/ |
D | win_event.hpp | 137 DWORD msec = usec > 0 ? (usec < 1000 ? 1 : usec / 1000) : 0; in wait_for_usec() local 139 ::WaitForMultipleObjectsEx(2, events_, false, msec, false); in wait_for_usec() 141 ::WaitForMultipleObjects(2, events_, false, msec); in wait_for_usec()
|
D | timer_queue.hpp | 318 int64_t msec = d.total_milliseconds(); in to_msec() local 319 if (msec == 0) in to_msec() 321 if (msec > max_duration) in to_msec() 323 return static_cast<long>(msec); in to_msec()
|
/third_party/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()
|
/third_party/boost/boost/asio/detail/ |
D | win_event.hpp | 137 DWORD msec = usec > 0 ? (usec < 1000 ? 1 : usec / 1000) : 0; in wait_for_usec() local 139 ::WaitForMultipleObjectsEx(2, events_, false, msec, false); in wait_for_usec() 141 ::WaitForMultipleObjects(2, events_, false, msec); in wait_for_usec()
|
D | timer_queue.hpp | 318 int64_t msec = d.total_milliseconds(); in to_msec() local 319 if (msec == 0) in to_msec() 321 if (msec > max_duration) in to_msec() 323 return static_cast<long>(msec); in to_msec()
|
/third_party/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()
|
/third_party/glib/gio/tests/ |
D | gdbus-threading.c | 311 gint msec; member 364 g_variant_new ("(i)", data->msec), in test_sleep_in_thread_func() 384 g_variant_new ("(i)", data->msec), in test_sleep_in_thread_func() 450 data1.msec = 40; in test_method_calls_on_proxy() 458 data2.msec = 20; in test_method_calls_on_proxy() 466 data3.msec = 100; in test_method_calls_on_proxy()
|
/third_party/boost/libs/asio/include/boost/asio/ |
D | basic_socket_streambuf.hpp | 581 int64_t msec = traits_helper::to_posix_duration( in timeout() local 584 if (msec > (std::numeric_limits<int>::max)()) in timeout() 585 msec = (std::numeric_limits<int>::max)(); in timeout() 586 else if (msec < 0) in timeout() 587 msec = 0; in timeout() 588 return static_cast<int>(msec); in timeout()
|
/third_party/boost/boost/asio/ |
D | basic_socket_streambuf.hpp | 581 int64_t msec = traits_helper::to_posix_duration( in timeout() local 584 if (msec > (std::numeric_limits<int>::max)()) in timeout() 585 msec = (std::numeric_limits<int>::max)(); in timeout() 586 else if (msec < 0) in timeout() 587 msec = 0; in timeout() 588 return static_cast<int>(msec); in timeout()
|
/third_party/musl/libc-test/src/functionalext/common/ |
D | pthread_util.h | 83 static inline void Msleep(int msec) in Msleep() argument 85 usleep(msec * MS_PER_S); in Msleep()
|
/third_party/ffmpeg/libavformat/ |
D | act.c | 70 int min,sec,msec; in read_header() local 96 msec=avio_rl16(pb); in read_header() 100 …st->duration = av_rescale(1000*(min*60+sec)+msec, st->codecpar->sample_rate, 1000 * st->codecpar->… in read_header()
|
/third_party/flutter/skia/tools/viewer/ |
D | SkottieSlide.cpp | 157 SkMSec msec = TimeUtils::NanosToMSec(nanos); in animate() local 160 fTimeBase = msec; in animate() 165 const auto t = msec - fTimeBase; in animate()
|
/third_party/skia/third_party/externals/oboe/src/opensles/ |
D | AudioInputStreamOpenSLES.cpp | 340 SLmillisecond msec = 0; in updateServiceFrameCounter() local 341 SLresult slResult = (*mRecordInterface)->GetPosition(mRecordInterface, &msec); in updateServiceFrameCounter() 347 mPositionMillis.update32(msec); in updateServiceFrameCounter()
|
/third_party/alsa-utils/axfer/ |
D | xfer-libasound.c | 471 uint64_t msec; in configure_hw_params() local 473 msec = 1000000 * frames_per_buffer / frames_per_second; in configure_hw_params() 474 if (msec < msec_per_buffer) in configure_hw_params() 487 uint64_t msec; in configure_hw_params() local 489 msec = 1000000 * frames_per_period / frames_per_second; in configure_hw_params() 490 if (msec < msec_per_period) in configure_hw_params()
|
/third_party/libdrm/tests/modetest/ |
D | cursor.c | 70 uint32_t msec; member 160 usleep(1000 * step->msec); in cursor_thread_func()
|