Home
last modified time | relevance | path

Searched refs:connections_ (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/base/
Dhttpserver.cc35 for (ConnectionMap::iterator it = connections_.begin(); in ~HttpServer()
36 it != connections_.end(); in ~HttpServer()
49 connections_.insert(ConnectionMap::value_type(connection_id, connection)); in HandleConnection()
75 if (connections_.empty()) { in CloseAll()
81 for (ConnectionMap::const_iterator it = connections_.begin(); in CloseAll()
82 it != connections_.end(); ++it) { in CloseAll()
93 ConnectionMap::iterator it = connections_.find(connection_id); in Find()
94 if (it == connections_.end()) in Find()
101 ConnectionMap::iterator it = connections_.find(connection_id); in Remove()
102 if (it == connections_.end()) { in Remove()
[all …]
Dvirtualsocketserver.cc506 bindings_(new AddressMap()), connections_(new ConnectionMap()), in VirtualSocketServer()
521 delete connections_; in ~VirtualSocketServer()
702 connections_->insert(std::pair<SocketAddressPair, in AddConnection()
714 ConnectionMap::iterator it = connections_->find(address_pair); in LookupConnection()
715 return (connections_->end() != it) ? it->second : NULL; in LookupConnection()
725 connections_->erase(address_pair); in RemoveConnection()
Dhttpserver.h109 ConnectionMap connections_; variable
Dvirtualsocketserver.h234 ConnectionMap* connections_; variable
/external/webrtc/webrtc/p2p/base/
Dp2ptransportchannel.cc262 connections_.push_back(connection); in AddConnection()
311 for (Connection* connection : connections_) { in ComputeState()
364 for (Connection* conn : connections_) { in SetRemoteIceCredentials()
391 for (Connection* connection : connections_) { in SetIceConfig()
799 << connections_.size() << " total)"; in CreateConnection()
808 std::find(connections_.begin(), connections_.end(), connection); in FindConnection()
809 return citer != connections_.end(); in FindConnection()
932 for (Connection* connection : connections_) { in GetStats()
972 for (size_t i = 0; i < connections_.size(); ++i) in UpdateConnectionStates()
973 connections_[i]->UpdateState(now); in UpdateConnectionStates()
[all …]
Drelayserver.cc151 return static_cast<int>(connections_.size()); in GetConnectionCount()
156 for (ConnectionMap::const_iterator it = connections_.begin(); in GetConnection()
157 it != connections_.end(); ++it) { in GetConnection()
167 for (ConnectionMap::const_iterator it = connections_.begin(); in HasConnection()
168 it != connections_.end(); ++it) { in HasConnection()
192 ConnectionMap::iterator piter = connections_.find(ap); in OnInternalPacket()
193 if (piter == connections_.end()) { in OnInternalPacket()
236 ConnectionMap::iterator piter = connections_.find(ap); in OnExternalPacket()
237 if (piter != connections_.end()) { in OnExternalPacket()
510 ASSERT(connections_.find(conn->addr_pair()) == connections_.end()); in AddConnection()
[all …]
Dport.cc207 AddressMap::iterator iter = connections_.begin(); in ~Port()
208 while (iter != connections_.end()) { in ~Port()
218 AddressMap::const_iterator iter = connections_.find(remote_addr); in GetConnection()
219 if (iter != connections_.end()) in GetConnection()
265 connections_[conn->remote_candidate().address()] = conn; in AddConnection()
314 AddressMap::iterator iter = connections_.begin(); in OnReadyToSend()
315 for (; iter != connections_.end(); ++iter) { in OnReadyToSend()
644 connections_.find(conn->remote_candidate().address()); in OnConnectionDestroyed()
645 ASSERT(iter != connections_.end()); in OnConnectionDestroyed()
646 connections_.erase(iter); in OnConnectionDestroyed()
[all …]
Dp2ptransportchannel.h174 const std::vector<Connection*>& connections() const { return connections_; } in connections()
274 std::vector<Connection *> connections_; variable
Dport.h216 const AddressMap& connections() { return connections_; } in connections()
357 return ice_role_ == ICEROLE_CONTROLLED && connections_.empty(); in dead()
382 AddressMap connections_; variable
Drelayserver.h85 ConnectionMap connections_; variable