Home
last modified time | relevance | path

Searched refs:to_duration (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/libcxx/test/std/utilities/time/time.hms/time.hms.members/
Dto_duration.pass.cpp27 ASSERT_SAME_TYPE(typename HMS::precision, decltype(std::declval<HMS>().to_duration())); in check_duration()
28 ASSERT_NOEXCEPT( std::declval<HMS>().to_duration()); in check_duration()
30 return HMS(d).to_duration().count(); in check_duration()
/external/openscreen/platform/impl/
Dtime.cc41 Clock::to_duration(steady_clock::now().time_since_epoch())); in now()
44 Clock::to_duration(high_resolution_clock::now().time_since_epoch())); in now()
/external/openscreen/cast/streaming/
Dntp_time.cc50 Clock::to_duration(whole_seconds) + start_time_; in ToLocalTime()
51 const auto remainder = Clock::to_duration(NtpFractionPart(timestamp)); in ToLocalTime()
Dpacket_receive_stats_tracker_unittest.cc168 constexpr auto kTrueJitter = Clock::to_duration(seconds(1)); in TEST()
196 constexpr auto kMaxDiffAtEnd = Clock::to_duration(milliseconds(2)); in TEST()
Dsender.cc273 Clock::to_duration(receiver_report.delay_since_last_report); in OnReceiverReport()
284 constexpr auto kNearZeroRoundTripTime = Clock::to_duration(microseconds(75)); in OnReceiverReport()
509 Clock::to_duration(target_playout_delay_) * kWaitFraction::num / in ChooseKickstartPacket()
Dbandwidth_estimator.cc27 Clock::to_duration(std::chrono::seconds(1)).count(); in ToClampedBitsPerSecond()
Drtcp_common.cc191 Clock::to_duration(kMaxValidReportedDelay); in SetDelaySinceLastReport()
/external/openscreen/discovery/mdns/
Dmdns_trackers_unittest.cc25 Clock::to_duration(std::chrono::seconds(1));
132 Clock::duration time_till_refresh = Clock::to_duration(ttl * fraction); in AdvanceThroughAllTtlFractions()
252 clock_.Advance(Clock::to_duration(a_record_.ttl() * 0.83)); in TEST_F()
274 Clock::duration advance_time = Clock::to_duration(a_record_.ttl() * 0.6); in TEST_F()
Dmdns_probe.cc96 alarm_.ScheduleFromNow([this]() { ProbeOnce(); }, Clock::to_duration(delay)); in Postpone()
Dmdns_publisher_unittest.cc89 clock_.Advance(Clock::to_duration(std::chrono::seconds(1))); in ~MdnsPublisherTest()
362 Clock::to_duration(std::chrono::seconds(1)); in TEST_F()
Dmdns_publisher.cc370 return Clock::to_duration(kMinAnnounceDelay * in GetNextAnnounceDelay()
Dmdns_trackers.cc288 Clock::to_duration(record_.ttl() * ttl_fraction); in GetNextSendTime()
/external/openscreen/platform/base/
Dtrivial_clock_traits.h29 static constexpr duration to_duration(D d) { in to_duration() function
/external/openscreen/cast/standalone_sender/
Dstreaming_opus_encoder.cc38 approximate_cast_frame_duration_(Clock::to_duration(seconds(1)) / in StreamingOpusEncoder()
Dstreaming_vp8_encoder.cc373 1.0 / Clock::to_duration(seconds(1)).count(); in ComputeFrameEncodeStats()
/external/openscreen/cast/standalone_receiver/
Dsdl_audio_player.cc119 (pending_audio_spec_.samples * Clock::to_duration(kOneSecond)) / in RenderNextFrame()
/external/openscreen/discovery/mdns/public/
Dmdns_constants.h438 Clock::to_duration(std::chrono::milliseconds(250));
/external/openscreen/docs/
Dstyle_guide.md160 `Clock::to_duration`, e.g. `Clock::to_duration(seconds(2))`
/external/llvm-project/libcxx/include/
Dchrono639 constexpr precision to_duration() const noexcept;
2800 constexpr precision to_duration() const noexcept
2806 constexpr explicit operator precision() const noexcept { return to_duration(); }