Home
last modified time | relevance | path

Searched refs:kOneSecond (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/test/testsupport/
Dfixed_fps_video_frame_writer_adapter_test.cc31 constexpr TimeDelta kOneSecond = TimeDelta::Seconds(1); variable
92 time_controller->AdvanceTime(kOneSecond / fps); in TEST()
117 time_controller->AdvanceTime(kOneSecond / fps); in TEST()
121 time_controller->AdvanceTime(4 * kOneSecond / fps); in TEST()
126 time_controller->AdvanceTime(kOneSecond / fps); in TEST()
158 constexpr TimeDelta kInterval = kOneSecond / kFps; in TEST()
179 constexpr TimeDelta kInterval = kOneSecond / kFps; in TEST()
200 constexpr TimeDelta kInterval = kOneSecond / kFps; in TEST()
221 constexpr TimeDelta kInterval = kOneSecond / kFps; in TEST()
242 constexpr TimeDelta kInterval = kOneSecond / kFps; in TEST()
[all …]
Dfixed_fps_video_frame_writer_adapter.cc26 constexpr TimeDelta kOneSecond = TimeDelta::Seconds(1); variable
34 : inter_frame_interval_(kOneSecond / fps), in FixedFpsVideoFrameWriterAdapter()
/external/openscreen/discovery/mdns/
Dmdns_publisher_unittest.cc361 constexpr Clock::duration kOneSecond = in TEST_F() local
379 clock_.Advance(kOneSecond); in TEST_F()
384 clock_.Advance(kOneSecond); in TEST_F()
390 clock_.Advance(kOneSecond); in TEST_F()
395 clock_.Advance(kOneSecond * 3); in TEST_F()
401 clock_.Advance(kOneSecond); in TEST_F()
406 clock_.Advance(kOneSecond * 7); in TEST_F()
412 clock_.Advance(kOneSecond); in TEST_F()
417 clock_.Advance(kOneSecond * 15); in TEST_F()
423 clock_.Advance(kOneSecond); in TEST_F()
[all …]
Dmdns_trackers_unittest.cc24 constexpr Clock::duration kOneSecond = variable
208 clock_.Advance(kOneSecond); in TEST_F()
209 clock_.Advance(kOneSecond); in TEST_F()
237 clock_.Advance(kOneSecond); in TEST_F()
238 clock_.Advance(kOneSecond); in TEST_F()
/external/cronet/base/time/
Dtime_unittest.cc1978 constexpr TimeDelta kOneSecond = Seconds(1); in TEST() local
1979 static_assert((kLargeDelta + kOneSecond).is_max()); in TEST()
1980 static_assert((kLargeNegative + (-kOneSecond)).is_min()); in TEST()
1981 static_assert((kLargeNegative - kOneSecond).is_min()); in TEST()
1982 static_assert((kLargeDelta - (-kOneSecond)).is_max()); in TEST()
1990 static_assert(TimeDelta::Max() + kOneSecond == TimeDelta::Max()); in TEST()
1992 static_assert(TimeDelta::FiniteMax() + kOneSecond == TimeDelta::Max()); in TEST()
1993 static_assert(TimeDelta::Min() - kOneSecond == TimeDelta::Min()); in TEST()
1995 static_assert(TimeDelta::FiniteMin() - kOneSecond == TimeDelta::Min()); in TEST()
2000 TimeDelta::Max() / kOneSecond == std::numeric_limits<double>::infinity(), in TEST()
[all …]
/external/openscreen/cast/streaming/
Drtp_time.h124 constexpr Duration kOneSecond = in ToDuration() local
127 static_cast<double>(value_) / rtp_timebase * kOneSecond.count())); in ToDuration()
136 constexpr Duration kOneSecond = in FromDuration() local
138 static_assert(kOneSecond > Duration::zero(), in FromDuration()
141 static_cast<double>(duration.count()) / kOneSecond.count() * in FromDuration()
/external/libchrome/base/time/
Dtime_unittest.cc1476 constexpr TimeDelta kOneSecond = TimeDelta::FromSeconds(1); in TEST() local
1479 EXPECT_TRUE((large_delta + kOneSecond).is_max()); in TEST()
1480 EXPECT_TRUE((large_negative + (-kOneSecond)).is_min()); in TEST()
1481 EXPECT_TRUE((large_negative - kOneSecond).is_min()); in TEST()
1482 EXPECT_TRUE((large_delta - (-kOneSecond)).is_max()); in TEST()
1489 EXPECT_EQ((large_delta + kOneSecond).InSecondsF(), in TEST()
1491 EXPECT_EQ((large_delta + kOneSecond).InMillisecondsF(), in TEST()
1493 EXPECT_EQ((large_delta + kOneSecond).InMicrosecondsF(), in TEST()
1498 delta += kOneSecond; in TEST()
1501 delta += -kOneSecond; in TEST()
[all …]
/external/openscreen/cast/standalone_receiver/
Dsdl_audio_player.cc109 constexpr auto kOneSecond = seconds(1); in RenderNextFrame() local
111 pending_audio_spec_.freq * kMinBufferDuration / kOneSecond); in RenderNextFrame()
119 (pending_audio_spec_.samples * Clock::to_duration(kOneSecond)) / in RenderNextFrame()
/external/libchrome/libchrome_tools/patches/
DFix-TimeDelta.patch95 EXPECT_EQ(kOneSecond, (ticks_now + kOneSecond) - ticks_now);
/external/cronet/third_party/icu/source/i18n/
Dgregoimp.h101 #define kOneSecond 1000 macro
Dcalendar.cpp2281 delta *= kOneSecond; in add()
/external/icu/icu4c/source/i18n/
Dgregoimp.h101 #define kOneSecond 1000 macro
Dcalendar.cpp2281 delta *= kOneSecond; in add()
/external/icu/libicu/cts_headers/
Dgregoimp.h101 #define kOneSecond 1000 macro