/external/webrtc/test/testsupport/ |
D | fixed_fps_video_frame_writer_adapter_test.cc | 31 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 …]
|
D | fixed_fps_video_frame_writer_adapter.cc | 26 constexpr TimeDelta kOneSecond = TimeDelta::Seconds(1); variable 34 : inter_frame_interval_(kOneSecond / fps), in FixedFpsVideoFrameWriterAdapter()
|
/external/openscreen/discovery/mdns/ |
D | mdns_publisher_unittest.cc | 361 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 …]
|
D | mdns_trackers_unittest.cc | 24 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/ |
D | time_unittest.cc | 1978 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/ |
D | rtp_time.h | 124 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/ |
D | time_unittest.cc | 1476 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/ |
D | sdl_audio_player.cc | 109 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/ |
D | Fix-TimeDelta.patch | 95 EXPECT_EQ(kOneSecond, (ticks_now + kOneSecond) - ticks_now);
|
/external/cronet/third_party/icu/source/i18n/ |
D | gregoimp.h | 101 #define kOneSecond 1000 macro
|
D | calendar.cpp | 2281 delta *= kOneSecond; in add()
|
/external/icu/icu4c/source/i18n/ |
D | gregoimp.h | 101 #define kOneSecond 1000 macro
|
D | calendar.cpp | 2281 delta *= kOneSecond; in add()
|
/external/icu/libicu/cts_headers/ |
D | gregoimp.h | 101 #define kOneSecond 1000 macro
|