Home
last modified time | relevance | path

Searched refs:QuicWallTime (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/net/quic/
Dquic_time.cc127 QuicWallTime QuicWallTime::FromUNIXSeconds(uint64 seconds) { in FromUNIXSeconds()
128 return QuicWallTime(seconds); in FromUNIXSeconds()
132 QuicWallTime QuicWallTime::Zero() { in Zero()
133 return QuicWallTime(0); in Zero()
136 uint64 QuicWallTime::ToUNIXSeconds() const { in ToUNIXSeconds()
140 bool QuicWallTime::IsAfter(QuicWallTime other) const { in IsAfter()
144 bool QuicWallTime::IsBefore(QuicWallTime other) const { in IsBefore()
148 bool QuicWallTime::IsZero() const { in IsZero()
152 QuicTime::Delta QuicWallTime::AbsoluteDifference(QuicWallTime other) const { in AbsoluteDifference()
167 QuicWallTime QuicWallTime::Add(QuicTime::Delta delta) const { in Add()
[all …]
Dquic_time.h117 class NET_EXPORT_PRIVATE QuicWallTime {
121 static QuicWallTime FromUNIXSeconds(uint64 seconds);
125 static QuicWallTime Zero();
131 bool IsAfter(QuicWallTime other) const;
132 bool IsBefore(QuicWallTime other) const;
139 QuicTime::Delta AbsoluteDifference(QuicWallTime other) const;
143 QuicWallTime Add(QuicTime::Delta delta) const;
147 QuicWallTime Subtract(QuicTime::Delta delta) const;
150 explicit QuicWallTime(uint64 seconds);
Dquic_sustained_bandwidth_recorder_test.cc20 QuicWallTime wall_time = QuicWallTime::Zero(); in TEST()
65 QuicWallTime second_bandwidth_wall_time = in TEST()
66 QuicWallTime::FromUNIXSeconds(kSeconds); in TEST()
100 QuicWallTime wall_time = QuicWallTime::Zero(); in TEST()
Dquic_clock.cc26 QuicWallTime QuicClock::WallNow() const { in WallNow()
27 return QuicWallTime::FromUNIXSeconds(base::Time::Now().ToTimeT()); in WallNow()
Dquic_clock.h32 virtual QuicWallTime WallNow() const;
Dquic_clock_test.cc27 QuicWallTime now = clock.WallNow(); in TEST()
Dquic_sustained_bandwidth_recorder.h34 QuicWallTime wall_time,
Dquic_sustained_bandwidth_recorder.cc26 QuicWallTime wall_time, in RecordEstimate()
/external/chromium_org/net/quic/crypto/
Dquic_crypto_server_config.h88 QuicWallTime expiry_time;
131 QuicWallTime now);
149 QuicWallTime now);
334 QuicWallTime primary_time;
373 void SelectNewPrimaryConfig(QuicWallTime now) const;
404 QuicWallTime now,
413 QuicWallTime now) const;
416 std::string NewServerNonce(QuicRandom* rand, QuicWallTime now) const;
425 QuicWallTime now) const;
444 mutable QuicWallTime next_config_promotion_time_;
Dquic_crypto_client_config.h44 bool IsComplete(QuicWallTime now) const;
58 QuicWallTime now,
109 QuicWallTime now);
177 QuicWallTime now,
192 QuicWallTime now,
220 QuicWallTime now,
278 QuicWallTime now,
Dquic_crypto_server_config_test.cc57 QuicWallTime now) { in NewSourceAddressToken()
65 QuicWallTime now) { in ValidateSourceAddressToken()
70 string NewServerNonce(QuicRandom* rand, QuicWallTime now) const { in NewServerNonce()
75 QuicWallTime now) { in ValidateServerNonce()
177 QuicWallTime::FromUNIXSeconds(seconds)); in SelectNewPrimaryConfig()
206 QuicWallTime now, in VerifyNonceIsValidAndUnique()
250 QuicWallTime now = clock.WallNow(); in TEST()
251 const QuicWallTime original_time = now; in TEST()
348 QuicWallTime now = clock.WallNow(); in TEST()
349 const QuicWallTime original_time = now; in TEST()
Dquic_crypto_server_config.cc67 ClientHelloInfo(const IPEndPoint& in_client_ip, QuicWallTime in_now) in ClientHelloInfo()
76 const QuicWallTime now;
95 QuicWallTime in_now) in Result()
221 : expiry_time(QuicWallTime::Zero()), in ConfigOptions()
231 next_config_promotion_time_(QuicWallTime::Zero()), in QuicCryptoServerConfig()
305 const QuicWallTime now = clock->WallNow(); in GenerateConfig()
306 const QuicWallTime expiry = now.Add(QuicTime::Delta::FromSeconds( in GenerateConfig()
364 const QuicWallTime now) { in AddConfig()
408 const QuicWallTime now) { in SetConfigs()
489 const QuicWallTime now(clock->WallNow()); in ValidateClientHello()
[all …]
Dlocal_strike_register_client_test.cc98 QuicWallTime::FromUNIXSeconds(kCurrentTimeExternalSecs), in TEST_F()
114 QuicWallTime::FromUNIXSeconds(kCurrentTimeExternalSecs), in TEST_F()
128 QuicWallTime::FromUNIXSeconds(kCurrentTimeExternalSecs), in TEST_F()
Dquic_crypto_client_config.cc71 bool QuicCryptoClientConfig::CachedState::IsComplete(QuicWallTime now) const { in IsComplete()
125 StringPiece server_config, QuicWallTime now, string* error_details) { in SetServerConfig()
225 QuicWallTime now) { in Initialize()
395 QuicWallTime now, in FillClientHello()
580 QuicWallTime now, in CacheNewServerConfig()
637 QuicWallTime now, in ProcessRejection()
766 QuicWallTime now, in ProcessServerConfigUpdate()
Dcrypto_server_config_protobuf.cc13 : primary_time_(QuicWallTime::Zero().ToUNIXSeconds()), in QuicServerConfigProtobuf()
Dlocal_strike_register_client.h31 QuicWallTime now,
Dstrike_register_client.h52 QuicWallTime now,
Dlocal_strike_register_client.cc34 QuicWallTime now, in VerifyNonceIsValidAndUnique()
Dcrypto_utils.h36 static void GenerateNonce(QuicWallTime now,
Dquic_crypto_client_config_test.cc38 EXPECT_FALSE(state.IsComplete(QuicWallTime::FromUNIXSeconds(0))); in TEST()
133 QuicWallTime::Zero(), in TEST()
/external/chromium_org/net/quic/test_tools/
Ddelayed_verify_strike_register_client.h29 QuicWallTime now,
44 QuicWallTime in_now, in VerifyArgs()
52 QuicWallTime now;
Dmock_clock.cc27 QuicWallTime MockClock::WallNow() const { in WallNow()
28 return QuicWallTime::FromUNIXSeconds( in WallNow()
Dmock_clock.h27 virtual QuicWallTime WallNow() const OVERRIDE;
Ddelayed_verify_strike_register_client.cc29 QuicWallTime now, in VerifyNonceIsValidAndUnique()
/external/chromium_org/net/tools/quic/
Dquic_epoll_clock_test.cc45 QuicWallTime now = clock.WallNow(); in TEST()

12