Home
last modified time | relevance | path

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

/external/chromium_org/net/quic/
Dquic_time.cc103 QuicWallTime QuicWallTime::FromUNIXSeconds(uint64 seconds) { in FromUNIXSeconds()
104 return QuicWallTime(seconds); in FromUNIXSeconds()
108 QuicWallTime QuicWallTime::Zero() { in Zero()
109 return QuicWallTime(0); in Zero()
112 uint64 QuicWallTime::ToUNIXSeconds() const { in ToUNIXSeconds()
116 bool QuicWallTime::IsAfter(QuicWallTime other) const { in IsAfter()
120 bool QuicWallTime::IsBefore(QuicWallTime other) const { in IsBefore()
124 bool QuicWallTime::IsZero() const { in IsZero()
128 QuicTime::Delta QuicWallTime::AbsoluteDifference(QuicWallTime other) const { in AbsoluteDifference()
143 QuicWallTime QuicWallTime::Add(QuicTime::Delta delta) const { in Add()
[all …]
Dquic_time.h105 class NET_EXPORT_PRIVATE QuicWallTime {
109 static QuicWallTime FromUNIXSeconds(uint64 seconds);
113 static QuicWallTime Zero();
119 bool IsAfter(QuicWallTime other) const;
120 bool IsBefore(QuicWallTime other) const;
127 QuicTime::Delta AbsoluteDifference(QuicWallTime other) const;
131 QuicWallTime Add(QuicTime::Delta delta) const;
135 QuicWallTime Subtract(QuicTime::Delta delta) const;
138 explicit QuicWallTime(uint64 seconds);
Dquic_clock.cc25 QuicWallTime QuicClock::WallNow() const { in WallNow()
26 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()
/external/chromium_org/net/quic/crypto/
Dquic_crypto_server_config.h74 QuicWallTime expiry_time;
117 QuicWallTime now);
135 QuicWallTime now);
297 QuicWallTime primary_time;
315 void SelectNewPrimaryConfig(QuicWallTime now) const;
342 QuicWallTime now) const;
349 QuicWallTime now) const;
352 std::string NewServerNonce(QuicRandom* rand, QuicWallTime now) const;
360 QuicWallTime now) const;
379 mutable QuicWallTime next_config_promotion_time_;
Dquic_crypto_client_config.h36 bool IsComplete(QuicWallTime now) const;
47 QuicWallTime now,
149 QuicWallTime now,
162 QuicWallTime now,
Dquic_crypto_server_config.cc49 ClientHelloInfo(const IPEndPoint& in_client_ip, QuicWallTime in_now) in ClientHelloInfo()
58 const QuicWallTime now;
72 QuicWallTime in_now) in Result()
163 : expiry_time(QuicWallTime::Zero()), in ConfigOptions()
173 next_config_promotion_time_(QuicWallTime::Zero()), in QuicCryptoServerConfig()
248 const QuicWallTime now = clock->WallNow(); in DefaultConfig()
249 const QuicWallTime expiry = now.Add(QuicTime::Delta::FromSeconds( in DefaultConfig()
307 const QuicWallTime now) { in AddConfig()
350 const QuicWallTime now) { in SetConfigs()
426 const QuicWallTime now(clock->WallNow()); in ValidateClientHello()
[all …]
Dlocal_strike_register_client_test.cc84 QuicWallTime::FromUNIXSeconds(kCurrentTimeExternalSecs), in TEST_F()
98 QuicWallTime::FromUNIXSeconds(kCurrentTimeExternalSecs), in TEST_F()
110 QuicWallTime::FromUNIXSeconds(kCurrentTimeExternalSecs), in TEST_F()
Dquic_crypto_server_config_test.cc36 QuicWallTime now) { in NewSourceAddressToken()
42 QuicWallTime now) { in ValidateSourceAddressToken()
140 QuicWallTime::FromUNIXSeconds(seconds)); in SelectNewPrimaryConfig()
169 QuicWallTime now = clock.WallNow(); in TEST()
170 const QuicWallTime original_time = now; in TEST()
Dcrypto_server_config_protobuf.cc13 : primary_time_(QuicWallTime::Zero().ToUNIXSeconds()) { in QuicServerConfigProtobuf()
Dlocal_strike_register_client.h30 QuicWallTime now,
Dstrike_register_client.h48 QuicWallTime now,
Dcrypto_utils.h36 static void GenerateNonce(QuicWallTime now,
Dlocal_strike_register_client.cc31 StringPiece nonce, QuicWallTime now, ResultCallback* cb) { in VerifyNonceIsValidAndUnique()
Dquic_crypto_client_config.cc43 bool QuicCryptoClientConfig::CachedState::IsComplete(QuicWallTime now) const { in IsComplete()
78 StringPiece server_config, QuicWallTime now, string* error_details) { in SetServerConfig()
300 QuicWallTime now, in FillClientHello()
487 QuicWallTime now, in ProcessRejection()
Dcrypto_utils.cc23 void CryptoUtils::GenerateNonce(QuicWallTime now, in GenerateNonce()
/external/chromium_org/net/quic/test_tools/
Ddelayed_verify_strike_register_client.h29 QuicWallTime now,
44 QuicWallTime in_now, in VerifyArgs()
50 QuicWallTime now;
Dmock_clock.cc27 QuicWallTime MockClock::WallNow() const { in WallNow()
28 return QuicWallTime::FromUNIXSeconds( in WallNow()
Dmock_clock.h28 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()