Home
last modified time | relevance | path

Searched refs:Milliseconds (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dduration_test.cc89 constexpr absl::Duration milli = absl::Milliseconds(1); in TEST()
99 EXPECT_EQ(sec, absl::Milliseconds(1000)); in TEST()
146 TEST_DURATION_CONVERSION(Milliseconds); in TEST()
170 const absl::Duration milli = absl::Milliseconds(N); in TestToConversion()
219 static_assert(absl::Milliseconds(N) == absl::FromChrono(milliseconds(N)), ""); in TestFromChronoBasicEquality()
284 EXPECT_EQ(milliseconds(N), absl::ToChronoMilliseconds(absl::Milliseconds(N))); in TestToChrono()
370 TEST_FACTORY_OVERLOADS(absl::Milliseconds); in TEST()
377 EXPECT_EQ(absl::Milliseconds(1500), absl::Seconds(1.5)); in TEST()
384 EXPECT_EQ(absl::InfiniteDuration(), absl::Milliseconds(dbl_inf)); in TEST()
390 EXPECT_EQ(-absl::InfiniteDuration(), absl::Milliseconds(-dbl_inf)); in TEST()
[all …]
Dduration_benchmark.cc26 absl::Milliseconds(1),
56 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds()
110 benchmark::DoNotOptimize(absl::Milliseconds(d)); in BM_Duration_Factory_DoubleMilliseconds()
149 absl::Duration step = absl::Milliseconds(1); in BM_Duration_Addition()
158 absl::Duration step = absl::Milliseconds(1); in BM_Duration_Subtraction()
166 absl::Duration d = absl::Milliseconds(1); in BM_Duration_Multiplication_Fixed()
177 absl::Duration d = absl::Milliseconds(1); in BM_Duration_Multiplication_Double()
212 d += absl::FDivDuration(absl::Milliseconds(i), absl::Nanoseconds(1))); in BM_Duration_FDivDuration_Nanoseconds()
249 benchmark::DoNotOptimize(a += absl::IDivDuration(absl::Milliseconds(i), in BM_Duration_IDivDuration_Milliseconds()
250 absl::Milliseconds(1), in BM_Duration_IDivDuration_Milliseconds()
Dclock_test.cc106 const absl::Duration d = absl::Milliseconds(2500); in TEST()
107 const absl::Duration early = absl::Milliseconds(100); in TEST()
108 const absl::Duration late = absl::Milliseconds(300); in TEST()
Dduration.cc566 return d / Milliseconds(1); in ToInt64Milliseconds()
594 return FDivDuration(d, Milliseconds(1)); in ToDoubleMilliseconds()
787 } else if (d < Milliseconds(1)) { in FormatDuration()
790 AppendNumberUnit(&s, FDivDuration(d, Milliseconds(1)), kDisplayMilli); in FormatDuration()
866 *unit = Milliseconds(1); in ConsumeDurationUnit()
Dtime.cc236 return time_internal::FromUnixDuration(absl::Milliseconds(udate)); in FromUDate()
270 return FloorToUnit(time_internal::ToUnixDuration(t), absl::Milliseconds(1)); in ToUnixMillis()
281 absl::Milliseconds(1)); in ToUDate()
Dclock.cc550 return absl::Milliseconds( in MaxSleep()
561 Sleep(to_sleep / absl::Milliseconds(1)); in SleepOnce()
Dtime_test.cc163 t += absl::Milliseconds(500); in TEST()
164 EXPECT_EQ(absl::UnixEpoch() + absl::Milliseconds(500), t); in TEST()
165 t += absl::Milliseconds(600); in TEST()
166 EXPECT_EQ(absl::UnixEpoch() + absl::Milliseconds(1100), t); in TEST()
167 t -= absl::Milliseconds(600); in TEST()
168 EXPECT_EQ(absl::UnixEpoch() + absl::Milliseconds(500), t); in TEST()
169 t -= absl::Milliseconds(500); in TEST()
Dtime.h415 constexpr Duration Milliseconds(T n) { in Milliseconds() function
449 Duration Milliseconds(T n) { in Milliseconds() function
450 return n * Milliseconds(1); in Milliseconds()
1601 return time_internal::FromUnixDuration(Milliseconds(ms)); in FromUnixMillis()
Dformat_test.cc59 t += absl::Milliseconds(6) + absl::Microseconds(7) + absl::Nanoseconds(8); in TEST()
96 t += absl::Milliseconds(6) + absl::Microseconds(7) + absl::Nanoseconds(8); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem_test.cc111 absl::SleepFor(absl::Milliseconds(20)); in TestTiming()
156 const absl::Duration delay = absl::Milliseconds(50); in TEST_F()
162 const absl::Duration slop = absl::Milliseconds(1); in TEST_F()
167 absl::Time negative_timeout = absl::UnixEpoch() - absl::Milliseconds(100); in TEST_F()
/third_party/python/Modules/clinic/
Doverlapped.c.h53 DWORD Milliseconds);
60 DWORD Milliseconds; in _overlapped_GetQueuedCompletionStatus() local
63 &CompletionPort, &Milliseconds)) { in _overlapped_GetQueuedCompletionStatus()
66 return_value = _overlapped_GetQueuedCompletionStatus_impl(module, CompletionPort, Milliseconds); in _overlapped_GetQueuedCompletionStatus()
121 DWORD Milliseconds);
130 DWORD Milliseconds; in _overlapped_RegisterWaitWithQueue() local
133 &Object, &CompletionPort, &Overlapped, &Milliseconds)) { in _overlapped_RegisterWaitWithQueue()
136 …= _overlapped_RegisterWaitWithQueue_impl(module, Object, CompletionPort, Overlapped, Milliseconds); in _overlapped_RegisterWaitWithQueue()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dnotification_test.cc72 notification->WaitForNotificationWithTimeout(absl::Milliseconds(0))); in BasicTests()
75 const absl::Duration delay = absl::Milliseconds(50); in BasicTests()
Dmutex_test.cc117 absl::SleepFor(absl::Milliseconds(20)); in TestR20ms()
305 cxt->cv.WaitWithTimeout(&cxt->mu, absl::Milliseconds(500)); in TestTime()
308 !cxt->mu.AwaitWithTimeout(false_cond, absl::Milliseconds(500)), in TestTime()
526 absl::Milliseconds(500)); in TEST()
593 absl::SleepFor(absl::Milliseconds(100)); in TEST_P()
891 absl::SleepFor(absl::Milliseconds(random_millis(gen)));
892 cv->WaitWithTimeout(mu, absl::Milliseconds(random_millis(gen)));
986 absl::Milliseconds(100));
1013 absl::SleepFor(absl::Milliseconds(500)); // allow T time to hang
1016 x.cv.WaitWithTimeout(&x.mu0, absl::Milliseconds(500)); // wake T
[all …]
/third_party/cef/libcef/renderer/
Dthread_util.h38 base::Milliseconds(delay_ms))
/third_party/cef/libcef/common/
Dwaitable_event_impl.cc60 return event_.TimedWait(base::Milliseconds(max_ms)); in TimedWait()
Dtask_impl.cc43 base::Milliseconds(delay_ms)); in CefPostDelayedTask()
Dtask_runner_impl.cc148 base::Milliseconds(delay_ms)); in PostDelayedTask()
/third_party/cef/libcef/browser/
Dthread_util.h47 base::PostDelayedTask(FROM_HERE, {id}, task, base::Milliseconds(delay_ms))
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dsequence_lock_test.cc84 absl::SleepFor(absl::Milliseconds(1)); in TEST_P()
/third_party/node/deps/zlib/google/
Dzip_reader.h323 base::TimeDelta progress_period_ = base::Milliseconds(1000);
/third_party/python/Modules/
Doverlapped.c242 DWORD Milliseconds) in _overlapped_GetQueuedCompletionStatus_impl() argument
253 &CompletionKey, &Overlapped, Milliseconds); in _overlapped_GetQueuedCompletionStatus_impl()
335 DWORD Milliseconds) in _overlapped_RegisterWaitWithQueue_impl() argument
351 &NewWaitObject, Object, PostToQueueCallback, pdata, Milliseconds, in _overlapped_RegisterWaitWithQueue_impl()
/third_party/cef/libcef/browser/media_router/
Dmedia_router_manager.cc190 base::Milliseconds(kTimeoutMs), false /* incognito */); in CreateRoute()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-temporal.cc768 TEMPORAL_GET(Duration, Milliseconds, milliseconds) in TEMPORAL_GET()
/third_party/libabigail/tests/lib/
Dcatch.hpp16305 Milliseconds, enumerator
16327 m_units = Unit::Milliseconds; in Duration()
16340 case Unit::Milliseconds: in value()
16356 case Unit::Milliseconds: in unitsAsString()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Did3v2.4.0-frames.txt816 Milliseconds between reference $xx xx xx

12