Searched refs:server_index (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/net/dns/ |
H A D | dns_socket_pool.cc | 60 unsigned server_index, 62 DCHECK_LT(server_index, nameservers_->size()); 66 AddressList((*nameservers_)[server_index]), net_log_, source)); 70 unsigned server_index) { 71 DCHECK_LT(server_index, nameservers_->size()); 80 int rv = socket->Connect((*nameservers_)[server_index]); 105 unsigned server_index) OVERRIDE { 106 return CreateConnectedSocket(server_index); 110 unsigned server_index, 137 unsigned server_index) OVERRID 59 CreateTCPSocket( unsigned server_index, const NetLog::Source& source) argument 69 CreateConnectedSocket( unsigned server_index) argument 179 AllocateSocket( unsigned server_index) argument 204 FreeSocket( unsigned server_index, scoped_ptr<DatagramClientSocket> socket) argument 210 FillPool(unsigned server_index, unsigned size) argument [all...] |
H A D | dns_session.h | 44 unsigned server_index, 48 unsigned server_index() const { return server_index_; } function in class:net::DnsSession::SocketLease 74 // Start with |server_index| and find the index of the next known good server 75 // to use on this attempt. Returns |server_index| if this server has no 78 unsigned NextGoodServerIndex(unsigned server_index); 81 void RecordServerFailure(unsigned server_index); 84 void RecordServerSuccess(unsigned server_index); 87 void RecordRTT(unsigned server_index, base::TimeDelta rtt); 90 void RecordLostPacket(unsigned server_index, int attempt); 97 base::TimeDelta NextTimeout(unsigned server_index, in [all...] |
H A D | dns_session.cc | 73 unsigned server_index, 75 : session_(session), server_index_(server_index), socket_(socket.Pass()) {} 112 unsigned DnsSession::NextGoodServerIndex(unsigned server_index) { argument 113 unsigned index = server_index; 118 server_stats_[server_index]->last_failure.is_null()); 124 if (server_stats_[server_index]->last_failure_count < config_.attempts) { 133 } while (index != server_index); 140 void DnsSession::RecordServerFailure(unsigned server_index) { argument 142 "AsyncDNS.ServerFailureIndex", server_index, 0, 10, 10); 143 ++(server_stats_[server_index] 72 SocketLease(scoped_refptr<DnsSession> session, unsigned server_index, scoped_ptr<DatagramClientSocket> socket) argument 147 RecordServerSuccess(unsigned server_index) argument 160 RecordRTT(unsigned server_index, base::TimeDelta rtt) argument 189 RecordLostPacket(unsigned server_index, int attempt) argument 213 NextTimeout(unsigned server_index, int attempt) argument 221 AllocateSocket( unsigned server_index, const NetLog::Source& source) argument 236 CreateTCPSocket( unsigned server_index, const NetLog::Source& source) argument 242 FreeSocket(unsigned server_index, scoped_ptr<DatagramClientSocket> socket) argument 251 NextTimeoutFromJacobson(unsigned server_index, int attempt) argument 267 NextTimeoutFromHistogram(unsigned server_index, int attempt) argument [all...] |
H A D | dns_session_unittest.cc | 61 unsigned server_index; member in struct:net::__anon8596::PoolEvent 66 void OnSocketAllocated(unsigned server_index); 67 void OnSocketFreed(unsigned server_index); 71 scoped_ptr<DnsSession::SocketLease> Allocate(unsigned server_index); 72 bool DidAllocate(unsigned server_index); 73 bool DidFree(unsigned server_index); 100 unsigned server_index) OVERRIDE { 101 test_->OnSocketAllocated(server_index); 102 return CreateConnectedSocket(server_index); 106 unsigned server_index, [all...] |
H A D | dns_socket_pool.h | 52 // by |server_index|. May return a scoped_ptr to NULL if no sockets are 56 unsigned server_index) = 0; 58 // Frees a socket allocated by AllocateSocket. |server_index| must be the 61 unsigned server_index, 67 unsigned server_index, 78 unsigned server_index);
|
H A D | dns_transaction.cc | 76 explicit DnsAttempt(unsigned server_index) argument 77 : result_(ERR_FAILED), server_index_(server_index) {} 95 unsigned server_index() const { return server_index_; } function in class:net::__anon8600::DnsAttempt 134 DnsUDPAttempt(unsigned server_index, argument 137 : DnsAttempt(server_index), 298 DnsTCPAttempt(unsigned server_index, argument 301 : DnsAttempt(server_index), 679 unsigned server_index = local 682 server_index = session_->NextGoodServerIndex(server_index); 718 unsigned server_index = previous_attempt->server_index(); local 808 unsigned server_index = attempts_[i]->server_index(); local [all...] |
/external/wpa_supplicant_8/hostapd/ |
H A D | config_file.c | 526 static int server_index = 1; local 540 nserv->index = server_index++;
|
Completed in 172 milliseconds