Searched defs:now (Results 451 - 475 of 760) sorted by last modified time

<<11121314151617181920>>

/external/chromium_org/net/http/
H A Dhttp_auth_cache.cc144 base::TimeTicks now = base::TimeTicks::Now(); local
154 now - entries_.back().creation_time_);
156 now - entries_.back().last_use_time_);
167 entry->creation_time_ = now;
177 entry->last_use_time_ = now;
H A Dhttp_server_properties_impl.cc490 base::TimeTicks now = base::TimeTicks::Now(); local
494 if (now < entry.when) {
509 base::TimeTicks now = base::TimeTicks::Now(); local
511 base::TimeDelta delay = when > now ? when - now : base::TimeDelta();
H A Dtransport_security_persister.cc140 base::Time now = base::Time::Now(); local
173 if (now < domain_state.pkp.expiry) {
H A Dtransport_security_state.cc645 base::Time now = base::Time::Now(); local
655 domain_state.sts.last_observed = now;
656 domain_state.sts.expiry = now + max_age;
668 base::Time now = base::Time::Now(); local
680 domain_state.pkp.last_observed = now;
681 domain_state.pkp.expiry = now + max_age;
/external/chromium_org/net/quic/congestion_control/
H A Dleaky_bucket.cc17 void LeakyBucket::SetDrainingRate(QuicTime now, QuicBandwidth draining_rate) { argument
18 Update(now);
22 void LeakyBucket::Add(QuicTime now, QuicByteCount bytes) { argument
23 Update(now);
27 QuicTime::Delta LeakyBucket::TimeRemaining(QuicTime now) const {
28 QuicTime::Delta time_since_last_update = now.Subtract(time_last_updated_);
38 QuicByteCount LeakyBucket::BytesPending(QuicTime now) { argument
39 Update(now);
43 void LeakyBucket::Update(QuicTime now) { argument
44 QuicTime::Delta elapsed_time = now
[all...]
H A Dpacing_sender.cc111 QuicTime now,
115 sender_->TimeUntilSend(now, bytes_in_flight, has_retransmittable_data);
142 if (next_packet_send_time_ > now.Add(alarm_granularity_)) {
144 << next_packet_send_time_.Subtract(now).ToMicroseconds();
146 return next_packet_send_time_.Subtract(now);
149 DVLOG(1) << "Sending packet now";
110 TimeUntilSend( QuicTime now, QuicByteCount bytes_in_flight, HasRetransmittableData has_retransmittable_data) const argument
H A Drtt_stats.cc55 QuicTime now) {
79 UpdateRecentMinRtt(rtt_sample, now);
96 void RttStats::UpdateRecentMinRtt(QuicTime::Delta rtt_sample, QuicTime now) { argument
101 new_min_rtt_ = RttSample(rtt_sample, now);
110 recent_min_rtt_ = RttSample(rtt_sample, now);
113 half_window_rtt_ = RttSample(rtt_sample, now);
116 quarter_window_rtt_ = RttSample(rtt_sample, now);
120 if (recent_min_rtt_.time < now.Subtract(recent_min_rtt_window_)) {
123 quarter_window_rtt_ = RttSample(rtt_sample, now);
125 now
53 UpdateRtt(QuicTime::Delta send_delta, QuicTime::Delta ack_delay, QuicTime now) argument
[all...]
H A Drtt_stats_test.cc89 QuicTime now = QuicTime::Zero(); local
91 rtt_stats_.UpdateRtt(rtt_sample, QuicTime::Delta::Zero(), now);
98 now = now.Add(QuicTime::Delta::FromMilliseconds(25));
100 rtt_stats_.UpdateRtt(rtt_sample, QuicTime::Delta::Zero(), now);
122 rtt_stats_.UpdateRtt(rtt_sample, QuicTime::Delta::Zero(), now);
132 rtt_stats_.UpdateRtt(rtt_sample, QuicTime::Delta::Zero(), now);
141 rtt_stats_.UpdateRtt(rtt_sample, QuicTime::Delta::Zero(), now);
149 rtt_stats_.UpdateRtt(rtt_sample, QuicTime::Delta::Zero(), now);
/external/chromium_org/net/quic/crypto/
H A Dcrypto_utils.cc24 void CryptoUtils::GenerateNonce(QuicWallTime now, argument
31 uint32 gmt_unix_time = now.ToUNIXSeconds();
H A Dlocal_strike_register_client.cc34 QuicWallTime now,
43 static_cast<uint32>(now.ToUNIXSeconds()));
32 VerifyNonceIsValidAndUnique( StringPiece nonce, QuicWallTime now, ResultCallback* cb) argument
H A Dquic_crypto_client_config.cc71 bool QuicCryptoClientConfig::CachedState::IsComplete(QuicWallTime now) const {
95 if (now.ToUNIXSeconds() >= expiry_seconds) {
98 base::TimeDelta::FromSeconds(now.ToUNIXSeconds() - expiry_seconds),
125 StringPiece server_config, QuicWallTime now, string* error_details) {
151 if (now.ToUNIXSeconds() >= expiry_seconds) {
225 QuicWallTime now) {
233 QuicErrorCode error = SetServerConfig(server_config, now,
395 QuicWallTime now,
464 CryptoUtils::GenerateNonce(now, rand, orbit, &out_params->client_nonce);
580 QuicWallTime now,
124 SetServerConfig( StringPiece server_config, QuicWallTime now, string* error_details) argument
220 Initialize( StringPiece server_config, StringPiece source_address_token, const vector<string>& certs, StringPiece signature, QuicWallTime now) argument
390 FillClientHello( const QuicServerId& server_id, QuicConnectionId connection_id, const QuicVersion preferred_version, const CachedState* cached, QuicWallTime now, QuicRandom* rand, const ChannelIDKey* channel_id_key, QuicCryptoNegotiatedParameters* out_params, CryptoHandshakeMessage* out, string* error_details) const argument
578 CacheNewServerConfig( const CryptoHandshakeMessage& message, QuicWallTime now, const vector<string>& cached_certs, CachedState* cached, string* error_details) argument
635 ProcessRejection( const CryptoHandshakeMessage& rej, QuicWallTime now, CachedState* cached, bool is_https, QuicCryptoNegotiatedParameters* out_params, string* error_details) argument
764 ProcessServerConfigUpdate( const CryptoHandshakeMessage& server_config_update, QuicWallTime now, CachedState* cached, QuicCryptoNegotiatedParameters* out_params, string* error_details) argument
[all...]
H A Dquic_crypto_server_config.cc69 now(in_now),
76 const QuicWallTime now; member in struct:net::ClientHelloInfo
305 const QuicWallTime now = clock->WallNow(); local
306 const QuicWallTime expiry = now.Add(QuicTime::Delta::FromSeconds(
364 const QuicWallTime now) {
389 SelectNewPrimaryConfig(now);
408 const QuicWallTime now) {
468 SelectNewPrimaryConfig(now);
489 const QuicWallTime now(clock->WallNow());
493 client_hello, client_ip, now);
362 AddConfig( QuicServerConfigProtobuf* protobuf, const QuicWallTime now) argument
406 SetConfigs( const vector<QuicServerConfigProtobuf*>& protobufs, const QuicWallTime now) argument
1412 NewSourceAddressToken( const Config& config, const IPEndPoint& ip, QuicRandom* rand, QuicWallTime now, const CachedNetworkParameters* cached_network_params) const argument
[all...]
H A Dquic_crypto_server_config_test.cc57 QuicWallTime now) {
59 *GetConfig(config_id), ip, rand, now, NULL);
65 QuicWallTime now) {
67 *GetConfig(config_id), srct, ip, now);
70 string NewServerNonce(QuicRandom* rand, QuicWallTime now) const {
71 return server_config_->NewServerNonce(rand, now);
75 QuicWallTime now) {
76 return server_config_->ValidateServerNonce(token, now);
206 QuicWallTime now,
250 QuicWallTime now local
53 NewSourceAddressToken( string config_id, IPEndPoint ip, QuicRandom* rand, QuicWallTime now) argument
62 ValidateSourceAddressToken(string config_id, StringPiece srct, IPEndPoint ip, QuicWallTime now) argument
74 ValidateServerNonce(StringPiece token, QuicWallTime now) argument
348 QuicWallTime now = clock.WallNow(); local
[all...]
/external/chromium_org/net/quic/
H A Dquic_clock_test.cc16 QuicTime now = clock.ApproximateNow(); local
19 EXPECT_LE(start, now);
20 EXPECT_LE(now, end);
27 QuicWallTime now = clock.WallNow(); local
30 // If end > start, then we can check now is between start and end.
32 EXPECT_LE(static_cast<uint64>(start.ToTimeT()), now.ToUNIXSeconds());
33 EXPECT_LE(now.ToUNIXSeconds(), static_cast<uint64>(end.ToTimeT()));
H A Dquic_connection.cc579 // Always reset the retransmission alarm when an ack comes in, since we now
590 // Possibly close any FecGroups which are now irrelevant.
1209 // Peer port migration is supported, do it now if port has changed.
1312 QuicTime now = clock_->Now(); local
1314 now, retransmittable);
1320 // If the scheduler requires a delay, then we can not send this packet now.
1322 send_alarm_->Update(now.Add(delay), QuicTime::Delta::FromMilliseconds(1));
1430 QuicTime now = clock_->Now(); local
1432 time_of_last_sent_new_packet_ = now;
1436 << now
1906 QuicTime now = clock_->ApproximateNow(); local
[all...]
H A Dquic_sent_packet_manager.cc478 // packet, since they won't be acked now that one has been processed.
738 QuicTime now,
746 now, unacked_packets_.bytes_in_flight(), retransmittable);
737 TimeUntilSend( QuicTime now, HasRetransmittableData retransmittable) argument
H A Dquic_server_session.cc66 void QuicServerSession::OnCongestionWindowChange(QuicTime now) { argument
77 int64 now_ms = now.Subtract(last_server_config_update_time_).ToMilliseconds();
136 last_server_config_update_time_ = now;
H A Dquic_time_test.cc125 QuicTime now = clock_.ApproximateNow(); local
128 EXPECT_EQ(now, time);
131 now = clock_.ApproximateNow();
133 EXPECT_NE(now, time);
136 EXPECT_EQ(now, time);
H A Dquic_time_wait_list_manager.cc250 QuicTime now = helper_->GetClock()->ApproximateNow(); local
251 QuicTime next_alarm_time = now;
255 if (now.Subtract(oldest_connection_id) < kTimeWaitPeriod_) {
262 next_alarm_time = now.Add(kTimeWaitPeriod_);
269 QuicTime now = helper_->GetClock()->ApproximateNow(); local
273 if (now.Subtract(oldest_connection_id) < kTimeWaitPeriod_) {
276 // This connection_id has lived its age, retire it now.
/external/chromium_org/net/quic/test_tools/
H A Ddelayed_verify_strike_register_client.cc29 QuicWallTime now,
32 pending_verifications_.push_back(VerifyArgs(nonce, now, cb));
34 LocalStrikeRegisterClient::VerifyNonceIsValidAndUnique(nonce, now, cb);
48 it->nonce, it->now, it->cb);
27 VerifyNonceIsValidAndUnique( StringPiece nonce, QuicWallTime now, ResultCallback* cb) argument
H A Ddelayed_verify_strike_register_client.h29 QuicWallTime now,
47 now(in_now),
52 QuicWallTime now; member in struct:net::test::DelayedVerifyStrikeRegisterClient::VerifyArgs
/external/chromium_org/net/socket/
H A Dclient_socket_pool_base.cc364 // Can we make another active socket now?
378 // here. Only reason for them now seems to be preconnects.
658 base::TimeTicks now,
660 bool timed_out = (now - start_time) >= timeout;
672 base::TimeTicks now = base::TimeTicks::Now();
683 if (force || j->ShouldCleanup(now, timeout)) {
1222 // right now due to limits, just reset the timer.
657 ShouldCleanup( base::TimeTicks now, base::TimeDelta timeout) const argument
H A Dsocket_test_util.cc977 // The caller is simulating that this IO completes right now. Don't
1649 // The caller is simulating that this IO completes right now. Don't
1816 base::TimeTicks now = base::TimeTicks::Now(); local
1817 connect_timing.dns_start = now;
1818 connect_timing.dns_end = now;
1819 connect_timing.connect_start = now;
1820 connect_timing.connect_end = now;
H A Dtransport_client_socket_pool.cc138 base::TimeTicks now = base::TimeTicks::Now(); local
139 base::TimeDelta total_duration = now - connect_timing_->dns_start;
146 base::TimeDelta connect_duration = now - connect_timing_->connect_start;
249 base::TimeTicks now = base::TimeTicks::Now(); local
254 *g_last_connect_time.Pointer() = now;
259 int64 interval = (now - last_connect_time).InMilliseconds();
/external/chromium_org/net/spdy/
H A Dspdy_session.cc1411 // Parse a frame. For now this code requires that the frame fit into our
2422 // For now, it doesn't matter much - it is a protocol error.
2871 base::TimeTicks now = time_func_();
2873 if ((now - last_activity_time_) > connection_at_risk_of_loss_time_)
2945 base::TimeTicks now = time_func_(); local
2946 base::TimeDelta delay = hung_interval_ - (now - last_activity_time_);
2959 now),

Completed in 353 milliseconds

<<11121314151617181920>>